HTTP 500 error when trying to open Basic UI

Hi there,

I do have a OpenHAB2 installation for a while without any problems.

But since the last system reboot I get an HTTP 500 error when I try to open the Basic UI (http://openhab2:8080/basicui/app). But I can open the Paper UI without any problems.

I did not made any changes before.

I get the following error message:
HTTP ERROR 500

Problem accessing /basicui/app. Reason:

Server Error

Caused by:

java.lang.NoSuchMethodError: org.eclipse.smarthome.ui.items.ItemUIRegistry.getChildren(Lorg/eclipse/smarthome/model/sitemap/Sitemap;)Lorg/eclipse/emf/common/util/EList;
at org.eclipse.smarthome.ui.basic.internal.servlet.WebAppServlet.service(WebAppServlet.java:151)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)
at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:287)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:499)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.lang.Thread.run(Thread.java:745)

I’ve seen this fixed by:

Stopping OH
Deleting the contents of /var/lib/openhab2/cache and /var/lib/openhab2/tmp
Starting openHAB

Thank you.

I did:

  • Stop OH2 service
  • rm -rf /var/lib/openhab2/cache/*
  • rm -rf /var/lib/openhab2/tmp/*
  • Reboot the OS

But unfortunately I’m facing still the same problem. :frowning:

Did fix this issue with following:

  • sudo apt-get update
  • sudo apt-get install openhab2