On this configuration I have a problem with an OOo plugin written in Java and built and deployed with Ant. The extension file: OPM.oxt is successfully built but at deployment I get the following error:
In Console:
Code: Select all
ERROR: Fehler beim Aktivieren von: CalcListener.jar
Cause: (com.sun.star.registry.CannotRegisterImplementationException) { { Message = "", Context = (com.sun.star.uno.XInterface) @ 0 } }
unopkg failed.
Result 1.
in Log.txt:
Code: Select all
###### Progress log entry 2011-08-17 15:48:30 ######
ERROR: (com.sun.star.lang.IllegalArgumentException) { { Message = "Extension ist nicht bekannt: OPM.oxt", Context = (com.sun.star.uno.XInterface) @2b7d6c0 }, ArgumentPosition = (short) -1 }
###### Progress log entry 2011-08-17 15:48:40 ######
ERROR: (com.sun.star.lang.IllegalArgumentException) { { Message = "Extension ist nicht bekannt: de.agentes.opm.calc.addin", Context = (com.sun.star.uno.XInterface) @2b7d730 }, ArgumentPosition = (short) -1 }
ERROR: (com.sun.star.lang.IllegalArgumentException) { { Message = "Extension ist nicht bekannt: de.agentes.opm.calc.addin", Context = (com.sun.star.uno.XInterface) @2b7d730 }, ArgumentPosition = (short) -1 }
ERROR: (com.sun.star.lang.IllegalArgumentException) { { Message = "Extension ist nicht bekannt: de.agentes.opm.calc.addin", Context = (com.sun.star.uno.XInterface) @2b7d730 }, ArgumentPosition = (short) -1 }
The exact same file (OPM.oxt) can be installed without any problem on a colleague's computer with the same characteristics (Open Office 3.3 on Windows XP SP3 and Java 1.6.0_26). But on my computer and on those of 2 other colleagues the above mentioned error message appears.
This issue is very similar with the following one:
http://user.services.openoffice.org/en/ ... 25&t=35159
but I have already checked the parts that were problematic there (classpath in MANIFEST.MF and the methods __writeRegistryServiceInfo and __getComponentFactory are correct in this case).
Is there a way to debug the deployment process ? Or to be able to find out more detailed information about what exactly happens there ? Does anyone have an ideea what the problem could be ?
Thanks in advance !