Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullPointerException in org.jupnp.registry.RegistryItems.getResources(RegistryItems.java:172) #23

Closed
JochenHiller opened this issue May 20, 2015 · 0 comments

Comments

@JochenHiller
Copy link
Collaborator

We get a NPE in jUPnP, see stacktrack below.
This may be related due to starting/stopping the bundles within an OSGi framework.

See also https://github.com/openhab/jupnp/blob/master/bundles/org.jupnp/src/main/java/org/jupnp/registry/RegistryItems.java#L172
I assume that configuration/namespace is missing which results in a NPE.

#0  INFO    > Bundle with id #224 org.eclipse.smarthome.binding.hue, 0.8.0.201504271320 was started.
Exception in thread "jupnp-10" java.lang.NullPointerException
at org.jupnp.registry.RegistryItems.getResources(RegistryItems.java:172)
at org.jupnp.registry.RemoteItems.add(RemoteItems.java:69)
at org.jupnp.registry.RegistryImpl.addDevice(RegistryImpl.java:171)
at org.jupnp.protocol.RetrieveRemoteDescriptors.describe(RetrieveRemoteDescriptors.java:227)
at org.jupnp.protocol.RetrieveRemoteDescriptors.describe(RetrieveRemoteDescriptors.java:184)
at org.jupnp.protocol.RetrieveRemoteDescriptors.run(RetrieveRemoteDescriptors.java:106)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant