Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-10388

autocomplete: incompatible with dataTable and extendedDataTable

    Details

      Description

      open any showcase sample with dataTable and replace one of the iteration outputs with autocomplete(pointing to var object property).
      Exception appears. But works fine outside table or in table with "some static value"

      javax.el.PropertyNotFoundException: /richfaces/extendedDataTable/samples/simpleTable-sample.xhtml @51,47 value="#

      {car.stock}

      ": Target Unreachable, identifier 'car' resolved to null
      at com.sun.faces.facelets.el.TagValueExpression.getType(TagValueExpression.java:97)
      at org.richfaces.el.GenericsIntrospectionServiceImpl.getContainerClass(GenericsIntrospectionServiceImpl.java:153)
      at org.richfaces.component.AbstractAutocomplete.getConverterForValue(AbstractAutocomplete.java:225)
      at org.richfaces.component.AbstractAutocomplete.getConverter(AbstractAutocomplete.java:204)
      at javax.faces.component.UIOutput.markInitialState(UIOutput.java:189)
      at javax.faces.component.UIInput.markInitialState(UIInput.java:614)
      at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:178)
      at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:114)
      at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:94)
      at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:131)
      at org.richfaces.view.facelets.html.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:55)
      at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:162)
      at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:114)
      at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:94)
      at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:131)
      at org.richfaces.view.facelets.html.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:55)
      at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:162)
      at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:114)
      at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:131)
      at org.richfaces.view.facelets.html.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:55)
      at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:162)
      at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:114)
      at com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:162)
      at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:89)
      at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:79)
      at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:304)
      at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:363)
      at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:342)
      at com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:196)
      at com.sun.faces.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java:104)
      at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:94)
      at com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:162)
      at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:89)
      at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:79)
      at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:304)
      at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:363)
      at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:342)
      at com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:196)
      at com.sun.faces.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java:104)
      at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:94)
      at com.sun.faces.facelets.tag.ui.DefineHandler.applyDefinition(DefineHandler.java:99)
      at com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:174)
      at com.sun.faces.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:392)
      at com.sun.faces.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:363)
      at com.sun.faces.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:104)
      at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:94)
      at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:131)
      at org.richfaces.view.facelets.html.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:55)
      at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:162)
      at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:114)
      at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:94)
      at com.sun.faces.facelets.tag.jsf.core.ViewHandler.apply(ViewHandler.java:156)
      at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:94)
      at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:89)
      at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:94)
      at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:79)
      at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:304)
      at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:363)
      at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:342)
      at com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:196)
      at com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:151)
      at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:89)
      at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:79)
      at com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:148)
      at com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:734)
      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:96)
      at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:135)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:309)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:108)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:558)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:379)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:259)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:237)
      at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:281)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                nbelaevski Nick Belaevski
                Reporter:
                ilya_shaikovsky Ilya Shaikovsky
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: