Hi,
On 01.07.2010, at 17:31, Dave Humeniuk wrote: > I'm trying to get the iPOJO OSGi Junit Runner to work. When I start the > bundle I get the following messages to the log: > > LS: Scheduling task ManagedServiceFactory Update: > factoryPid=org.apache.felix.ipojo.junit4osgi.impl.JunitExtender > LS: Running task ManagedServiceFactory Update: > factoryPid=org.apache.felix.ipojo.junit4osgi.impl.JunitExtender > LS: [ERROR] org.apache.felix.ipojo.junit4osgi.impl.JunitExtender : Cannot > create the proxy object > LS: [ERROR] org.apache.felix.ipojo.junit4osgi.impl.JunitExtender : The > onArrival method onBundleArrival has thrown an exception > LS: ServiceEvent REGISTERED > LS: ServiceEvent MODIFIED > LS: [ERROR] org.apache.felix.ipojo.junit4osgi.impl.JunitExtender : > [org.apache.felix.ipojo.junit4osgi.impl.JunitExtender-0] The callback method > starting has thrown an exception : null > LS: ServiceEvent UNREGISTERING > LS: [ERROR] org.apache.felix.ipojo.junit4osgi.impl.JunitExtender : The > onDeparture method onBundleDeparture has thrown an exception > > I assume the message means the JunitExtender.onBundleArrival and > JunitExtender.onBundleDeparture have thrown an exception and this is why > things aren't working, but don't know why (what's the exception?). > > The odd thing is I can get this to work on my Windows environment, but this > problem is happening on my target environment (Linux, ARM) It sounds like the log service proxy cannot be created throwing an NPE in the 'validate' method. Can you give me more details: Do you deploy a log service ? Which VM are you using ? Can you try with -Dipojo.proxy=disabled when launching Felix (system property). It will disable the proxy injection. Regards, Clement --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

