Shubhamjain007 / openhab

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

Bug when accessing a page with group items #61

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This is what I get when I try to access /rest/sitemaps/demo/030002

-----------------------
Problem accessing /rest/sitemaps/demo/030002. Reason:

    javax.servlet.ServletException: java.lang.StackOverflowError
Caused by:

java.lang.RuntimeException: javax.servlet.ServletException: 
java.lang.StackOverflowError
    at org.atmosphere.handler.ReflectorServletProcessor.onRequest(ReflectorServletProcessor.java:155)
    at org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor.java:191)
    at org.atmosphere.cpr.AsynchronousProcessor.suspended(AsynchronousProcessor.java:142)
    at org.atmosphere.container.BlockingIOCometSupport.service(BlockingIOCometSupport.java:91)
    at org.atmosphere.cpr.AtmosphereServlet.doCometSupport(AtmosphereServlet.java:1156)
    at org.atmosphere.cpr.AtmosphereServlet.doPost(AtmosphereServlet.java:1138)
    at org.atmosphere.cpr.AtmosphereServlet.doGet(AtmosphereServlet.java:1124)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
    at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:126)
    at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:481)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:940)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:874)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
    at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250)
    at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
    at org.eclipse.jetty.server.Server.handle(Server.java:349)
    at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441)
    at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:904)
    at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:565)
    at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:217)
    at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:46)
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:545)
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:43)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)
    at java.lang.Thread.run(Unknown Source)
Caused by: javax.servlet.ServletException: java.lang.StackOverflowError
    at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:420)
    at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
    at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:708)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at org.atmosphere.util.AtmosphereFilterChain.doFilter(AtmosphereFilterChain.java:155)
    at org.atmosphere.util.AtmosphereFilterChain.invokeFilterChain(AtmosphereFilterChain.java:116)
    at org.atmosphere.handler.ReflectorServletProcessor$FilterChainServletWrapper.service(ReflectorServletProcessor.java:294)
    at org.atmosphere.handler.ReflectorServletProcessor.onRequest(ReflectorServletProcessor.java:152)
    ... 34 more
Caused by: java.lang.StackOverflowError
    at org.eclipse.osgi.framework.internal.core.FilterImpl.compare_String(FilterImpl.java:768)
    at org.eclipse.osgi.framework.internal.core.FilterImpl.compare(FilterImpl.java:541)
    at org.eclipse.osgi.framework.internal.core.FilterImpl.matchCase(FilterImpl.java:232)
    at org.eclipse.osgi.framework.internal.core.FilterImpl.match(FilterImpl.java:159)
    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.lookupServiceRegistrations(ServiceRegistry.java:982)
    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.getServiceReferences(ServiceRegistry.java:299)
    at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.getServiceReferences(ServiceRegistry.java:349)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.getServiceReferences(BundleContextImpl.java:499)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.getServiceReferences(BundleContextImpl.java:962)
    at org.openhab.core.transform.TransformationHelper.getTransformationService(TransformationHelper.java:55)
    at org.openhab.ui.internal.items.ItemUIRegistryImpl.transform(ItemUIRegistryImpl.java:334)
    at org.openhab.ui.internal.items.ItemUIRegistryImpl.getLabel(ItemUIRegistryImpl.java:261)
    at org.openhab.io.rest.internal.resources.SitemapResource.createWidgetBean(SitemapResource.java:275)
    at org.openhab.io.rest.internal.resources.SitemapResource.createPageBean(SitemapResource.java:257)
    at org.openhab.io.rest.internal.resources.SitemapResource.getPageBean(SitemapResource.java:183)
    at org.openhab.io.rest.internal.resources.SitemapResource.getPageBean(SitemapResource.java:191)
    at org.openhab.io.rest.internal.resources.SitemapResource.getPageBean(SitemapResource.java:191)
    at org.openhab.io.rest.internal.resources.SitemapResource.getPageBean(SitemapResource.java:191)
    at org.openhab.io.rest.internal.resources.SitemapResource.getPageBean(SitemapResource.java:191)
    at org.openhab.io.rest.internal.resources.SitemapResource.getPageBean(SitemapResource.java:191)
    at org.openhab.io.rest.internal.resources.SitemapResource.getPageBean(SitemapResource.java:191)
    at org.openhab.io.rest.internal.resources.SitemapResource.getPageBean(SitemapResource.java:191)

Original issue reported on code.google.com by mishoboss on 4 Jan 2012 at 4:36

GoogleCodeExporter commented 8 years ago

Original comment by kai.openhab on 4 Jan 2012 at 9:16

GoogleCodeExporter commented 8 years ago
Fixed with commit 
http://code.google.com/p/openhab/source/detail?r=c1a0cd9480804c81f764f49801f84e2
e0d594c0d

Original comment by kai.openhab on 4 Jan 2012 at 9:18

GoogleCodeExporter commented 8 years ago
Thank you for the fast response!

Original comment by mishoboss on 5 Jan 2012 at 7:47