question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[neeo] Can Not Add Brain - OH3

See original GitHub issue

I’m running a fresh install of OH3 M2 and trying to migrate from OH2. I have no issues on OH2 with the neeo binding. When I try to add a brain on OH 3 I get the following error when trying to add a brain.

2020-11-08 18:50:13.177 [WARN ] [org.eclipse.jetty.server.HttpChannel] - /neeo/neeostatus/addbrain
java.lang.RuntimeException: java.lang.ClassNotFoundException
        at javax.ws.rs.client.ClientBuilder.newBuilder(ClientBuilder.java:50) ~[?:?]
        at javax.ws.rs.client.ClientBuilder.newClient(ClientBuilder.java:55) ~[?:?]
        at org.openhab.io.neeo.internal.net.HttpRequest.<init>(HttpRequest.java:51) ~[?:?]
        at org.openhab.io.neeo.internal.NeeoApi.getSystemInfo(NeeoApi.java:204) ~[?:?]
        at org.openhab.io.neeo.internal.discovery.MdnsBrainDiscovery.addDiscovered(MdnsBrainDiscovery.java:302) ~[?:?]
        at org.openhab.io.neeo.internal.discovery.MdnsBrainDiscovery.addDiscovered(MdnsBrainDiscovery.java:287) ~[?:?]
        at org.openhab.io.neeo.NeeoService.addBrain(NeeoService.java:526) ~[?:?]
        at org.openhab.io.neeo.internal.servletservices.BrainDashboardService.handlePost(BrainDashboardService.java:166) ~[?:?]
        at org.openhab.io.neeo.internal.AbstractServlet.doPost(AbstractServlet.java:151) ~[?:?]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) ~[bundleFile:3.1.0]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) ~[bundleFile:3.1.0]
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:852) ~[bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:544) ~[bundleFile:9.4.20.v20190813]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71) ~[bundleFile:?]
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) ~[bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:536) ~[bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) ~[bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1581) ~[bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) ~[bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1307) ~[bundleFile:9.4.20.v20190813]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:293) ~[bundleFile:?]
        at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) ~[bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:482) ~[bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1549) ~[bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) ~[bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1204) ~[bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ~[bundleFile:9.4.20.v20190813]
        at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80) ~[bundleFile:?]
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.server.Server.handle(Server.java:494) ~[bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:374) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:268) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:367) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:782) [bundleFile:9.4.20.v20190813]
        at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:918) [bundleFile:9.4.20.v20190813]
        at java.lang.Thread.run(Thread.java:834) [?:?]
Caused by: java.lang.ClassNotFoundException
        at javax.ws.rs.client.ClientFinder.newInstance(ClientFinder.java:120) ~[?:?]
        at javax.ws.rs.client.ClientFinder.find(ClientFinder.java:96) ~[?:?]
        at javax.ws.rs.client.ClientBuilder.newBuilder(ClientBuilder.java:44) ~[?:?]
        ... 43 more
Caused by: java.lang.InstantiationException
        at jdk.internal.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:48) ~[?:?]
        at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?]
        at java.lang.Class.newInstance(Class.java:584) ~[?:?]
        at javax.ws.rs.client.ClientFinder.newInstance(ClientFinder.java:116) ~[?:?]
        at javax.ws.rs.client.ClientFinder.find(ClientFinder.java:96) ~[?:?]
        at javax.ws.rs.client.ClientBuilder.newBuilder(ClientBuilder.java:44) ~[?:?]
        ... 43 more

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:26 (25 by maintainers)

github_iconTop GitHub Comments

1reaction
morph166955commented, Nov 12, 2020

I’ll give a hesitant yes that this worked. There were no errors on start. I can see both my Neeo brains in the web portal as well. I will need to update my Neeo remotes to use the OH3 install I have to confirm that the whole thing is working as expected.

openhab> bundle:list -s | grep neeo 262 x Active x 80 x 3.0.0.M2 x org.openhab.binding.neeo 263 x Active x 80 x 3.0.0.M2 x org.openhab.io.neeo openhab> update org.openhab.binding.neeo https://janessa.me/esh/org.openhab.binding.neeo-3.0.0-SNAPSHOT.jar openhab> update org.openhab.io.neeo https://janessa.me/esh/org.openhab.io.neeo-3.0.0-SNAPSHOT.jar
openhab> bundle:list -s | grep neeo 262 x Active x 80 x 3.0.0.202011121116 x org.openhab.binding.neeo 263 x Active x 80 x 3.0.0.202011121113 x org.openhab.io.neeo openhab>

0reactions
openhab-botcommented, Jul 28, 2021

This issue has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/send-notifications-via-jython-script/124968/6

Read more comments on GitHub >

github_iconTop Results From Across the Web

NEEO Remote Binding/Transport - #423 by AndreasK
For anyone who is trying to add Neeo to OH3, there seems to be a bug in the add brain functionality. github.com/openhab/openhab-addons ...
Read more >
My NEEO Remote won't pair with my NEEO Brain
If the remote is still not pairing, please reboot your router (unplug from power for 30 seconds and then plug it back in)....
Read more >
HUMAN HEALTH RISK ASSESSMENT FOR ALUMINIUM ...
Aluminium may be able to enter the brain from the nasal cavity by a direct route, bypassing systemic circulation, but convincing evidence is...
Read more >
MODULE 1 - Inorg Medicinal Flashcards | Quizlet
Heterogeneous Mixture. a mixture in which the composition is NOT uniform throughout. Element. a substance that cannot be broken down into simpler substances....
Read more >
Tokuten Oh 3 - JP Neo Geo AES - Cosmic Games
Sorry! Our Tokuten Oh 3 - JP Neo Geo AES is currently sold out. Want to be notified when it becomes available again?...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found