- Platform information:
- Hardware: MacBook Pro
- OS: OSX
- Java Runtime Environment: 1.8xx
- openHAB version: 2.3-SNAP
- Issue of the topic: huge NPE traces launching OpenHAB_runtime
Seems lately startup in IDE creates rather large NPE traces while thing handler factories are being created (seems one for each factory being created). Anyone know what causes that?
!ENTRY org.eclipse.smarthome.core.thing 4 0 2018-05-08 01:23:36.095
!MESSAGE [org.eclipse.smarthome.core.thing.internal.ThingManager(220)] The addThingHandlerFactory method has thrown an exception
!STACK 0
java.lang.NullPointerException
at org.eclipse.smarthome.core.thing.internal.ThingManager.getBundleName(ThingManager.java:978)
at org.eclipse.smarthome.core.thing.internal.ThingManager.addThingHandlerFactory(ThingManager.java:936)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.felix.scr.impl.inject.BaseMethod.invokeMethod(BaseMethod.java:229)
at org.apache.felix.scr.impl.inject.BaseMethod.access$500(BaseMethod.java:39)
at org.apache.felix.scr.impl.inject.BaseMethod$Resolved.invoke(BaseMethod.java:650)
at org.apache.felix.scr.impl.inject.BaseMethod.invoke(BaseMethod.java:506)
at org.apache.felix.scr.impl.inject.BindMethod.invoke(BindMethod.java:658)
at org.apache.felix.scr.impl.manager.DependencyManager.doInvokeBindMethod(DependencyManager.java:1722)
at org.apache.felix.scr.impl.manager.DependencyManager.open(DependencyManager.java:1556)
at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:261)
at org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:109)
at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:906)
at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:879)
at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:823)
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse$1.run(ServiceFactoryUse.java:212)
at java.security.AccessController.doPrivileged(Native Method)
Doesn’t seem to affect startup, just irritating…
Cheers,
-Th