Uploaded image for project: 'Commons OGNL (Dormant)'
  1. Commons OGNL (Dormant)
  2. OGNL-81

Boolean expression not evaluated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 2.7
    • 2.7
    • ExpressionCompiler
    • None

    Description

      The OGNL expression in the following component causes an exception

      <component id="link" type="DirectLink">

      <binding name="listener" value="listener:doClick"/>

      <binding name="parameters" value="blockId"/>

      <binding name="disabled" value="ognl: tabSelected || readonly"/>

      <binding name="async" value="ognl: !(tabSelected || readonly)"/>

      </component>

      42781 ERROR org.apache.tapestry.services.impl.HiveMindExpressionCompiler - Error generating OGNL getter for expression (tabSelected || readonly) with root $TabPanel_17@6c67381[Home/betSlip.tabs] and body:

      { return ($w) (!(ognl.OgnlOps.booleanValue(ref1($$)) ? ($w) ref1($$) : ($w) (java.lang.Object) ref2($$)));}

      org.apache.hivemind.ApplicationRuntimeException: Unable to add method java.lang.Object get(ognl.OgnlContext, java.lang.Object) to class $ASTNot_112b38760da: [source error] boolean expr is required

      at org.apache.tapestry.enhance.ClassFabImpl.addMethod(ClassFabImpl.java:278)

      at org.apache.tapestry.services.impl.HiveMindExpressionCompiler.compileExpression(HiveMindExpressionCompiler.java:172)

      at ognl.OgnlRuntime.compileExpression(OgnlRuntime.java:387)

      at ognl.Ognl.compileExpression(Ognl.java:123)

      at org.apache.tapestry.services.impl.ExpressionCacheImpl.parse(ExpressionCacheImpl.java:129)

      at org.apache.tapestry.services.impl.ExpressionCacheImpl.getCompiledExpression(ExpressionCacheImpl.java:91)

      at $ExpressionCache_112b3876027.getCompiledExpression($ExpressionCache_112b3876027.java)

      at org.apache.tapestry.binding.ExpressionBinding.resolveExpression(ExpressionBinding.java:122)

      at org.apache.tapestry.binding.ExpressionBinding.getObject(ExpressionBinding.java:113)

      at org.apache.tapestry.binding.AbstractBinding.getObject(AbstractBinding.java:84)

      at org.apache.tapestry.enhance.EnhanceUtils.toBoolean(EnhanceUtils.java:176)

      at $DirectLink_3.isAsync($DirectLink_3.java)

      at org.apache.tapestry.engine.DirectServiceParameter.<init>(DirectServiceParameter.java:67)

      at org.apache.tapestry.engine.DirectServiceParameter.<init>(DirectServiceParameter.java:48)

      at org.apache.tapestry.link.DirectLink.getLink(DirectLink.java:47)

      at org.apache.tapestry.link.DefaultLinkRenderer.constructURL(DefaultLinkRenderer.java:122)

      at org.apache.tapestry.link.DefaultLinkRenderer.renderLink(DefaultLinkRenderer.java:68)

      at org.apache.tapestry.link.AbstractLinkComponent.renderComponent(AbstractLinkComponent.java:94)

      at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:723)

      at org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:184)

      at org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:537)

      at org.apache.tapestry.components.IfBean.renderComponent(IfBean.java:96)

      at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:723)

      at org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:184)

      at org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:537)

      at org.apache.tapestry.components.ForBean.renderComponent(ForBean.java:181)

      at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:723)

      at org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:184)

      at org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:537)

      at org.apache.tapestry.components.Any.renderComponent(Any.java:47)

      at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:723)

      at org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:184)

      at org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:107)

      at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:723)

      at org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:184)

      at org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:107)

      at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:723)

      at org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:184)

      at org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:537)

      at org.apache.tapestry.components.Block.renderForComponent(Block.java:65)

      at org.apache.tapestry.components.RenderBlock.renderComponent(RenderBlock.java:65)

      at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:723)

      at org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:184)

      at org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:537)

      at org.apache.tapestry.html.Body.renderComponent(Body.java:38)

      at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:723)

      at org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:184)

      at org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:537)

      at org.apache.tapestry.html.Shell.renderComponent(Shell.java:126)

      at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:723)

      at org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:184)

      at org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:107)

      at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:723)

      at org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:184)

      at org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:107)

      at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:723)

      at org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:182)

      at org.apache.tapestry.AbstractPage.renderPage(AbstractPage.java:237)

      at org.apache.tapestry.engine.RequestCycle.renderPage(RequestCycle.java:397)

      at org.apache.tapestry.services.impl.DefaultResponseBuilder.renderResponse(DefaultResponseBuilder.java:158)

      at org.apache.tapestry.services.impl.ResponseRendererImpl.renderResponse(ResponseRendererImpl.java:33)

      at $ResponseRenderer_112b3875e7e.renderResponse($ResponseRenderer_112b3875e7e.java)

      at $ResponseRenderer_112b3875e7d.renderResponse($ResponseRenderer_112b3875e7d.java)

      at org.apache.tapestry.engine.HomeService.service(HomeService.java:68)

      at $IEngineService_112b3875f71.service($IEngineService_112b3875f71.java)

      at org.apache.tapestry.services.impl.EngineServiceInnerProxy.service(EngineServiceInnerProxy.java:77)

      at org.apache.tapestry.services.impl.EngineServiceOuterProxy.service(EngineServiceOuterProxy.java:72)

      at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:246)

      at org.apache.tapestry.services.impl.InvokeEngineTerminator.service(InvokeEngineTerminator.java:54)

      at $WebRequestServicer_112b3875f4c.service($WebRequestServicer_112b3875f4c.java)

      at $WebRequestServicer_112b3875f4b.service($WebRequestServicer_112b3875f4b.java)

      at org.apache.tapestry.services.impl.DisableCachingFilter.service(DisableCachingFilter.java:54)

      at $WebRequestServicerFilter_112b3875f4e.service($WebRequestServicerFilter_112b3875f4e.java)

      at $WebRequestServicerFilter_112b3875f4d.service($WebRequestServicerFilter_112b3875f4d.java)

      at $WebRequestServicer_112b3875f4f.service($WebRequestServicer_112b3875f4f.java)

      at $WebRequestServicer_112b3875f48.service($WebRequestServicer_112b3875f48.java)

      at $WebRequestServicer_112b3875f47.service($WebRequestServicer_112b3875f47.java)

      at org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service(WebRequestServicerPipelineBridge.java:61)

      at $ServletRequestServicer_112b3875f2e.service($ServletRequestServicer_112b3875f2e.java)

      at $ServletRequestServicer_112b3875f2d.service($ServletRequestServicer_112b3875f2d.java)

      at org.apache.tapestry.request.DecodedRequestInjector.service(DecodedRequestInjector.java:55)

      at $ServletRequestServicerFilter_112b3875f2a.service($ServletRequestServicerFilter_112b3875f2a.java)

      at $ServletRequestServicerFilter_112b3875f29.service($ServletRequestServicerFilter_112b3875f29.java)

      at $ServletRequestServicer_112b3875f2f.service($ServletRequestServicer_112b3875f2f.java)

      at org.apache.tapestry.multipart.MultipartDecoderFilter.service(MultipartDecoderFilter.java:52)

      at $ServletRequestServicerFilter_112b3875f28.service($ServletRequestServicerFilter_112b3875f28.java)

      at $ServletRequestServicerFilter_112b3875f27.service($ServletRequestServicerFilter_112b3875f27.java)

      at $ServletRequestServicer_112b3875f2f.service($ServletRequestServicer_112b3875f2f.java)

      at org.apache.tapestry.services.impl.SetupRequestEncoding.service(SetupRequestEncoding.java:53)

      at $ServletRequestServicerFilter_112b3875f2c.service($ServletRequestServicerFilter_112b3875f2c.java)

      at $ServletRequestServicerFilter_112b3875f2b.service($ServletRequestServicerFilter_112b3875f2b.java)

      at $ServletRequestServicer_112b3875f2f.service($ServletRequestServicer_112b3875f2f.java)

      at $ServletRequestServicer_112b3875e9e.service($ServletRequestServicer_112b3875e9e.java)

      at $ServletRequestServicer_112b3875e9d.service($ServletRequestServicer_112b3875e9d.java)

      at org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:126)

      at org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:103)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

      at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:459)

      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)

      at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:231)

      at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:629)

      at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:453)

      at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:149)

      at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:123)

      at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)

      at org.mortbay.jetty.Server.handle(Server.java:303)

      at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:452)

      at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:721)

      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:509)

      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209)

      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:349)

      at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:320)

      at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)

      Caused by: javassist.CannotCompileException: [source error] boolean expr is required

      at javassist.CtBehavior.setBody(CtBehavior.java:347)

      at javassist.CtBehavior.setBody(CtBehavior.java:316)

      at org.apache.tapestry.enhance.ClassFabImpl.addMethod(ClassFabImpl.java:272)

      ... 113 more

      Caused by: compile error: boolean expr is required

      at javassist.compiler.CodeGen.booleanExpr(CodeGen.java:1115)

      at javassist.compiler.CodeGen.booleanExpr(CodeGen.java:1094)

      at javassist.compiler.CodeGen.atExpr(CodeGen.java:1457)

      at javassist.compiler.ast.Expr.accept(Expr.java:67)

      at javassist.compiler.JvstCodeGen.atCastToWrapper(JvstCodeGen.java:201)

      at javassist.compiler.JvstCodeGen.atCastExpr(JvstCodeGen.java:171)

      at javassist.compiler.ast.CastExpr.accept(CastExpr.java:54)

      at javassist.compiler.CodeGen.compileExpr(CodeGen.java:223)

      at javassist.compiler.CodeGen.atReturnStmnt2(CodeGen.java:591)

      at javassist.compiler.JvstCodeGen.atReturnStmnt(JvstCodeGen.java:424)

      at javassist.compiler.CodeGen.atStmnt(CodeGen.java:356)

      at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)

      at javassist.compiler.CodeGen.atStmnt(CodeGen.java:344)

      at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)

      at javassist.compiler.CodeGen.atMethodBody(CodeGen.java:285)

      at javassist.compiler.Javac.compileBody(Javac.java:212)

      at javassist.CtBehavior.setBody(CtBehavior.java:341)

      ... 115 more

      org.apache.hivemind.ApplicationRuntimeException: Unable to add method java.lang.Object get(ognl.OgnlContext, java.lang.Object) to class $ASTNot_112b38760da: [source error] boolean expr is required

      at org.apache.tapestry.enhance.ClassFabImpl.addMethod(ClassFabImpl.java:278)

      at org.apache.tapestry.services.impl.HiveMindExpressionCompiler.compileExpression(HiveMindExpressionCompiler.java:172)

      at ognl.OgnlRuntime.compileExpression(OgnlRuntime.java:387)

      at ognl.Ognl.compileExpression(Ognl.java:123)

      at org.apache.tapestry.services.impl.ExpressionCacheImpl.parse(ExpressionCacheImpl.java:129)

      at org.apache.tapestry.services.impl.ExpressionCacheImpl.getCompiledExpression(ExpressionCacheImpl.java:91)

      at $ExpressionCache_112b3876027.getCompiledExpression($ExpressionCache_112b3876027.java)

      at org.apache.tapestry.binding.ExpressionBinding.resolveExpression(ExpressionBinding.java:122)

      at org.apache.tapestry.binding.ExpressionBinding.getObject(ExpressionBinding.java:113)

      at org.apache.tapestry.binding.AbstractBinding.getObject(AbstractBinding.java:84)

      at org.apache.tapestry.enhance.EnhanceUtils.toBoolean(EnhanceUtils.java:176)

      at $DirectLink_3.isAsync($DirectLink_3.java)

      at org.apache.tapestry.engine.DirectServiceParameter.<init>(DirectServiceParameter.java:67)

      at org.apache.tapestry.engine.DirectServiceParameter.<init>(DirectServiceParameter.java:48)

      at org.apache.tapestry.link.DirectLink.getLink(DirectLink.java:47)

      at org.apache.tapestry.link.DefaultLinkRenderer.constructURL(DefaultLinkRenderer.java:122)

      at org.apache.tapestry.link.DefaultLinkRenderer.renderLink(DefaultLinkRenderer.java:68)

      at org.apache.tapestry.link.AbstractLinkComponent.renderComponent(AbstractLinkComponent.java:94)

      at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:723)

      at org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:184)

      at org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:537)

      at org.apache.tapestry.components.IfBean.renderComponent(IfBean.java:96)

      at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:723)

      at org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:184)

      at org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:537)

      at org.apache.tapestry.components.ForBean.renderComponent(ForBean.java:181)

      at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:723)

      at org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:184)

      at org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:537)

      at org.apache.tapestry.components.Any.renderComponent(Any.java:47)

      at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:723)

      at org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:184)

      at org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:107)

      at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:723)

      at org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:184)

      at org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:107)

      at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:723)

      at org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:184)

      at org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:537)

      at org.apache.tapestry.components.Block.renderForComponent(Block.java:65)

      at org.apache.tapestry.components.RenderBlock.renderComponent(RenderBlock.java:65)

      at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:723)

      at org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:184)

      at org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:537)

      at org.apache.tapestry.html.Body.renderComponent(Body.java:38)

      at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:723)

      at org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:184)

      at org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:537)

      at org.apache.tapestry.html.Shell.renderComponent(Shell.java:126)

      at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:723)

      at org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:184)

      at org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:107)

      at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:723)

      at org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:184)

      at org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:107)

      at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:723)

      at org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:182)

      at org.apache.tapestry.AbstractPage.renderPage(AbstractPage.java:237)

      at org.apache.tapestry.engine.RequestCycle.renderPage(RequestCycle.java:397)

      at org.apache.tapestry.services.impl.DefaultResponseBuilder.renderResponse(DefaultResponseBuilder.java:158)

      at org.apache.tapestry.services.impl.ResponseRendererImpl.renderResponse(ResponseRendererImpl.java:33)

      at $ResponseRenderer_112b3875e7e.renderResponse($ResponseRenderer_112b3875e7e.java)

      at $ResponseRenderer_112b3875e7d.renderResponse($ResponseRenderer_112b3875e7d.java)

      at org.apache.tapestry.engine.HomeService.service(HomeService.java:68)

      at $IEngineService_112b3875f71.service($IEngineService_112b3875f71.java)

      at org.apache.tapestry.services.impl.EngineServiceInnerProxy.service(EngineServiceInnerProxy.java:77)

      at org.apache.tapestry.services.impl.EngineServiceOuterProxy.service(EngineServiceOuterProxy.java:72)

      at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:246)

      at org.apache.tapestry.services.impl.InvokeEngineTerminator.service(InvokeEngineTerminator.java:54)

      at $WebRequestServicer_112b3875f4c.service($WebRequestServicer_112b3875f4c.java)

      at $WebRequestServicer_112b3875f4b.service($WebRequestServicer_112b3875f4b.java)

      at org.apache.tapestry.services.impl.DisableCachingFilter.service(DisableCachingFilter.java:54)

      at $WebRequestServicerFilter_112b3875f4e.service($WebRequestServicerFilter_112b3875f4e.java)

      at $WebRequestServicerFilter_112b3875f4d.service($WebRequestServicerFilter_112b3875f4d.java)

      at $WebRequestServicer_112b3875f4f.service($WebRequestServicer_112b3875f4f.java)

      at $WebRequestServicer_112b3875f48.service($WebRequestServicer_112b3875f48.java)

      at $WebRequestServicer_112b3875f47.service($WebRequestServicer_112b3875f47.java)

      at org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service(WebRequestServicerPipelineBridge.java:61)

      at $ServletRequestServicer_112b3875f2e.service($ServletRequestServicer_112b3875f2e.java)

      at $ServletRequestServicer_112b3875f2d.service($ServletRequestServicer_112b3875f2d.java)

      at org.apache.tapestry.request.DecodedRequestInjector.service(DecodedRequestInjector.java:55)

      at $ServletRequestServicerFilter_112b3875f2a.service($ServletRequestServicerFilter_112b3875f2a.java)

      at $ServletRequestServicerFilter_112b3875f29.service($ServletRequestServicerFilter_112b3875f29.java)

      at $ServletRequestServicer_112b3875f2f.service($ServletRequestServicer_112b3875f2f.java)

      at org.apache.tapestry.multipart.MultipartDecoderFilter.service(MultipartDecoderFilter.java:52)

      at $ServletRequestServicerFilter_112b3875f28.service($ServletRequestServicerFilter_112b3875f28.java)

      at $ServletRequestServicerFilter_112b3875f27.service($ServletRequestServicerFilter_112b3875f27.java)

      at $ServletRequestServicer_112b3875f2f.service($ServletRequestServicer_112b3875f2f.java)

      at org.apache.tapestry.services.impl.SetupRequestEncoding.service(SetupRequestEncoding.java:53)

      at $ServletRequestServicerFilter_112b3875f2c.service($ServletRequestServicerFilter_112b3875f2c.java)

      at $ServletRequestServicerFilter_112b3875f2b.service($ServletRequestServicerFilter_112b3875f2b.java)

      at $ServletRequestServicer_112b3875f2f.service($ServletRequestServicer_112b3875f2f.java)

      at $ServletRequestServicer_112b3875e9e.service($ServletRequestServicer_112b3875e9e.java)

      at $ServletRequestServicer_112b3875e9d.service($ServletRequestServicer_112b3875e9d.java)

      at org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:126)

      at org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:103)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

      at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:459)

      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)

      at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:231)

      at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:629)

      at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:453)

      at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:149)

      at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:123)

      at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)

      at org.mortbay.jetty.Server.handle(Server.java:303)

      at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:452)

      at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:721)

      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:509)

      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209)

      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:349)

      at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:320)

      at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)

      Caused by: javassist.CannotCompileException: [source error] boolean expr is required

      at javassist.CtBehavior.setBody(CtBehavior.java:347)

      at javassist.CtBehavior.setBody(CtBehavior.java:316)

      at org.apache.tapestry.enhance.ClassFabImpl.addMethod(ClassFabImpl.java:272)

      ... 113 more

      Caused by: compile error: boolean expr is required

      at javassist.compiler.CodeGen.booleanExpr(CodeGen.java:1115)

      at javassist.compiler.CodeGen.booleanExpr(CodeGen.java:1094)

      at javassist.compiler.CodeGen.atExpr(CodeGen.java:1457)

      at javassist.compiler.ast.Expr.accept(Expr.java:67)

      at javassist.compiler.JvstCodeGen.atCastToWrapper(JvstCodeGen.java:201)

      at javassist.compiler.JvstCodeGen.atCastExpr(JvstCodeGen.java:171)

      at javassist.compiler.ast.CastExpr.accept(CastExpr.java:54)

      at javassist.compiler.CodeGen.compileExpr(CodeGen.java:223)

      at javassist.compiler.CodeGen.atReturnStmnt2(CodeGen.java:591)

      at javassist.compiler.JvstCodeGen.atReturnStmnt(JvstCodeGen.java:424)

      at javassist.compiler.CodeGen.atStmnt(CodeGen.java:356)

      at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)

      at javassist.compiler.CodeGen.atStmnt(CodeGen.java:344)

      at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)

      at javassist.compiler.CodeGen.atMethodBody(CodeGen.java:285)

      at javassist.compiler.Javac.compileBody(Javac.java:212)

      at javassist.CtBehavior.setBody(CtBehavior.java:341)

      Attachments

        Activity

          People

            jkuhnert Jesse Kuhnert
            igor.drobiazko Igor Drobiazko
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: