openHAB 5.0 SNAPSHOT discussion

Please discuss openHAB 5.0 SNAPSHOT related stuff here.
Please keep in mind, Java version 21 is needed now !

3 Likes

I have just upgraded successfully from 4.3.1 Release to 5.0.0 SNAPSHOT #4451 on Debian 12 on x86_64.

3 Likes

When installing add-ons, I sometimes have to restart openHAB because JS Scripting fails with an exception, see [jsscripting] Dropping/Updating JAR bundle causes `UnsatisfiedLinkError: Native library already loaded in another classloader` · Issue #18054 · openhab/openhab-addons · GitHub.

Fortunately is openHAB 5 SNAPSHOT restarting much faster than openHAB 4.3.

2 Likes

On Raspi 4 the new OH 5.0 works perfectly. Updating with openhabian doesn‘t work, but apt upgrade is ok.
Using docker on Synology NAS OH 5.0 has problems connecting to influxdb and the UI is not reachable.

1 Like

OH 5.0 4462 is working well on docker Syno Nas. Problem was, if you set and store the parameters for influxdb persistance without the token ( had no time to do that at that moment), OH is busy to connect to influxdb without success. The Main UI is not reachable anymore.

If you can reliably reproduce this, can you please open an issue on GitHub - openhab/openhab-addons: Add-ons for openHAB?

I tried the installation several times. Allways the same.
I filed the issue, hopeful someone can understand it.

1 Like

My guess that it doesn’t automatically update the JDK (at least that is what I experienced) and @ndye mentioned that this is on their list but not yet implemented, so it will fail therefore.

Correct, I have a PR in progress to add support so it should be up soon.

3 Likes

Trying to install my latest zwave S2 build with OH5, but am getting “Error reading bundle content” error (see below).

I have rebased my code against openhab/org.openhab.binding.zwave: openHAB binding for Z-Wave but I don’t see any OH5 specific updates in the commit history
 is there something I need to do to make my zwave jar OH5 compatible?

openhab> bundle:install file:///D/code/eclipse/openhab-openhab9/git/org.openhab.binding.zwave/target/org.openhab.binding.zwave-5.0.0-SNAPSHOT.jar
Bundle IDs:
Error executing command: Error installing bundles:
        Unable to install bundle file:///D/code/eclipse/openhab-openhab9/git/org.openhab.binding.zwave/target/org.openhab.binding.zwave-5.0.0-SNAPSHOT.jar: org.osgi.framework.BundleException: Error reading bundle content.

I have the same problems related to the restart behavior and native libraries with my graalpy based pythonscripting binding.

OH 5.0 V 4474
What kind of error is this

2025-01-14 19:49:06.892 [ERROR] [ab.core.ui.icon.internal.IconServlet] - Failed sending the icon byte stream as a response: Reset cancel_stream_error
2025-01-14 19:49:06.893 [WARN ] [org.eclipse.jetty.server.HttpChannel] - /icon/battery
java.lang.IllegalStateException: ABORTED
	at org.eclipse.jetty.server.HttpChannelState.sendError(HttpChannelState.java:915) ~[?:?]
	at org.eclipse.jetty.server.Response.sendError(Response.java:473) ~[?:?]
	at org.openhab.core.ui.icon.internal.IconServlet.doGet(IconServlet.java:149) ~[?:?]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:497) ~[bundleFile:4.0.4]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:584) ~[bundleFile:4.0.4]
	at org.ops4j.pax.web.service.spi.servlet.OsgiInitializedServlet.service(OsgiInitializedServlet.java:102) ~[?:?]
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799) ~[?:?]
	at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1656) ~[?:?]
	at org.ops4j.pax.web.service.spi.servlet.OsgiFilterChain.doFilter(OsgiFilterChain.java:113) ~[?:?]
	at org.ops4j.pax.web.service.jetty.internal.PaxWebServletHandler.doHandle(PaxWebServletHandler.java:334) ~[?:?]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) ~[?:?]
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:600) ~[?:?]
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[?:?]
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) ~[?:?]
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624) ~[?:?]
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) ~[?:?]
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440) ~[?:?]
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) ~[?:?]
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:505) ~[?:?]
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594) ~[?:?]
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) ~[?:?]
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355) ~[?:?]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ~[?:?]
	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:234) ~[?:?]
	at org.ops4j.pax.web.service.jetty.internal.PrioritizedHandlerCollection.handle(PrioritizedHandlerCollection.java:96) ~[?:?]
	at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:731) ~[?:?]
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[?:?]
	at org.eclipse.jetty.server.Server.handle(Server.java:516) ~[?:?]
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487) ~[?:?]
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732) ~[?:?]
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479) ~[?:?]
	at org.eclipse.jetty.server.HttpChannel.run(HttpChannel.java:439) ~[?:?]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338) ~[bundleFile:9.4.54.v20240208]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315) ~[bundleFile:9.4.54.v20240208]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173) ~[bundleFile:9.4.54.v20240208]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:137) ~[bundleFile:9.4.54.v20240208]
	at org.eclipse.jetty.http2.HTTP2Connection.produce(HTTP2Connection.java:193) ~[?:?]
	at org.eclipse.jetty.http2.HTTP2Connection.onFillable(HTTP2Connection.java:148) ~[?:?]
	at org.eclipse.jetty.http2.HTTP2Connection$FillableCallback.succeeded(HTTP2Connection.java:371) ~[?:?]
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) ~[?:?]
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:555) ~[?:?]
	at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:410) ~[?:?]
	at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:164) ~[?:?]
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) ~[?:?]
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) ~[?:?]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338) ~[bundleFile:9.4.54.v20240208]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315) ~[bundleFile:9.4.54.v20240208]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173) ~[bundleFile:9.4.54.v20240208]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131) ~[bundleFile:9.4.54.v20240208]
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409) ~[bundleFile:9.4.54.v20240208]
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883) ~[bundleFile:9.4.54.v20240208]
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034) ~[bundleFile:9.4.54.v20240208]
	at java.lang.Thread.run(Unknown Source) [?:?]