Hi there, since a few hours, "all of a sudden" it has not been possible anymore to successfully use [com.sun.star.lang.XMultiComponentFactory] (supplying a context) or [com.sun.star.lang.XMultiServiceFactory] to instantiate "com.sun.star.beans.Introspection" and/or "com.sun.star.reflection.CoreReflection". This worked and I was able to use XIntrospection and XIdlReflection to analyze UNO objects at runtime. Then, ever since I tried to "play" around with an empty array object (result of "XidlReflection.getFields()") errors occurred and "all of a sudden" I have not been able to instantiate the above two classes. Using a XMultiComponentFactory to create an instance yields the following error message: "method invocation failed: java.lang.reflect.InvocationTargetException target exception: com.sun.star.uno.Exception: Query for service factory for com.sun.star.loader.SharedLibrary failed."Using a XMultiServiceFactory to create an instance yields merely null. --- If you have *any* hints, ideas what can cause such a behavriour, or even more importantly, how once could solve that, I would highly appreciate it. Here is additional information:
Now, for making it even easier for ooRexx (http://www.ooRexx.org) users to use UNO, I would like to alleviate the need to explicitly request interface objects and have that part figure out by the ooRexx support. For that reason it is important to be able to use the UNO-reflection/introspection part via Java. This is what I did afterwards:
If it makes a difference: OOo uses the JRE version 1.4.1_02, whereas my test programs use Java 1.4.1_06 (have a setup which allows me to use arbitrarily any major Java version, i.e. 1.1, 1.2, 1.3, 1.4, 1.5). --- So, again, would someone have any ideas, clues which could help me out? TIA, ---rony |