Hello,
So I'm trying to deploy my jar in a firefox xpi, using javascript and liveconnect to get to the java I wrote, which uses the pptx4j stuff. When i throw a simple main class in the jar and run it from console (or from eclipse, even without the main), everything works perfectly, but the second I try and access it from firefox land I keep getting reflect.invocationtargetexception errors from firefox. The internet all suggests that it is permissions based, but I am setting the securityManager/policy to null, so that really should be handled. In ant I included all the material from the jars I am referencing (docx4j and its dependencies).
I managed to attach a console to firefox to I could look at what log4j is telling me, and the last 4 lines are
JAXB: Using RI
JAXB: Using RI
something INFO: trying to load context, jcPML.context
something INFO: Context...loaded (context.java ln70)
where as when I run from console, everything works and those lines are followed by the construction of a partname for /_rels/_rels, then it relativises against the package and makes the part name for /ppt/slides/slide1.xml, etc.
I'm running fresh out of ideas here, so any help would be appreciated. I'm not exactly a pro at web stuff, but I managed to write some test files to my harddrive using the liveconnect, with security manager set to null, so I can't imagine that file permissions is actually the problem. I just thought I might be missing a subtle point to using pptx4j or something.
Thanks in advance,
Pablo