Commons OGNL
  1. Commons OGNL
  2. OGNL-37

messages.format with 3 parameters causes ArrayIndexOutOfBoundsException

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.7
    • Fix Version/s: 2.7
    • Component/s: ExpressionCompiler
    • Labels:
      None
    • Environment:
      OGNL 2.7 snapshot from 4-7, Tapestry 4.1.2 snapshot from 4-8, WinXP, Firefox 2

      Description

      The following prints "Testing 1 2 3" properly with OGNL 2.6:

      .html:

      <span jwcid="@Insert" value="ognl:messages.format('Testing', one, two, three)" />

      .properties:

      Testing=Testing

      {0}

      {1}

      {2}

      .java:

      public int getOne()

      { return 1; }

      public int getTwo()

      { return 2; }

      public int getThree()

      { return 3; }

      Using OGNL 2.7 you get a stack trace instead. Even the fail-safe doesn't take care of this, you get the error page.

      1. org.apache.hivemind.ApplicationRuntimeException: Unable to parse OGNL expression 'messages.format('Testing', one, two, three)': java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: 2

      org.apache.tapestry.services.impl.ExpressionCacheImpl#parse (ExpressionCacheImpl.java:133)

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

      $ExpressionCache_111d6d6d366#getCompiledExpression ($ExpressionCache_111d6d6d366.java:-1)

      org.apache.tapestry.binding.ExpressionBinding#resolveExpression (ExpressionBinding.java:120)

      org.apache.tapestry.binding.ExpressionBinding#getObject (ExpressionBinding.java:111)

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

      $Insert_48#getValue ($Insert_48.java:-1)

      org.apache.tapestry.components.Insert#renderComponent (Insert.java:48)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.AbstractComponent#renderBody (AbstractComponent.java:525)

      org.apache.tapestry.components.RenderBody#renderComponent (RenderBody.java:41)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.AbstractComponent#renderBody (AbstractComponent.java:525)

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

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.BaseComponent#renderComponent (BaseComponent.java:92)

      collective.ui.components.CollectiveComponent#renderComponent (CollectiveComponent.java:70)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.AbstractComponent#renderBody (AbstractComponent.java:525)

      org.apache.tapestry.components.RenderBody#renderComponent (RenderBody.java:41)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.AbstractComponent#renderBody (AbstractComponent.java:525)

      org.apache.tapestry.components.RenderBody#renderComponent (RenderBody.java:41)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.AbstractComponent#renderBody (AbstractComponent.java:525)

      org.apache.tapestry.components.RenderBody#renderComponent (RenderBody.java:41)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.BaseComponent#renderComponent (BaseComponent.java:92)

      collective.ui.components.CollectiveComponent#renderComponent (CollectiveComponent.java:70)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.AbstractComponent#renderBody (AbstractComponent.java:525)

      org.apache.tapestry.components.Any#renderComponent (Any.java:53)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.AbstractComponent#renderBody (AbstractComponent.java:525)

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

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.AbstractComponent#renderBody (AbstractComponent.java:525)

      org.apache.tapestry.html.Shell#renderComponent (Shell.java:64)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.BaseComponent#renderComponent (BaseComponent.java:92)

      collective.ui.components.CollectiveComponent#renderComponent (CollectiveComponent.java:70)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.AbstractComponent#renderBody (AbstractComponent.java:525)

      org.apache.tapestry.components.ElseBean#renderComponent (ElseBean.java:47)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.BaseComponent#renderComponent (BaseComponent.java:92)

      collective.ui.components.CollectiveComponent#renderComponent (CollectiveComponent.java:70)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.BaseComponent#renderComponent (BaseComponent.java:92)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

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

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

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

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

      $ResponseRenderer_111d6d6d1f3#renderResponse ($ResponseRenderer_111d6d6d1f3.java:-1)

      org.apache.tapestry.engine.PageService#service (PageService.java:68)

      $IEngineService_111d6d6d283#service ($IEngineService_111d6d6d283.java:-1)

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

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

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

      $WebRequestServicer_111d6d6d260#service ($WebRequestServicer_111d6d6d260.java:-1)

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

      $WebRequestServicerFilter_111d6d6d262#service ($WebRequestServicerFilter_111d6d6d262.java:-1)

      $WebRequestServicer_111d6d6d264#service ($WebRequestServicer_111d6d6d264.java:-1)

      $WebRequestServicer_111d6d6d25c#service ($WebRequestServicer_111d6d6d25c.java:-1)

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

      $ServletRequestServicer_111d6d6d23e#service ($ServletRequestServicer_111d6d6d23e.java:-1)

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

      $ServletRequestServicerFilter_111d6d6d23a#service ($ServletRequestServicerFilter_111d6d6d23a.java:-1)

      $ServletRequestServicer_111d6d6d240#service ($ServletRequestServicer_111d6d6d240.java:-1)

      collective.ui.custom.HibernateFilter#service (HibernateFilter.java:37)

      $ServletRequestServicerFilter_111d6d6d238#service ($ServletRequestServicerFilter_111d6d6d238.java:-1)

      $ServletRequestServicer_111d6d6d240#service ($ServletRequestServicer_111d6d6d240.java:-1)

      collective.ui.custom.LuceneIndexFilter#service (LuceneIndexFilter.java:24)

      $ServletRequestServicerFilter_111d6d6d236#service ($ServletRequestServicerFilter_111d6d6d236.java:-1)

      $ServletRequestServicer_111d6d6d240#service ($ServletRequestServicer_111d6d6d240.java:-1)

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

      $ServletRequestServicerFilter_111d6d6d234#service ($ServletRequestServicerFilter_111d6d6d234.java:-1)

      $ServletRequestServicer_111d6d6d240#service ($ServletRequestServicer_111d6d6d240.java:-1)

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

      $ServletRequestServicerFilter_111d6d6d23c#service ($ServletRequestServicerFilter_111d6d6d23c.java:-1)

      $ServletRequestServicer_111d6d6d240#service ($ServletRequestServicer_111d6d6d240.java:-1)

      $ServletRequestServicer_111d6d6d22d#service ($ServletRequestServicer_111d6d6d22d.java:-1)

      org.apache.tapestry.ApplicationServlet#doService (ApplicationServlet.java:123)

      collective.ui.CollectiveApplicationServlet#doService (CollectiveApplicationServlet.java:71)

      org.apache.tapestry.ApplicationServlet#doGet (ApplicationServlet.java:104)

      javax.servlet.http.HttpServlet#service (HttpServlet.java:743)

      javax.servlet.http.HttpServlet#service (HttpServlet.java:856)

      org.mortbay.jetty.servlet.ServletHolder#handle (ServletHolder.java:427)

      ... 15 more not displayed

      1. caused by java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: 2

      ognl.ASTChain#toGetSourceString (ASTChain.java:326)

      org.apache.tapestry.services.impl.HiveMindExpressionCompiler#generateGetter (HiveMindExpressionCompiler.java:274)

      org.apache.tapestry.services.impl.HiveMindExpressionCompiler#compileExpression (HiveMindExpressionCompiler.java:138)

      ognl.OgnlRuntime#compileExpression (OgnlRuntime.java:388)

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

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

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

      $ExpressionCache_111d6d6d366#getCompiledExpression ($ExpressionCache_111d6d6d366.java:-1)

      org.apache.tapestry.binding.ExpressionBinding#resolveExpression (ExpressionBinding.java:120)

      org.apache.tapestry.binding.ExpressionBinding#getObject (ExpressionBinding.java:111)

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

      $Insert_48#getValue ($Insert_48.java:-1)

      org.apache.tapestry.components.Insert#renderComponent (Insert.java:48)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.AbstractComponent#renderBody (AbstractComponent.java:525)

      org.apache.tapestry.components.RenderBody#renderComponent (RenderBody.java:41)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.AbstractComponent#renderBody (AbstractComponent.java:525)

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

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.BaseComponent#renderComponent (BaseComponent.java:92)

      collective.ui.components.CollectiveComponent#renderComponent (CollectiveComponent.java:70)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.AbstractComponent#renderBody (AbstractComponent.java:525)

      org.apache.tapestry.components.RenderBody#renderComponent (RenderBody.java:41)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.AbstractComponent#renderBody (AbstractComponent.java:525)

      org.apache.tapestry.components.RenderBody#renderComponent (RenderBody.java:41)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.AbstractComponent#renderBody (AbstractComponent.java:525)

      org.apache.tapestry.components.RenderBody#renderComponent (RenderBody.java:41)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.BaseComponent#renderComponent (BaseComponent.java:92)

      collective.ui.components.CollectiveComponent#renderComponent (CollectiveComponent.java:70)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.AbstractComponent#renderBody (AbstractComponent.java:525)

      org.apache.tapestry.components.Any#renderComponent (Any.java:53)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.AbstractComponent#renderBody (AbstractComponent.java:525)

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

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.AbstractComponent#renderBody (AbstractComponent.java:525)

      org.apache.tapestry.html.Shell#renderComponent (Shell.java:64)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.BaseComponent#renderComponent (BaseComponent.java:92)

      collective.ui.components.CollectiveComponent#renderComponent (CollectiveComponent.java:70)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.AbstractComponent#renderBody (AbstractComponent.java:525)

      org.apache.tapestry.components.ElseBean#renderComponent (ElseBean.java:47)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.BaseComponent#renderComponent (BaseComponent.java:92)

      collective.ui.components.CollectiveComponent#renderComponent (CollectiveComponent.java:70)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.BaseComponent#renderComponent (BaseComponent.java:92)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

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

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

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

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

      $ResponseRenderer_111d6d6d1f3#renderResponse ($ResponseRenderer_111d6d6d1f3.java:-1)

      org.apache.tapestry.engine.PageService#service (PageService.java:68)

      $IEngineService_111d6d6d283#service ($IEngineService_111d6d6d283.java:-1)

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

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

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

      $WebRequestServicer_111d6d6d260#service ($WebRequestServicer_111d6d6d260.java:-1)

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

      $WebRequestServicerFilter_111d6d6d262#service ($WebRequestServicerFilter_111d6d6d262.java:-1)

      $WebRequestServicer_111d6d6d264#service ($WebRequestServicer_111d6d6d264.java:-1)

      $WebRequestServicer_111d6d6d25c#service ($WebRequestServicer_111d6d6d25c.java:-1)

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

      $ServletRequestServicer_111d6d6d23e#service ($ServletRequestServicer_111d6d6d23e.java:-1)

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

      $ServletRequestServicerFilter_111d6d6d23a#service ($ServletRequestServicerFilter_111d6d6d23a.java:-1)

      $ServletRequestServicer_111d6d6d240#service ($ServletRequestServicer_111d6d6d240.java:-1)

      collective.ui.custom.HibernateFilter#service (HibernateFilter.java:37)

      $ServletRequestServicerFilter_111d6d6d238#service ($ServletRequestServicerFilter_111d6d6d238.java:-1)

      $ServletRequestServicer_111d6d6d240#service ($ServletRequestServicer_111d6d6d240.java:-1)

      collective.ui.custom.LuceneIndexFilter#service (LuceneIndexFilter.java:24)

      $ServletRequestServicerFilter_111d6d6d236#service ($ServletRequestServicerFilter_111d6d6d236.java:-1)

      $ServletRequestServicer_111d6d6d240#service ($ServletRequestServicer_111d6d6d240.java:-1)

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

      $ServletRequestServicerFilter_111d6d6d234#service ($ServletRequestServicerFilter_111d6d6d234.java:-1)

      $ServletRequestServicer_111d6d6d240#service ($ServletRequestServicer_111d6d6d240.java:-1)

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

      $ServletRequestServicerFilter_111d6d6d23c#service ($ServletRequestServicerFilter_111d6d6d23c.java:-1)

      $ServletRequestServicer_111d6d6d240#service ($ServletRequestServicer_111d6d6d240.java:-1)

      $ServletRequestServicer_111d6d6d22d#service ($ServletRequestServicer_111d6d6d22d.java:-1)

      org.apache.tapestry.ApplicationServlet#doService (ApplicationServlet.java:123)

      collective.ui.CollectiveApplicationServlet#doService (CollectiveApplicationServlet.java:71)

      org.apache.tapestry.ApplicationServlet#doGet (ApplicationServlet.java:104)

      javax.servlet.http.HttpServlet#service (HttpServlet.java:743)

      javax.servlet.http.HttpServlet#service (HttpServlet.java:856)

      org.mortbay.jetty.servlet.ServletHolder#handle (ServletHolder.java:427)

      ... 15 more not displayed

      1. caused by java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: 2

      ognl.ASTMethod#toGetSourceString (ASTMethod.java:277)

      ognl.ASTChain#toGetSourceString (ASTChain.java:271)

      org.apache.tapestry.services.impl.HiveMindExpressionCompiler#generateGetter (HiveMindExpressionCompiler.java:274)

      org.apache.tapestry.services.impl.HiveMindExpressionCompiler#compileExpression (HiveMindExpressionCompiler.java:138)

      ognl.OgnlRuntime#compileExpression (OgnlRuntime.java:388)

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

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

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

      $ExpressionCache_111d6d6d366#getCompiledExpression ($ExpressionCache_111d6d6d366.java:-1)

      org.apache.tapestry.binding.ExpressionBinding#resolveExpression (ExpressionBinding.java:120)

      org.apache.tapestry.binding.ExpressionBinding#getObject (ExpressionBinding.java:111)

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

      $Insert_48#getValue ($Insert_48.java:-1)

      org.apache.tapestry.components.Insert#renderComponent (Insert.java:48)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.AbstractComponent#renderBody (AbstractComponent.java:525)

      org.apache.tapestry.components.RenderBody#renderComponent (RenderBody.java:41)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.AbstractComponent#renderBody (AbstractComponent.java:525)

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

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.BaseComponent#renderComponent (BaseComponent.java:92)

      collective.ui.components.CollectiveComponent#renderComponent (CollectiveComponent.java:70)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.AbstractComponent#renderBody (AbstractComponent.java:525)

      org.apache.tapestry.components.RenderBody#renderComponent (RenderBody.java:41)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.AbstractComponent#renderBody (AbstractComponent.java:525)

      org.apache.tapestry.components.RenderBody#renderComponent (RenderBody.java:41)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.AbstractComponent#renderBody (AbstractComponent.java:525)

      org.apache.tapestry.components.RenderBody#renderComponent (RenderBody.java:41)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.BaseComponent#renderComponent (BaseComponent.java:92)

      collective.ui.components.CollectiveComponent#renderComponent (CollectiveComponent.java:70)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.AbstractComponent#renderBody (AbstractComponent.java:525)

      org.apache.tapestry.components.Any#renderComponent (Any.java:53)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.AbstractComponent#renderBody (AbstractComponent.java:525)

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

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.AbstractComponent#renderBody (AbstractComponent.java:525)

      org.apache.tapestry.html.Shell#renderComponent (Shell.java:64)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.BaseComponent#renderComponent (BaseComponent.java:92)

      collective.ui.components.CollectiveComponent#renderComponent (CollectiveComponent.java:70)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.AbstractComponent#renderBody (AbstractComponent.java:525)

      org.apache.tapestry.components.ElseBean#renderComponent (ElseBean.java:47)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.BaseComponent#renderComponent (BaseComponent.java:92)

      collective.ui.components.CollectiveComponent#renderComponent (CollectiveComponent.java:70)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.BaseComponent#renderComponent (BaseComponent.java:92)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

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

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

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

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

      $ResponseRenderer_111d6d6d1f3#renderResponse ($ResponseRenderer_111d6d6d1f3.java:-1)

      org.apache.tapestry.engine.PageService#service (PageService.java:68)

      $IEngineService_111d6d6d283#service ($IEngineService_111d6d6d283.java:-1)

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

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

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

      $WebRequestServicer_111d6d6d260#service ($WebRequestServicer_111d6d6d260.java:-1)

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

      $WebRequestServicerFilter_111d6d6d262#service ($WebRequestServicerFilter_111d6d6d262.java:-1)

      $WebRequestServicer_111d6d6d264#service ($WebRequestServicer_111d6d6d264.java:-1)

      $WebRequestServicer_111d6d6d25c#service ($WebRequestServicer_111d6d6d25c.java:-1)

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

      $ServletRequestServicer_111d6d6d23e#service ($ServletRequestServicer_111d6d6d23e.java:-1)

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

      $ServletRequestServicerFilter_111d6d6d23a#service ($ServletRequestServicerFilter_111d6d6d23a.java:-1)

      $ServletRequestServicer_111d6d6d240#service ($ServletRequestServicer_111d6d6d240.java:-1)

      collective.ui.custom.HibernateFilter#service (HibernateFilter.java:37)

      $ServletRequestServicerFilter_111d6d6d238#service ($ServletRequestServicerFilter_111d6d6d238.java:-1)

      $ServletRequestServicer_111d6d6d240#service ($ServletRequestServicer_111d6d6d240.java:-1)

      collective.ui.custom.LuceneIndexFilter#service (LuceneIndexFilter.java:24)

      $ServletRequestServicerFilter_111d6d6d236#service ($ServletRequestServicerFilter_111d6d6d236.java:-1)

      $ServletRequestServicer_111d6d6d240#service ($ServletRequestServicer_111d6d6d240.java:-1)

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

      $ServletRequestServicerFilter_111d6d6d234#service ($ServletRequestServicerFilter_111d6d6d234.java:-1)

      $ServletRequestServicer_111d6d6d240#service ($ServletRequestServicer_111d6d6d240.java:-1)

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

      $ServletRequestServicerFilter_111d6d6d23c#service ($ServletRequestServicerFilter_111d6d6d23c.java:-1)

      $ServletRequestServicer_111d6d6d240#service ($ServletRequestServicer_111d6d6d240.java:-1)

      $ServletRequestServicer_111d6d6d22d#service ($ServletRequestServicer_111d6d6d22d.java:-1)

      org.apache.tapestry.ApplicationServlet#doService (ApplicationServlet.java:123)

      collective.ui.CollectiveApplicationServlet#doService (CollectiveApplicationServlet.java:71)

      org.apache.tapestry.ApplicationServlet#doGet (ApplicationServlet.java:104)

      javax.servlet.http.HttpServlet#service (HttpServlet.java:743)

      javax.servlet.http.HttpServlet#service (HttpServlet.java:856)

      org.mortbay.jetty.servlet.ServletHolder#handle (ServletHolder.java:427)

      ... 15 more not displayed

      1. caused by java.lang.ArrayIndexOutOfBoundsException: 2

      ognl.ASTMethod#toGetSourceString (ASTMethod.java:226)

      ognl.ASTChain#toGetSourceString (ASTChain.java:271)

      org.apache.tapestry.services.impl.HiveMindExpressionCompiler#generateGetter (HiveMindExpressionCompiler.java:274)

      org.apache.tapestry.services.impl.HiveMindExpressionCompiler#compileExpression (HiveMindExpressionCompiler.java:138)

      ognl.OgnlRuntime#compileExpression (OgnlRuntime.java:388)

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

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

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

      $ExpressionCache_111d6d6d366#getCompiledExpression ($ExpressionCache_111d6d6d366.java:-1)

      org.apache.tapestry.binding.ExpressionBinding#resolveExpression (ExpressionBinding.java:120)

      org.apache.tapestry.binding.ExpressionBinding#getObject (ExpressionBinding.java:111)

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

      $Insert_48#getValue ($Insert_48.java:-1)

      org.apache.tapestry.components.Insert#renderComponent (Insert.java:48)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.AbstractComponent#renderBody (AbstractComponent.java:525)

      org.apache.tapestry.components.RenderBody#renderComponent (RenderBody.java:41)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.AbstractComponent#renderBody (AbstractComponent.java:525)

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

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.BaseComponent#renderComponent (BaseComponent.java:92)

      collective.ui.components.CollectiveComponent#renderComponent (CollectiveComponent.java:70)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.AbstractComponent#renderBody (AbstractComponent.java:525)

      org.apache.tapestry.components.RenderBody#renderComponent (RenderBody.java:41)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.AbstractComponent#renderBody (AbstractComponent.java:525)

      org.apache.tapestry.components.RenderBody#renderComponent (RenderBody.java:41)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.AbstractComponent#renderBody (AbstractComponent.java:525)

      org.apache.tapestry.components.RenderBody#renderComponent (RenderBody.java:41)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.BaseComponent#renderComponent (BaseComponent.java:92)

      collective.ui.components.CollectiveComponent#renderComponent (CollectiveComponent.java:70)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.AbstractComponent#renderBody (AbstractComponent.java:525)

      org.apache.tapestry.components.Any#renderComponent (Any.java:53)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.AbstractComponent#renderBody (AbstractComponent.java:525)

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

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.AbstractComponent#renderBody (AbstractComponent.java:525)

      org.apache.tapestry.html.Shell#renderComponent (Shell.java:64)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.BaseComponent#renderComponent (BaseComponent.java:92)

      collective.ui.components.CollectiveComponent#renderComponent (CollectiveComponent.java:70)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.AbstractComponent#renderBody (AbstractComponent.java:525)

      org.apache.tapestry.components.ElseBean#renderComponent (ElseBean.java:47)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.BaseComponent#renderComponent (BaseComponent.java:92)

      collective.ui.components.CollectiveComponent#renderComponent (CollectiveComponent.java:70)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

      org.apache.tapestry.BaseComponent#renderComponent (BaseComponent.java:92)

      org.apache.tapestry.AbstractComponent#render (AbstractComponent.java:712)

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

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

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

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

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

      $ResponseRenderer_111d6d6d1f3#renderResponse ($ResponseRenderer_111d6d6d1f3.java:-1)

      org.apache.tapestry.engine.PageService#service (PageService.java:68)

      $IEngineService_111d6d6d283#service ($IEngineService_111d6d6d283.java:-1)

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

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

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

      $WebRequestServicer_111d6d6d260#service ($WebRequestServicer_111d6d6d260.java:-1)

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

      $WebRequestServicerFilter_111d6d6d262#service ($WebRequestServicerFilter_111d6d6d262.java:-1)

      $WebRequestServicer_111d6d6d264#service ($WebRequestServicer_111d6d6d264.java:-1)

      $WebRequestServicer_111d6d6d25c#service ($WebRequestServicer_111d6d6d25c.java:-1)

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

      $ServletRequestServicer_111d6d6d23e#service ($ServletRequestServicer_111d6d6d23e.java:-1)

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

      $ServletRequestServicerFilter_111d6d6d23a#service ($ServletRequestServicerFilter_111d6d6d23a.java:-1)

      $ServletRequestServicer_111d6d6d240#service ($ServletRequestServicer_111d6d6d240.java:-1)

      collective.ui.custom.HibernateFilter#service (HibernateFilter.java:37)

      $ServletRequestServicerFilter_111d6d6d238#service ($ServletRequestServicerFilter_111d6d6d238.java:-1)

      $ServletRequestServicer_111d6d6d240#service ($ServletRequestServicer_111d6d6d240.java:-1)

      collective.ui.custom.LuceneIndexFilter#service (LuceneIndexFilter.java:24)

      $ServletRequestServicerFilter_111d6d6d236#service ($ServletRequestServicerFilter_111d6d6d236.java:-1)

      $ServletRequestServicer_111d6d6d240#service ($ServletRequestServicer_111d6d6d240.java:-1)

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

      $ServletRequestServicerFilter_111d6d6d234#service ($ServletRequestServicerFilter_111d6d6d234.java:-1)

      $ServletRequestServicer_111d6d6d240#service ($ServletRequestServicer_111d6d6d240.java:-1)

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

      $ServletRequestServicerFilter_111d6d6d23c#service ($ServletRequestServicerFilter_111d6d6d23c.java:-1)

      $ServletRequestServicer_111d6d6d240#service ($ServletRequestServicer_111d6d6d240.java:-1)

      $ServletRequestServicer_111d6d6d22d#service ($ServletRequestServicer_111d6d6d22d.java:-1)

      org.apache.tapestry.ApplicationServlet#doService (ApplicationServlet.java:123)

      collective.ui.CollectiveApplicationServlet#doService (CollectiveApplicationServlet.java:71)

      org.apache.tapestry.ApplicationServlet#doGet (ApplicationServlet.java:104)

      javax.servlet.http.HttpServlet#service (HttpServlet.java:743)

      javax.servlet.http.HttpServlet#service (HttpServlet.java:856)

      org.mortbay.jetty.servlet.ServletHolder#handle (ServletHolder.java:427)

      ... 15 more not displayed

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Jesse Kuhnert
            Reporter:
            Ben Dotte
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development