tronghuyict56 / openhab

Automatically exported from code.google.com/p/openhab
0 stars 0 forks source link

ConcurrentModificationException when loading page #359

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When loading a page I encountered a 500 error reporting a 
ConcurrentModificationException.
In the logs I can see this exception.

21:40:15.175 ERROR c.s.j.s.c.ContainerResponse[:402]- The RuntimeException 
could not be mapped to a response, re-throwing to the HTTP container
java.util.ConcurrentModificationException: null
        at org.eclipse.emf.common.util.AbstractEList$EIterator.checkModCount(AbstractEList.java:756)
        at org.eclipse.emf.common.util.AbstractEList$EIterator.doNext(AbstractEList.java:704)
        at org.eclipse.emf.common.util.AbstractEList$EIterator.next(AbstractEList.java:690)
        at com.google.common.collect.Iterators$7.computeNext(Iterators.java:644)
        at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:141)
        at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:136)
21:40:15.455 ERROR o.a.h.ReflectorServletProcessor[:171]- onRequest()
java.util.ConcurrentModificationException: null
        at org.eclipse.emf.common.util.AbstractEList$EIterator.checkModCount(AbstractEList.java:756)
        at org.eclipse.emf.common.util.AbstractEList$EIterator.doNext(AbstractEList.java:704)
        at org.eclipse.emf.common.util.AbstractEList$EIterator.next(AbstractEList.java:690)
        at com.google.common.collect.Iterators$7.computeNext(Iterators.java:644)
        at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:141)
        at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:136)
21:40:16.615 WARN  o.e.j.servlet.ServletHandler[:553]- 
/rest/sitemaps/default/0501
java.lang.RuntimeException: java.util.ConcurrentModificationException
        at org.atmosphere.handler.ReflectorServletProcessor.onRequest(ReflectorServletProcessor.java:172)
        at org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor.java:256)
        at org.atmosphere.cpr.AsynchronousProcessor.suspended(AsynchronousProcessor.java:166)
        at org.atmosphere.container.Jetty7CometSupport.service(Jetty7CometSupport.java:96)
        at org.atmosphere.container.JettyAsyncSupportWithWebSocket.service(JettyAsyncSupportWithWebSocket.java:67)
        at org.atmosphere.cpr.AtmosphereFramework.doCometSupport(AtmosphereFramework.java:1292)
Caused by: java.util.ConcurrentModificationException: null
        at org.eclipse.emf.common.util.AbstractEList$EIterator.checkModCount(AbstractEList.java:756)
        at org.eclipse.emf.common.util.AbstractEList$EIterator.doNext(AbstractEList.java:704)
        at org.eclipse.emf.common.util.AbstractEList$EIterator.next(AbstractEList.java:690)
        at com.google.common.collect.Iterators$7.computeNext(Iterators.java:644)
        at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:141)
        at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:136)

Unfortunately I wasn't able to reproduce this error one more time, but I will 
try to provoke this exception again.

Original issue reported on code.google.com by till.klo...@gmail.com on 28 Jun 2013 at 7:51

GoogleCodeExporter commented 8 years ago
Hm, no openHAB classes in the stacktrace to see, so not really possibly to see 
the root cause. Hope you will be able to reproduce it somehow again!

Original comment by kai.openhab on 28 Jun 2013 at 8:37

GoogleCodeExporter commented 8 years ago
Did this ever occur again? If not, I would like to reject it now as it possibly 
is fixed already by other changes (we worked on a couple of concurrency issues)

Original comment by kai.openhab on 13 Aug 2013 at 10:13

GoogleCodeExporter commented 8 years ago

Original comment by kai.openhab on 13 Aug 2013 at 7:47