4 Replies Latest reply on May 14, 2010 1:35 PM by Alexander Nemsadze

    Random\nondeterministic "Could not instantiate Seam component" messages

    Matthew Lueck Newbie

      I have random errors with:
      Could not instantiate Seam component


      Traced to the setEJBQL() of an EntityQuery method.  The error disappears on a subsequent click, but I can't seem to find why this is happening.  I am using seam 2.1.1 and JBoss Developer Studio 2.0.0.GA with Jboss 4.2.3.  Does anyone have an idea how to remedy these random errors?  I don't seem to have a repeatable pattern either.  They also occur randomly in a production environment when my App is deployed as a WAR.  Here is the full stack trace:




      Caused by org.jboss.seam.InstantiationException with message: "Could not instantiate Seam component: externalListingList"
      
      org.jboss.seam.Component.newInstance(Component.java:2144)
      org.jboss.seam.Component.getInstance(Component.java:2021)
      org.jboss.seam.Component.getInstance(Component.java:1983)
      org.jboss.seam.Component.getInstance(Component.java:1977)
      org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55)
      org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50)
      org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:147)
      org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:51)
      javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
      com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
      org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44)
      org.jboss.el.parser.AstValue.getValue(AstValue.java:63)
      org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
      org.jboss.seam.core.Expressions$1.getValue(Expressions.java:112)
      org.jboss.seam.navigation.Param.getStringValueFromModel(Param.java:139)
      org.jboss.seam.navigation.Pages.getStringValuesFromModel(Pages.java:748)
      org.jboss.seam.ui.component.UISeamCommandBase.getUrl(UISeamCommandBase.java:62)
      org.jboss.seam.ui.renderkit.ButtonRendererBase.getOnClick(ButtonRendererBase.java:37)
      org.jboss.seam.ui.renderkit.ButtonRendererBase.doEncodeBegin(ButtonRendererBase.java:66)
      org.jboss.seam.ui.util.cdk.RendererBase.encodeBegin(RendererBase.java:79)
      javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:813)
      org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:280)
      org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:262)
      org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:284)
      org.richfaces.renderkit.AbstractRowsRenderer.encodeCellChildren(AbstractRowsRenderer.java:285)
      org.richfaces.renderkit.AbstractTableRenderer.encodeOneRow(AbstractTableRenderer.java:371)
      org.richfaces.renderkit.AbstractRowsRenderer.process(AbstractRowsRenderer.java:86)
      org.ajax4jsf.model.SequenceDataModel.walk(SequenceDataModel.java:101)
      org.ajax4jsf.component.UIDataAdaptor.walk(UIDataAdaptor.java:1151)
      org.richfaces.renderkit.AbstractRowsRenderer.encodeRows(AbstractRowsRenderer.java:106)
      org.richfaces.renderkit.AbstractRowsRenderer.encodeRows(AbstractRowsRenderer.java:91)
      org.richfaces.renderkit.AbstractTableRenderer.encodeTBody(AbstractTableRenderer.java:76)
      org.richfaces.renderkit.AbstractTableRenderer.encodeChildren(AbstractTableRenderer.java:83)
      javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
      org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:282)
      org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:262)
      org.richfaces.renderkit.html.PanelRenderer.doEncodeChildren(PanelRenderer.java:220)
      org.richfaces.renderkit.html.PanelRenderer.doEncodeChildren(PanelRenderer.java:215)
      org.ajax4jsf.renderkit.RendererBase.encodeChildren(RendererBase.java:121)
      javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
      javax.faces.component.UIComponent.encodeAll(UIComponent.java:936)
      javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
      com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592)
      org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
      org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
      com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109)
      com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
      com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
      org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
      org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
      org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
      org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
      org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
      org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
      org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:390)
      org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:517)
      org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
      org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
      org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)
      org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
      org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
      org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437)
      org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:366)
      org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      java.lang.Thread.run(Thread.java:595)






        • 1. Re: Random\nondeterministic "Could not instantiate Seam component" messages
          Matthew Lueck Newbie

          More stack trace:


          Caused by java.lang.reflect.InvocationTargetException with message: ""
          
          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)
          javassist.util.proxy.RuntimeSupport$DefaultMethodHandler.invoke(RuntimeSupport.java:37)
          org.vp.uhp.session.ExternalListingList_$$_javassist_seam_27.setEjbql(ExternalListingList_$$_javassist_seam_27.java)
          org.vp.uhp.session.ExternalListingList.<init>(ExternalListingList.java:31)
          org.vp.uhp.session.ExternalListingList_$$_javassist_seam_27.<init>(ExternalListingList_$$_javassist_seam_27.java)
          sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
          sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
          sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
          java.lang.reflect.Constructor.newInstance(Constructor.java:494)
          java.lang.Class.newInstance0(Class.java:350)
          java.lang.Class.newInstance(Class.java:303)
          org.jboss.seam.Component.wrap(Component.java:1504)
          org.jboss.seam.Component.instantiateJavaBean(Component.java:1442)
          org.jboss.seam.Component.instantiate(Component.java:1359)
          org.jboss.seam.Component.newInstance(Component.java:2122)
          org.jboss.seam.Component.getInstance(Component.java:2021)
          org.jboss.seam.Component.getInstance(Component.java:1983)
          org.jboss.seam.Component.getInstance(Component.java:1977)
          org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55)
          org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50)
          org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:147)
          org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:51)
          javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
          com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
          org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44)
          org.jboss.el.parser.AstValue.getValue(AstValue.java:63)
          org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
          org.jboss.seam.core.Expressions$1.getValue(Expressions.java:112)
          org.jboss.seam.navigation.Param.getStringValueFromModel(Param.java:139)
          org.jboss.seam.navigation.Pages.getStringValuesFromModel(Pages.java:748)
          org.jboss.seam.ui.component.UISeamCommandBase.getUrl(UISeamCommandBase.java:62)
          org.jboss.seam.ui.renderkit.ButtonRendererBase.getOnClick(ButtonRendererBase.java:37)
          org.jboss.seam.ui.renderkit.ButtonRendererBase.doEncodeBegin(ButtonRendererBase.java:66)
          org.jboss.seam.ui.util.cdk.RendererBase.encodeBegin(RendererBase.java:79)
          javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:813)
          org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:280)
          org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:262)
          org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:284)
          org.richfaces.renderkit.AbstractRowsRenderer.encodeCellChildren(AbstractRowsRenderer.java:285)
          org.richfaces.renderkit.AbstractTableRenderer.encodeOneRow(AbstractTableRenderer.java:371)
          org.richfaces.renderkit.AbstractRowsRenderer.process(AbstractRowsRenderer.java:86)
          org.ajax4jsf.model.SequenceDataModel.walk(SequenceDataModel.java:101)
          org.ajax4jsf.component.UIDataAdaptor.walk(UIDataAdaptor.java:1151)
          org.richfaces.renderkit.AbstractRowsRenderer.encodeRows(AbstractRowsRenderer.java:106)
          org.richfaces.renderkit.AbstractRowsRenderer.encodeRows(AbstractRowsRenderer.java:91)
          org.richfaces.renderkit.AbstractTableRenderer.encodeTBody(AbstractTableRenderer.java:76)
          org.richfaces.renderkit.AbstractTableRenderer.encodeChildren(AbstractTableRenderer.java:83)
          javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
          org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:282)
          org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:262)
          org.richfaces.renderkit.html.PanelRenderer.doEncodeChildren(PanelRenderer.java:220)
          org.richfaces.renderkit.html.PanelRenderer.doEncodeChildren(PanelRenderer.java:215)
          org.ajax4jsf.renderkit.RendererBase.encodeChildren(RendererBase.java:121)
          javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
          javax.faces.component.UIComponent.encodeAll(UIComponent.java:936)
          javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
          com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592)
          org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
          org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
          com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109)
          com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
          com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
          javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
          org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
          org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
          org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
          org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
          org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
          org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
          org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
          org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
          org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
          org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
          org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
          org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
          org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:390)
          org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:517)
          org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
          org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
          org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
          org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
          org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)
          org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
          org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
          org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
          org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
          org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
          org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
          org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
          org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
          org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
          org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
          org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
          org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
          org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
          org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437)
          org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:366)
          org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
          java.lang.Thread.run(Thread.java:595)
          
          Caused by java.lang.reflect.InvocationTargetException with message: ""
          
          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)
          javassist.util.proxy.RuntimeSupport$DefaultMethodHandler.invoke(RuntimeSupport.java:37)
          org.vp.uhp.session.ExternalListingList_$$_javassist_seam_27.refresh(ExternalListingList_$$_javassist_seam_27.java)
          org.jboss.seam.framework.Query.setEjbql(Query.java:341)
          org.vp.uhp.session.ExternalListingList_$$_javassist_seam_27._d48setEjbql(ExternalListingList_$$_javassist_seam_27.java)
          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)
          javassist.util.proxy.RuntimeSupport$DefaultMethodHandler.invoke(RuntimeSupport.java:37)
          org.vp.uhp.session.ExternalListingList_$$_javassist_seam_27.setEjbql(ExternalListingList_$$_javassist_seam_27.java)
          org.vp.uhp.session.ExternalListingList.<init>(ExternalListingList.java:31)
          org.vp.uhp.session.ExternalListingList_$$_javassist_seam_27.<init>(ExternalListingList_$$_javassist_seam_27.java)
          sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
          sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
          sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
          java.lang.reflect.Constructor.newInstance(Constructor.java:494)
          java.lang.Class.newInstance0(Class.java:350)
          java.lang.Class.newInstance(Class.java:303)
          org.jboss.seam.Component.wrap(Component.java:1504)
          org.jboss.seam.Component.instantiateJavaBean(Component.java:1442)
          org.jboss.seam.Component.instantiate(Component.java:1359)
          org.jboss.seam.Component.newInstance(Component.java:2122)
          org.jboss.seam.Component.getInstance(Component.java:2021)
          org.jboss.seam.Component.getInstance(Component.java:1983)
          org.jboss.seam.Component.getInstance(Component.java:1977)
          org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55)
          org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50)
          org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:147)
          org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:51)
          javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
          com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
          org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44)
          org.jboss.el.parser.AstValue.getValue(AstValue.java:63)
          org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
          org.jboss.seam.core.Expressions$1.getValue(Expressions.java:112)
          org.jboss.seam.navigation.Param.getStringValueFromModel(Param.java:139)
          org.jboss.seam.navigation.Pages.getStringValuesFromModel(Pages.java:748)
          org.jboss.seam.ui.component.UISeamCommandBase.getUrl(UISeamCommandBase.java:62)
          org.jboss.seam.ui.renderkit.ButtonRendererBase.getOnClick(ButtonRendererBase.java:37)
          org.jboss.seam.ui.renderkit.ButtonRendererBase.doEncodeBegin(ButtonRendererBase.java:66)
          org.jboss.seam.ui.util.cdk.RendererBase.encodeBegin(RendererBase.java:79)
          javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:813)
          org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:280)
          org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:262)
          org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:284)
          org.richfaces.renderkit.AbstractRowsRenderer.encodeCellChildren(AbstractRowsRenderer.java:285)
          org.richfaces.renderkit.AbstractTableRenderer.encodeOneRow(AbstractTableRenderer.java:371)
          org.richfaces.renderkit.AbstractRowsRenderer.process(AbstractRowsRenderer.java:86)
          org.ajax4jsf.model.SequenceDataModel.walk(SequenceDataModel.java:101)
          org.ajax4jsf.component.UIDataAdaptor.walk(UIDataAdaptor.java:1151)
          org.richfaces.renderkit.AbstractRowsRenderer.encodeRows(AbstractRowsRenderer.java:106)
          org.richfaces.renderkit.AbstractRowsRenderer.encodeRows(AbstractRowsRenderer.java:91)
          org.richfaces.renderkit.AbstractTableRenderer.encodeTBody(AbstractTableRenderer.java:76)
          org.richfaces.renderkit.AbstractTableRenderer.encodeChildren(AbstractTableRenderer.java:83)
          javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
          org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:282)
          org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:262)
          org.richfaces.renderkit.html.PanelRenderer.doEncodeChildren(PanelRenderer.java:220)
          org.richfaces.renderkit.html.PanelRenderer.doEncodeChildren(PanelRenderer.java:215)
          org.ajax4jsf.renderkit.RendererBase.encodeChildren(RendererBase.java:121)
          javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
          javax.faces.component.UIComponent.encodeAll(UIComponent.java:936)
          javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
          com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592)
          org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
          org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
          com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109)
          com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
          com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
          javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
          org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
          org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
          org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
          org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
          org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
          org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
          org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
          org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
          org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
          org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
          org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
          org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
          org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:390)
          org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:517)
          org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
          org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
          org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
          org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
          org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)
          org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
          org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
          org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
          org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
          org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
          org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
          org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
          org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
          org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
          org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
          org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
          org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
          org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
          org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437)
          org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:366)
          org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
          java.lang.Thread.run(Thread.java:595)
          
          Caused by java.lang.NullPointerException with message: ""
          
          javassist.util.proxy.RuntimeSupport$DefaultMethodHandler.invoke(RuntimeSupport.java:37)
          org.vp.uhp.session.ExternalListingList_$$_javassist_seam_27.clearDataModel(ExternalListingList_$$_javassist_seam_27.java)
          org.jboss.seam.framework.Query.refresh(Query.java:115)
          org.jboss.seam.framework.EntityQuery.refresh(EntityQuery.java:151)
          org.vp.uhp.session.ExternalListingList_$$_javassist_seam_27._d91refresh(ExternalListingList_$$_javassist_seam_27.java)
          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)
          javassist.util.proxy.RuntimeSupport$DefaultMethodHandler.invoke(RuntimeSupport.java:37)
          org.vp.uhp.session.ExternalListingList_$$_javassist_seam_27.refresh(ExternalListingList_$$_javassist_seam_27.java)
          org.jboss.seam.framework.Query.setEjbql(Query.java:341)
          org.vp.uhp.session.ExternalListingList_$$_javassist_seam_27._d48setEjbql(ExternalListingList_$$_javassist_seam_27.java)
          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)
          javassist.util.proxy.RuntimeSupport$DefaultMethodHandler.invoke(RuntimeSupport.java:37)
          org.vp.uhp.session.ExternalListingList_$$_javassist_seam_27.setEjbql(ExternalListingList_$$_javassist_seam_27.java)
          org.vp.uhp.session.ExternalListingList.<init>(ExternalListingList.java:31)
          org.vp.uhp.session.ExternalListingList_$$_javassist_seam_27.<init>(ExternalListingList_$$_javassist_seam_27.java)
          sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
          sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
          sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
          java.lang.reflect.Constructor.newInstance(Constructor.java:494)
          java.lang.Class.newInstance0(Class.java:350)
          java.lang.Class.newInstance(Class.java:303)
          org.jboss.seam.Component.wrap(Component.java:1504)
          org.jboss.seam.Component.instantiateJavaBean(Component.java:1442)
          org.jboss.seam.Component.instantiate(Component.java:1359)
          org.jboss.seam.Component.newInstance(Component.java:2122)
          org.jboss.seam.Component.getInstance(Component.java:2021)
          org.jboss.seam.Component.getInstance(Component.java:1983)
          org.jboss.seam.Component.getInstance(Component.java:1977)
          org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55)
          org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50)
          org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:147)
          org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:51)
          javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
          com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
          org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44)
          org.jboss.el.parser.AstValue.getValue(AstValue.java:63)
          org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
          org.jboss.seam.core.Expressions$1.getValue(Expressions.java:112)
          org.jboss.seam.navigation.Param.getStringValueFromModel(Param.java:139)
          org.jboss.seam.navigation.Pages.getStringValuesFromModel(Pages.java:748)
          org.jboss.seam.ui.component.UISeamCommandBase.getUrl(UISeamCommandBase.java:62)
          org.jboss.seam.ui.renderkit.ButtonRendererBase.getOnClick(ButtonRendererBase.java:37)
          org.jboss.seam.ui.renderkit.ButtonRendererBase.doEncodeBegin(ButtonRendererBase.java:66)
          org.jboss.seam.ui.util.cdk.RendererBase.encodeBegin(RendererBase.java:79)
          javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:813)
          org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:280)
          org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:262)
          org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:284)
          org.richfaces.renderkit.AbstractRowsRenderer.encodeCellChildren(AbstractRowsRenderer.java:285)
          org.richfaces.renderkit.AbstractTableRenderer.encodeOneRow(AbstractTableRenderer.java:371)
          org.richfaces.renderkit.AbstractRowsRenderer.process(AbstractRowsRenderer.java:86)
          org.ajax4jsf.model.SequenceDataModel.walk(SequenceDataModel.java:101)
          org.ajax4jsf.component.UIDataAdaptor.walk(UIDataAdaptor.java:1151)
          org.richfaces.renderkit.AbstractRowsRenderer.encodeRows(AbstractRowsRenderer.java:106)
          org.richfaces.renderkit.AbstractRowsRenderer.encodeRows(AbstractRowsRenderer.java:91)
          org.richfaces.renderkit.AbstractTableRenderer.encodeTBody(AbstractTableRenderer.java:76)
          org.richfaces.renderkit.AbstractTableRenderer.encodeChildren(AbstractTableRenderer.java:83)
          javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
          org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:282)
          org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:262)
          org.richfaces.renderkit.html.PanelRenderer.doEncodeChildren(PanelRenderer.java:220)
          org.richfaces.renderkit.html.PanelRenderer.doEncodeChildren(PanelRenderer.java:215)
          org.ajax4jsf.renderkit.RendererBase.encodeChildren(RendererBase.java:121)
          javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
          javax.faces.component.UIComponent.encodeAll(UIComponent.java:936)
          javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
          com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592)
          org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
          org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
          com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109)
          com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
          com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
          javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
          org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
          org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
          org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
          org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
          org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
          org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
          org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
          org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
          org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
          org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
          org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
          org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
          org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:390)
          org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:517)
          org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
          org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
          org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
          org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
          org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)
          org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
          org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
          org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
          org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
          org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
          org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
          org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
          org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
          org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
          org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
          org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
          org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
          org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
          org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437)
          org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:366)
          org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
          java.lang.Thread.run(Thread.java:595)



          • 3. Re: Random\nondeterministic "Could not instantiate Seam component" messages
            Matthew Lueck Newbie

            Could this have something to do with JBDS?  Is there another setup parameter I could be missing? 

            • 4. Re: Random\nondeterministic "Could not instantiate Seam component" messages
              Alexander Nemsadze Newbie

              I am also stuck with this problem and still not found any solution, exception happens very rarely and doesn't has any straightforward reproduce steps. Mostly this exception is thrown on first page load after AS start.


              It is interesting if anyone has got any idea why this happens?