My openhab2 crashes constantly. New sd card


(Augis) #1

My openhab2 is constantly crashing, i put a new sd card, raspberry pi 3 model b, here’s what i have found interesting in the logs.

2018-03-26 04:13:22.861 [WARN ] [eclipse.jetty.servlet.ServletHandler] - /basicui/app
java.util.ConcurrentModificationException: null
	at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:909) [?:?]
	at java.util.ArrayList$Itr.next(ArrayList.java:859) [?:?]
	at java.util.AbstractCollection.addAll(AbstractCollection.java:343) [?:?]
	at java.util.HashSet.<init>(HashSet.java:120) [?:?]
	at org.eclipse.smarthome.io.rest.sitemap.internal.PageChangeListener.addCallback(PageChangeListener.java:99) [129:org.eclipse.smarthome.io.rest.sitemap:0.10.0.b1]
	at org.eclipse.smarthome.io.rest.sitemap.SitemapSubscriptionService.addCallbackToListener(SitemapSubscriptionService.java:215) [129:org.eclipse.smarthome.io.rest.sitemap:0.10.0.b1]
	at org.eclipse.smarthome.io.rest.sitemap.SitemapSubscriptionService.setPageId(SitemapSubscriptionService.java:197) [129:org.eclipse.smarthome.io.rest.sitemap:0.10.0.b1]
	at org.eclipse.smarthome.ui.basic.internal.servlet.WebAppServlet.service(WebAppServlet.java:152) [217:org.eclipse.smarthome.ui.basic:0.10.0.b1]
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:848) [88:org.eclipse.jetty.servlet:9.3.22.v20171030]
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:584) [88:org.eclipse.jetty.servlet:9.3.22.v20171030]
	at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71) [191:org.ops4j.pax.web.pax-web-jetty:6.0.7]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [87:org.eclipse.jetty.server:9.3.22.v20171030]
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) [85:org.eclipse.jetty.security:9.3.22.v20171030]
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) [87:org.eclipse.jetty.server:9.3.22.v20171030]
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180) [87:org.eclipse.jetty.server:9.3.22.v20171030]
	at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:284) [191:org.ops4j.pax.web.pax-web-jetty:6.0.7]
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512) [88:org.eclipse.jetty.servlet:9.3.22.v20171030]
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [87:org.eclipse.jetty.server:9.3.22.v20171030]
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) [87:org.eclipse.jetty.server:9.3.22.v20171030]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [87:org.eclipse.jetty.server:9.3.22.v20171030]
	at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80) [191:org.ops4j.pax.web.pax-web-jetty:6.0.7]
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) [87:org.eclipse.jetty.server:9.3.22.v20171030]
	at org.eclipse.jetty.server.Server.handle(Server.java:534) [87:org.eclipse.jetty.server:9.3.22.v20171030]
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:333) [87:org.eclipse.jetty.server:9.3.22.v20171030]
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) [87:org.eclipse.jetty.server:9.3.22.v20171030]
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283) [79:org.eclipse.jetty.io:9.3.22.v20171030]
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108) [79:org.eclipse.jetty.io:9.3.22.v20171030]
	at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) [79:org.eclipse.jetty.io:9.3.22.v20171030]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) [90:org.eclipse.jetty.util:9.3.22.v20171030]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) [90:org.eclipse.jetty.util:9.3.22.v20171030]
	at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) [90:org.eclipse.jetty.util:9.3.22.v20171030]
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) [90:org.eclipse.jetty.util:9.3.22.v20171030]
	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) [90:org.eclipse.jetty.util:9.3.22.v20171030]
	at java.lang.Thread.run(Thread.java:748) [?:?]


(hr2) #2

Is it a 3B or a 3b+?
What kind or installation


(Augis) #3

It’s 3b


(hr2) #4

https://docs.openhab.org/installation/openhabian.html
Does the raspi run before?


(Augis) #5

what do you mean?


(hr2) #6

Do you use this instruction, this image-file, etcher etc?
Does openhab run at this raspi before (with this/other SD)?


(Augis) #7

yes it did, then it started crashing constantly and i changed out the sd card.


(hr2) #8

What version is it and can you start the paper-ui?


(Augis) #9

openHAB 2.2.0 Release Build
Yes i can when i restart it.


(Crispin) #10

What power supply are you using? Try something else which can supply at lest 2A


(Augis) #11

2a a samsung one, should i use something else? It was all normal a few months ago.


(Tom) #12

Perhaps the some of the files you transferred from your old SD card to your new one were corrupted by the old, failing SD card and you’ve copied them to the new one?


(Crispin) #13

Might be worth trying something else just to eliminate it.
I had one crashing on me a lot and it was that. Guess poor quality dc.


(Augis) #14

I have copied only the openhab2 files, and i have one error there, it’s in rules, however there is no difference if the error exists or not.


(Augis) #15

I fixed it and forgot to update, it was my sd card.