Trails
  1. Trails
  2. TRAILS-162

filteredAssociation in HibernateEditors.HTML has no component in HibernateEditors.PAGE

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.2.0, 1.2.1
    • Fix Version/s: 1.2.0, 1.2.1
    • Component/s: None
    • Labels:
      None
    • Environment:
      XP Pro, apache-maven-2.0.8, eclipse-3.3.1.1, jre-1.5.0_14, ognl-2.7.3-SNAPSHOT, tapestry-4.1.6-SNAPSHOT , MySQL-5.0.45
    • Number of attachments :
      0

      Description

      filteredAssociation in HibernateEditors.HTML has no component in HibernateEditors.PAGE

      While QA'ing latest snapshot...

      received stack dump on roster demo )see below)

      I noticed no component in any page files for this component filteredSelect. Upon removing the definition in the HibernateEditors.HTML the problem went away... but not sure if this is the proper solution.

      Someone might want to double check what got checked in.

      Thanks

      An exception has occurred.

      You may continue by restarting the session.
      [ +/- ] Exception: Unable to read OGNL expression '<parsed OGNL expression>' of $PropertyEditor_41@12436d25[LeagueEdit/$ObjectForm.editProperties.$PropertyEditor]: block
      org.apache.tapestry.BindingException
      binding: ExpressionBinding[LeagueEdit/$ObjectForm.editProperties.$PropertyEditor block]
      location: Annotation @org.apache.tapestry.annotations.Component(inheritInformalParameters=false, type=, inheritedBindings=[], bindings=[block=ognl:block], id=, copyOf=) of public abstract org.apache.tapestry.components.RenderBlock org.trails.component.PropertyEditor.getRenderBlock()

      [ +/- ] Exception: Unable to read OGNL expression '<parsed OGNL expression>' of $PropertyEditor_41@12436d25[LeagueEdit/$ObjectForm.editProperties.$PropertyEditor]: block
      org.apache.hivemind.ApplicationRuntimeException
      component: $PropertyEditor_41@12436d25[LeagueEdit/$ObjectForm.editProperties.$PropertyEditor]
      location: classpath:/org/trails/component/RenderProperties.html, line 7
      2 <span jwcid="@For" source="ognl:propertyDescriptors" value="ognl:property">
      3 <span jwcid="hasBlock@If" condition="ognl:hasBlock(property.name)">
      4 <span jwcid="@RenderBlock" block="ognl:getBlock(property.name)"/>
      5 </span>
      6 <span jwcid="doesntHaveBlock@If" condition="ognl:not(hasBlock(property.name))">
      7 <span jwcid="@PropertyEditor" descriptor="ognl:property" model="ognl:model"/>
      8 </span>
      9 </span>
      10 </span>

      [ +/- ] Exception: block
      ognl.OgnlException

      [ +/- ] Exception: Component 'FilteredAssociationSelect' not found in Namespace@7c9625[trails].
      org.apache.hivemind.ApplicationRuntimeException
      location: classpath:/org/trails/page/HibernateEditors.html, line 113
      108
      109 <span jwcid="filteredAssociation@Block">
      110 <li><label class="desc" jwcid="@FieldLabel"
      111 field="component:filteredAssociationSelect"
      112 displayName="ognl:descriptor.displayName"/>
      113 <select jwcid="filteredAssociationSelect@FilteredAssociationSelect"
      114 value="ognl:modelthis.descriptor.name"
      115 propertyDescriptor="ognl:descriptor" class="select medium"
      116 onchange="ognl:getComponent('filteredAssociationSelect').onChangeJavascript">
      117 </select>
      118 </li>
      Stack Trace:

      • org.apache.tapestry.resolver.ComponentSpecificationResolverImpl.resolve(ComponentSpecificationResolverImpl.java:166)
      • $ComponentSpecificationResolver_11b9e75981e.resolve($ComponentSpecificationResolver_11b9e75981e.java)
      • $ComponentSpecificationResolver_11b9e75981f.resolve($ComponentSpecificationResolver_11b9e75981f.java)
      • org.apache.tapestry.services.impl.DefaultParserDelegate.getAllowBody(DefaultParserDelegate.java:70)
      • org.apache.tapestry.parse.TemplateParser.processComponentStart(TemplateParser.java:995)
      • org.apache.tapestry.parse.TemplateParser.startTag(TemplateParser.java:866)
      • org.apache.tapestry.parse.TemplateParser.parse(TemplateParser.java:515)
      • org.apache.tapestry.parse.TemplateParser.parse(TemplateParser.java:358)
      • $ITemplateParser_11b9e759879.parse($ITemplateParser_11b9e759879.java)
      • $ITemplateParser_11b9e75987a.parse($ITemplateParser_11b9e75987a.java)
      • org.apache.tapestry.services.impl.TemplateSourceImpl.constructTemplateInstance(TemplateSourceImpl.java:407)
      • org.apache.tapestry.services.impl.TemplateSourceImpl.parseTemplate(TemplateSourceImpl.java:384)
      • org.apache.tapestry.services.impl.TemplateSourceImpl.getOrParseTemplate(TemplateSourceImpl.java:361)
      • org.apache.tapestry.services.impl.TemplateSourceImpl.findStandardTemplate(TemplateSourceImpl.java:341)
      • org.apache.tapestry.services.impl.TemplateSourceImpl.findTemplate(TemplateSourceImpl.java:239)
      • org.apache.tapestry.services.impl.TemplateSourceImpl.getTemplate(TemplateSourceImpl.java:182)
      • $TemplateSource_11b9e7597a2.getTemplate($TemplateSource_11b9e7597a2.java)
      • org.apache.tapestry.services.impl.ComponentTemplateLoaderImpl.loadTemplate(ComponentTemplateLoaderImpl.java:56)
      • $ComponentTemplateLoader_11b9e759820.loadTemplate($ComponentTemplateLoader_11b9e759820.java)
      • org.apache.tapestry.pageload.PageLoader.loadTemplateForComponent(PageLoader.java:673)
      • org.apache.tapestry.BaseComponent.readTemplate(BaseComponent.java:92)
      • org.apache.tapestry.BaseComponent.finishLoad(BaseComponent.java:122)
      • $EditorBlockPage_46.finishLoad($EditorBlockPage_46.java)
      • org.apache.tapestry.pageload.PageLoader.constructComponent(PageLoader.java:408)
      • org.apache.tapestry.pageload.PageLoader.loadPage(PageLoader.java:639)
      • $IPageLoader_11b9e759816.loadPage($IPageLoader_11b9e759816.java)
      • $IPageLoader_11b9e759817.loadPage($IPageLoader_11b9e759817.java)
      • org.apache.tapestry.pageload.PageSource.makeObject(PageSource.java:152)
      • org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:797)
      • org.apache.tapestry.pageload.PageSource.getPage(PageSource.java:176)
      • $IPageSource_11b9e75976c.getPage($IPageSource_11b9e75976c.java)
      • org.apache.tapestry.engine.RequestCycle.loadPage(RequestCycle.java:241)
      • org.apache.tapestry.engine.RequestCycle.getPage(RequestCycle.java:228)
      • $IRequestCycle_11b9e759878.getPage($IRequestCycle_11b9e759878.java)
      • $IRequestCycle_11b9e759796.getPage($IRequestCycle_11b9e759796.java)
      • org.apache.tapestry.util.ComponentAddress.findComponent(ComponentAddress.java:100)
      • org.trails.component.PropertyEditor.getBlock(PropertyEditor.java:56)
      • sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      • sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      • sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      • java.lang.reflect.Method.invoke(Method.java:585)
      • ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:851)
      • ognl.OgnlRuntime.getMethodValue(OgnlRuntime.java:1414)
      • ognl.ObjectPropertyAccessor.getPossibleProperty(ObjectPropertyAccessor.java:60)
      • ognl.ObjectPropertyAccessor.getProperty(ObjectPropertyAccessor.java:147)
      • ognl.OgnlRuntime.getProperty(OgnlRuntime.java:2210)
      • ognl.ASTProperty.getValueBody(ASTProperty.java:114)
      • ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212)
      • ognl.SimpleNode.getValue(SimpleNode.java:258)
      • ognl.Ognl.getValue(Ognl.java:494)
      • ognl.Ognl.getValue(Ognl.java:458)
      • org.apache.tapestry.services.impl.ExpressionEvaluatorImpl.readCompiled(ExpressionEvaluatorImpl.java:123)
      • $ExpressionEvaluator_11b9e7598b8.readCompiled($ExpressionEvaluator_11b9e7598b8.java)
      • org.apache.tapestry.binding.ExpressionBinding.resolveExpression(ExpressionBinding.java:141)
      • org.apache.tapestry.binding.ExpressionBinding.getObject(ExpressionBinding.java:125)
      • org.apache.tapestry.binding.AbstractBinding.getObject(AbstractBinding.java:84)
      • $RenderBlock_7.getBlock($RenderBlock_7.java)
      • org.apache.tapestry.components.RenderBlock.renderComponent(RenderBlock.java:61)
      • org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:724)
      • org.trails.component.PropertyEditor.renderComponent(PropertyEditor.java:49)
      • org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:724)
      • org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:187)
      • org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:538)
      • org.apache.tapestry.components.IfBean.renderComponent(IfBean.java:94)
      • org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:724)
      • org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:187)
      • org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:538)
      • org.apache.tapestry.components.ForBean.renderComponent(ForBean.java:181)
      • org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:724)
      • org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:187)
      • org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:107)
      • org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:724)
      • org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:187)
      • org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:538)
      • org.apache.tapestry.components.IfBean.renderComponent(IfBean.java:94)
      • org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:724)
      • org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:187)
      • org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:538)
      • org.apache.tapestry.form.FormSupportImpl.render(FormSupportImpl.java:503)
      • org.apache.tapestry.form.Form.renderComponent(Form.java:217)
      • org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:724)
      • org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:187)
      • org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:107)
      • org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:724)
      • org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:187)
      • org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:538)
      • org.apache.tapestry.components.RenderBody.renderComponent(RenderBody.java:39)
      • org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:724)
      • org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:187)
      • org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:538)
      • org.apache.tapestry.html.Body.renderComponent(Body.java:38)
      • org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:724)
      • org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:187)
      • org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:538)
      • org.apache.tapestry.html.Shell.renderComponent(Shell.java:125)
      • org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:724)
      • org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:187)
      • org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:107)
      • org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:724)
      • org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:187)
      • org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:107)
      • org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:724)
      • org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:185)
      • org.apache.tapestry.AbstractPage.renderPage(AbstractPage.java:249)
      • org.apache.tapestry.engine.RequestCycle.renderPage(RequestCycle.java:400)
      • org.apache.tapestry.services.impl.DefaultResponseBuilder.renderResponse(DefaultResponseBuilder.java:159)
      • org.apache.tapestry.services.impl.ResponseRendererImpl.renderResponse(ResponseRendererImpl.java:33)
      • $ResponseRenderer_11b9e759788.renderResponse($ResponseRenderer_11b9e759788.java)
      • org.trails.engine.TrailsPagesService.service(TrailsPagesService.java:111)
      • $IEngineService_11b9e7597f9.service($IEngineService_11b9e7597f9.java)
      • org.apache.tapestry.services.impl.EngineServiceOuterProxy.service(EngineServiceOuterProxy.java:72)
      • org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:241)
      • org.apache.tapestry.services.impl.InvokeEngineTerminator.service(InvokeEngineTerminator.java:54)
      • $WebRequestServicer_11b9e7597d4.service($WebRequestServicer_11b9e7597d4.java)
      • $WebRequestServicer_11b9e7597d0.service($WebRequestServicer_11b9e7597d0.java)
      • org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service(WebRequestServicerPipelineBridge.java:61)
      • $ServletRequestServicer_11b9e7597b6.service($ServletRequestServicer_11b9e7597b6.java)
      • org.apache.tapestry.request.DecodedRequestInjector.service(DecodedRequestInjector.java:55)
      • $ServletRequestServicerFilter_11b9e7597b2.service($ServletRequestServicerFilter_11b9e7597b2.java)
      • $ServletRequestServicer_11b9e7597b8.service($ServletRequestServicer_11b9e7597b8.java)
      • org.apache.tapestry.multipart.MultipartDecoderFilter.service(MultipartDecoderFilter.java:52)
      • $ServletRequestServicerFilter_11b9e7597b0.service($ServletRequestServicerFilter_11b9e7597b0.java)
      • $ServletRequestServicer_11b9e7597b8.service($ServletRequestServicer_11b9e7597b8.java)
      • org.apache.tapestry.services.impl.SetupRequestEncoding.service(SetupRequestEncoding.java:53)
      • $ServletRequestServicerFilter_11b9e7597b4.service($ServletRequestServicerFilter_11b9e7597b4.java)
      • $ServletRequestServicer_11b9e7597b8.service($ServletRequestServicer_11b9e7597b8.java)
      • $ServletRequestServicer_11b9e7597a8.service($ServletRequestServicer_11b9e7597a8.java)
      • org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:126)
      • org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:103)
      • javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
      • javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      • org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:491)
      • org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1074)
      • org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
      • org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
      • org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065)
      • org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
      • org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
      • org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
      • org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
      • org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
      • org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
      • org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
      • org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
      • org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
      • org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
      • org.trails.security.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:152)
      • org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
      • org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:229)
      • org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
      • org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:286)
      • org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
      • org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
      • org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
      • org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065)
      • org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
      • org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:185)
      • org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      • org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:689)
      • org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:391)
      • org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:146)
      • org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      • org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
      • org.mortbay.jetty.Server.handle(Server.java:285)
      • org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:457)
      • org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:751)
      • org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:500)
      • org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209)
      • org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:357)
      • org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:329)
      • org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)

      [ +/- ] Request

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Kenneth William Colassi
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: