Tapestry 5
  1. Tapestry 5
  2. TAP5-913

Stack size too large exception, related to PropertyExpressionLexer

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.2.0
    • Fix Version/s: 5.2.0, 5.1.0.6, 5.1.0.7
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      java.lang.VerifyError: (class: org/apache/tapestry5/internal/antlr/PropertyExpressionLexer, method: mDECIMAL signature: ()V) Stack size too large

      This error could be with mDECIMAL method as well as with mRANGEOP, mINTEGER, mREDEF

      As I found out this might be because of unnecessary code: http://forums.terracotta.org/forums/posts/list/872.page

      -------
      Windows Vista 32

      Google AppEngine SDK 1.2.6

      java version "1.6.0_15"
      Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
      Java HotSpot(TM) Client VM (build 14.1-b02, mixed mode, sharing)

      Stack trace:

      HTTP ERROR: 500

      (class: org/apache/tapestry5/internal/antlr/PropertyExpressionLexer, method: mDECIMAL signature: ()V) Stack size too large

      RequestURI=/welcome
      Caused by:

      java.lang.VerifyError: (class: org/apache/tapestry5/internal/antlr/PropertyExpressionLexer, method: mDECIMAL signature: ()V) Stack size too large
      at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.parse(PropertyConduitSourceImpl.java:1230)
      at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.build(PropertyConduitSourceImpl.java:1125)
      at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.create(PropertyConduitSourceImpl.java:1081)
      at $PropertyConduitSource_1249b3a8cbc.create($PropertyConduitSource_1249b3a8cbc.java)
      at org.apache.tapestry5.internal.bindings.PropBindingFactory.newBinding(PropBindingFactory.java:49)
      at $BindingFactory_1249b3a8cbd.newBinding($BindingFactory_1249b3a8cbd.java)
      at $BindingFactory_1249b3a8cb5.newBinding($BindingFactory_1249b3a8cb5.java)
      at org.apache.tapestry5.internal.services.BindingSourceImpl.newBinding(BindingSourceImpl.java:81)
      at $BindingSource_1249b3a8c93.newBinding($BindingSource_1249b3a8c93.java)
      at org.apache.tapestry5.internal.services.PageElementFactoryImpl.newBinding(PageElementFactoryImpl.java:184)
      at $PageElementFactory_1249b3a8caf.newBinding($PageElementFactory_1249b3a8caf.java)
      at org.apache.tapestry5.internal.pageload.PageLoaderImpl$10.execute(PageLoaderImpl.java:859)
      at org.apache.tapestry5.internal.pageload.ComponentAssemblerImpl.runActions(ComponentAssemblerImpl.java:207)
      at org.apache.tapestry5.internal.pageload.ComponentAssemblerImpl.assembleRootComponent(ComponentAssemblerImpl.java:88)
      at org.apache.tapestry5.internal.pageload.PageLoaderImpl.loadPage(PageLoaderImpl.java:159)
      at $PageLoader_1249b3a8ca0.loadPage($PageLoader_1249b3a8ca0.java)
      at org.apache.tapestry5.internal.services.PagePoolCache.checkout(PagePoolCache.java:210)
      at org.apache.tapestry5.internal.services.PagePoolImpl.checkout(PagePoolImpl.java:99)
      at $PagePool_1249b3a8c9f.checkout($PagePool_1249b3a8c9f.java)
      at org.apache.tapestry5.internal.services.RequestPageCacheImpl.get(RequestPageCacheImpl.java:51)
      at $RequestPageCache_1249b3a8c9e.get($RequestPageCache_1249b3a8c9e.java)
      at $RequestPageCache_1249b3a8c86.get($RequestPageCache_1249b3a8c86.java)
      at org.apache.tapestry5.internal.services.DefaultRequestExceptionHandler.handleRequestException(DefaultRequestExceptionHandler.java:69)
      at $RequestExceptionHandler_1249b3a8c71.handleRequestException($RequestExceptionHandler_1249b3a8c71.java)
      at org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:42)
      at $RequestHandler_1249b3a8c73.service($RequestHandler_1249b3a8c73.java)
      at org.apache.tapestry5.services.TapestryModule$4.service(TapestryModule.java:791)
      at $RequestHandler_1249b3a8c73.service($RequestHandler_1249b3a8c73.java)
      at org.apache.tapestry5.services.TapestryModule$3.service(TapestryModule.java:780)
      at $RequestHandler_1249b3a8c73.service($RequestHandler_1249b3a8c73.java)
      at org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:85)
      at $RequestHandler_1249b3a8c73.service($RequestHandler_1249b3a8c73.java)
      at dmitrygusev.ping.services.AppModule$1.service(AppModule.java:138)
      at $RequestFilter_1249b3a8c6d.service($RequestFilter_1249b3a8c6d.java)
      at $RequestHandler_1249b3a8c73.service($RequestHandler_1249b3a8c73.java)
      at dmitrygusev.ping.services.AppModule$2.service(AppModule.java:190)
      at $RequestFilter_1249b3a8c6e.service($RequestFilter_1249b3a8c6e.java)
      at $RequestHandler_1249b3a8c73.service($RequestHandler_1249b3a8c73.java)
      at org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:90)
      at org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:80)
      at org.apache.tapestry5.ioc.internal.util.ConcurrentBarrier.withRead(ConcurrentBarrier.java:85)
      at org.apache.tapestry5.internal.services.CheckForUpdatesFilter.service(CheckForUpdatesFilter.java:103)
      at $RequestHandler_1249b3a8c73.service($RequestHandler_1249b3a8c73.java)
      at $RequestHandler_1249b3a8c67.service($RequestHandler_1249b3a8c67.java)
      at org.apache.tapestry5.services.TapestryModule$HttpServletRequestHandlerTerminator.service(TapestryModule.java:199)
      at org.apache.tapestry5.internal.gzip.GZipFilter.service(GZipFilter.java:53)
      at $HttpServletRequestHandler_1249b3a8c69.service($HttpServletRequestHandler_1249b3a8c69.java)
      at org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
      at $HttpServletRequestFilter_1249b3a8c66.service($HttpServletRequestFilter_1249b3a8c66.java)
      at $HttpServletRequestHandler_1249b3a8c69.service($HttpServletRequestHandler_1249b3a8c69.java)
      at org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:739)
      at $HttpServletRequestHandler_1249b3a8c69.service($HttpServletRequestHandler_1249b3a8c69.java)
      at $HttpServletRequestHandler_1249b3a8c64.service($HttpServletRequestHandler_1249b3a8c64.java)
      at org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:127)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
      at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
      at com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:121)
      at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
      at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
      at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
      at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:54)
      at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
      at com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:342)
      at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
      at org.mortbay.jetty.Server.handle(Server.java:313)
      at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
      at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:830)
      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
      at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
      at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)

      Powered by Jetty://

        Activity

        Hide
        Dmitry Gusev added a comment -

        This patch is for version 2.0.0-SNAPSHOT (may work for older versions as well)

        Show
        Dmitry Gusev added a comment - This patch is for version 2.0.0-SNAPSHOT (may work for older versions as well)
        Hide
        Kevin Menard added a comment -

        The patch was applied to trunk.

        Show
        Kevin Menard added a comment - The patch was applied to trunk.
        Hide
        Ulrich Stärk added a comment -

        patch against 5.1 branch

        Show
        Ulrich Stärk added a comment - patch against 5.1 branch

          People

          • Assignee:
            Kevin Menard
            Reporter:
            Dmitry Gusev
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development