1 2 Previous Next 15 Replies Latest reply on Mar 4, 2007 2:51 PM by Juraj Holtak

    Classloading problem I think.

    Samuel Mendenhall Apprentice

      I am consistently getting long exceptions with the below as the root cause. I believe this is from a classloading conflict, do you guys have any hints whatsovever as to how to trouble shoot this? I'm puzzled, and the exception is not helpful.

      Caused by: java.lang.NullPointerException
       at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:620)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
       at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:464)
       at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
       at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
       at org.jboss.seam.jsf.SeamApplication11.getPropertyResolver(SeamApplication11.java:168)
       at org.apache.myfaces.el.ELParserHelper$MyPropertySuffix.evaluate(ELParserHelper.java:532)
       at org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:145)
       at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:383)
       ... 127 more
      



      lib dir listing:
      [root@localhost lib]# ll -R
      .:
      total 26924
      -rw-r--r-- 1 root root 1034049 Dec 8 14:27 ant.jar
      -rw-r--r-- 1 root root 9180 Dec 8 14:27 ant-launcher.jar
      -rw-r--r-- 1 root root 421008 Dec 8 14:27 ant-nodeps.jar
      -rw-r--r-- 1 root root 188671 Dec 8 14:27 commons-beanutils-1.7.0.jar
      -rw-r--r-- 1 root root 46725 Dec 8 14:27 commons-codec-1.3.jar
      -rw-r--r-- 1 root root 559366 Dec 8 14:27 commons-collections-3.1.jar
      -rw-r--r-- 1 root root 168446 Dec 8 14:27 commons-digester-1.6.jar
      -rw-r--r-- 1 root root 112341 Dec 8 14:27 commons-el-1.0.jar
      -rw-r--r-- 1 root root 23464 Dec 26 20:26 commons-email-1.0.jar
      -rw-r--r-- 1 root root 22379 Dec 12 10:35 commons-fileupload.jar
      -rw-r--r-- 1 root root 61562 Dec 12 10:36 commons-io-1.1.jar
      drwxr-xr-x 2 root root 4096 Dec 8 14:39 drools
      -rw-r--r-- 1 root root 24432 Dec 8 14:27 el-api.jar
      -rw-r--r-- 1 root root 97471 Dec 8 14:27 el-ri.jar
      -rw-r--r-- 1 root root 2574777 Dec 8 14:27 hibernate-all.jar
      -rw-r--r-- 1 root root 635956 Dec 8 14:27 hsqldb.jar
      -rw-r--r-- 1 root root 50493 Dec 8 14:27 javax.servlet.jsp.jar
      -rw-r--r-- 1 root root 672720 Dec 8 14:27 jboss-aop-jdk50.jar
      -rw-r--r-- 1 root root 658606 Dec 8 14:27 jboss-cache-jdk50.jar
      -rw-r--r-- 1 root root 8210655 Dec 8 14:27 jboss-ejb3-all.jar
      -rw-r--r-- 1 root root 5096 Dec 8 14:27 jboss-seam-debug.jar
      -rw-r--r-- 1 root root 627241 Dec 8 14:27 jboss-seam.jar
      -rw-r--r-- 1 root root 70801 Dec 8 14:27 jboss-seam-ui.jar
      -rw-r--r-- 1 root root 600277 Dec 8 14:27 jbpm-3.1.2.jar
      -rw-r--r-- 1 root root 1821443 Dec 8 14:27 jgroups.jar
      -rw-r--r-- 1 root root 291366 Dec 8 14:27 jsf-facelets.jar
      -rw-r--r-- 1 root root 16923 Dec 8 14:27 jstl-1.1.0.jar
      -rw-r--r-- 1 root root 33215 Dec 26 20:18 mailer.jar
      -rw-r--r-- 1 root root 783685 Dec 8 14:27 mailstuff.jar
      -rw-r--r-- 1 root root 249563 Dec 8 14:27 myfaces-api-1.1.4.jar
      -rw-r--r-- 1 root root 524089 Dec 8 14:27 myfaces-impl-1.1.4.jar
      -rw-r--r-- 1 root root 16878 Dec 8 14:27 portlet-api-lib.jar
      -rw-r--r-- 1 root root 1172 Dec 8 14:27 readme.txt
      -rw-r--r-- 1 root root 97523 Dec 8 14:27 servlet-api.jar
      -rw-r--r-- 1 root root 653510 Dec 8 14:27 testng-4.5.1-jdk15.jar
      -rw-r--r-- 1 root root 4717585 Dec 8 14:27 thirdparty-all.jar
      -rw-r--r-- 1 root root 1281201 Dec 12 10:35 tomahawk-1.1.3.jar
      
      ./drools:
      total 3172
      -rw-r--r-- 1 root root 443432 Dec 8 14:39 antlr-2.7.6.jar
      -rw-r--r-- 1 root root 546498 Dec 8 14:39 antlr-3.0ea8.jar
      -rw-r--r-- 1 root root 36846 Dec 8 14:39 commons-jci-core-1.0-406301.jar
      -rw-r--r-- 1 root root 10802 Dec 8 14:39 commons-jci-janino-2.4.3.jar
      -rw-r--r-- 1 root root 207723 Dec 8 14:39 commons-lang-2.1.jar
      -rw-r--r-- 1 root root 26202 Dec 8 14:39 commons-logging-api-1.0.4.jar
      -rw-r--r-- 1 root root 635207 Dec 8 14:39 drools-compiler-3.0.5.jar
      -rw-r--r-- 1 root root 550976 Dec 8 14:39 drools-core-3.0.5.jar
      -rw-r--r-- 1 root root 383546 Dec 8 14:39 janino-2.4.3.jar
      -rw-r--r-- 1 root root 358843 Dec 8 14:39 stringtemplate-2.3b6.jar
      


        • 1. Re: Classloading problem I think.
          Norman Richards Master

          There's no information here to work with. Please explain what you are doing. Is this one single Seam application or multiple seam applications? Are you running on JBoss? Is it a clean install with EJB3? What is the rest of the exception? There's usually quite a bit of information in there.

          • 2. Re: Classloading problem I think.
            Samuel Mendenhall Apprentice

            I apologize for the lack of information:

            The exception is reliable to reproduce, but seems to happen at random. It happened last when I executed 4 actions that interacted with drools workingMemory in the backend. It worked the first 3 actions and failed the 4th. However, previously, it worked the first 2 and failed the 3rd. Always with a very similar exception:

            javax.faces.el.EvaluationException: Cannot get value for expression '#{org.jboss.seam.core.facesMessages}'
             at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:402)
             at org.jboss.seam.core.Expressions$1.getValue(Expressions.java:51)
             at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1668)
             at org.jboss.seam.Component.getInstance(Component.java:1617)
             at org.jboss.seam.Component.getInstance(Component.java:1594)
             at org.jboss.seam.Component.getInstanceToInject(Component.java:1844)
             at org.jboss.seam.Component.injectFields(Component.java:1344)
             at org.jboss.seam.Component.inject(Component.java:1114)
             at org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:48)
             at sun.reflect.GeneratedMethodAccessor2964.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:597)
             at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
             at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
             at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
             at org.jboss.seam.interceptors.OutcomeInterceptor.interceptOutcome(OutcomeInterceptor.java:23)
             at sun.reflect.GeneratedMethodAccessor2963.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:597)
             at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
             at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
             at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
             at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:51)
             at sun.reflect.GeneratedMethodAccessor2962.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:597)
             at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
             at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
             at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
             at com.fi.apps.annotations.LoggedInInterceptor.checkLoggedIn(LoggedInInterceptor.java:35)
             at sun.reflect.GeneratedMethodAccessor2961.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:597)
             at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
             at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
             at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
             at org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:79)
             at sun.reflect.GeneratedMethodAccessor2960.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:597)
             at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
             at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
             at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
             at org.jboss.seam.interceptors.RollbackInterceptor.rollbackIfNecessary(RollbackInterceptor.java:33)
             at sun.reflect.GeneratedMethodAccessor2965.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:597)
             at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
             at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
             at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
             at org.jboss.seam.interceptors.TransactionInterceptor$1.work(TransactionInterceptor.java:25)
             at org.jboss.seam.util.Work.workInTransaction(Work.java:31)
             at org.jboss.seam.interceptors.TransactionInterceptor.doInTransactionIfNecessary(TransactionInterceptor.java:19)
             at sun.reflect.GeneratedMethodAccessor2968.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:597)
             at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
             at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
             at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
             at org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.java:38)
             at sun.reflect.GeneratedMethodAccessor2959.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:597)
             at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
             at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
             at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
             at org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java:144)
             at org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
             at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
             at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:140)
             at org.jboss.seam.intercept.JavaBeanInterceptor.intercept(JavaBeanInterceptor.java:75)
             at com.fi.apps.entity.purchasing.PurchaseHome$$EnhancerByCGLIB$$b034a118.getInstance(<generated>)
             at sun.reflect.GeneratedMethodAccessor2972.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:597)
             at org.apache.myfaces.el.PropertyResolverImpl.getProperty(PropertyResolverImpl.java:438)
             at org.apache.myfaces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:82)
             at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:141)
             at com.sun.el.parser.AstValue.getTarget(AstValue.java:81)
             at com.sun.el.parser.AstValue.setValue(AstValue.java:132)
             at com.sun.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:255)
             at com.sun.facelets.el.TagValueExpression.setValue(TagValueExpression.java:93)
             at com.sun.facelets.el.LegacyValueBinding.setValue(LegacyValueBinding.java:68)
             at javax.faces.component.UIInput.updateModel(UIInput.java:269)
             at javax.faces.component.UIInput.processUpdates(UIInput.java:206)
             at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:645)
             at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:645)
             at javax.faces.component.UIForm.processUpdates(UIForm.java:87)
             at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:645)
             at javax.faces.component.UIViewRoot.processUpdates(UIViewRoot.java:157)
             at org.apache.myfaces.lifecycle.LifecycleImpl.updateModelValues(LifecycleImpl.java:302)
             at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:81)
             at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
             at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
             at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
             at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
             at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
             at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
             at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
             at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
             at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
             at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
             at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
             at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
             at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
             at java.lang.Thread.run(Thread.java:619)
            Caused by: java.lang.NullPointerException
             at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:620)
             at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
             at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:464)
             at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
             at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
             at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
             at org.jboss.seam.jsf.SeamApplication11.getPropertyResolver(SeamApplication11.java:168)
             at org.apache.myfaces.el.ELParserHelper$MyPropertySuffix.evaluate(ELParserHelper.java:532)
             at org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:145)
             at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:383)
             ... 120 more
            





            However, I think I just fixed it, I removed the following from my PurchaseHome which extends EntityHome:

            @In(create = true)
            private FacesMessages facesMessages;
            


            which corresponded to the exception of containing:

            [#{org.jboss.seam.core.facesMessages}/code]
            
            and I haven't seen that exact exception again.


            • 3. Re: Classloading problem I think.
              Norman Richards Master

              Hmm... I wonder if there is something bigger going on here. The exception doesn't make sense for a simple component instantiation failure. Have you gotten any other insite into the issue?

              • 4. Re: Classloading problem I think.
                Samuel Mendenhall Apprentice

                Not at all, I commented out the Injecting of the FacesMessages and I haven't gotten the exception all day long, strange.

                btw, how do I add messages to the facesMessages in a Class that extends EntityHome, because there is no direct access to facesMessages in Home since it is private and not visible to subclasses.

                • 5. Re: Classloading problem I think.
                  Norman Richards Master

                  You'll have to inject it again in your subclass.

                  • 6. Re: Classloading problem I think.
                    Carsten Mjartan Newbie

                    We've got the same problem with our seam 1.1 project running on JBoss 4.0.5 (current jems 1.2 installer).

                    We get the following error:

                    javax.faces.el.EvaluationException: /view/manage/user_search.xhtml @118,174 value="#{messages[selectedObject.title]} #{selectObject.academicTitle}": Cannot get value for expression '#{org.jboss.seam.core.messages}'
                    at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:60)
                    at javax.faces.component.UICommand.getValue(UICommand.java:170)
                    at org.apache.myfaces.shared_impl.renderkit.html.HtmlLinkRendererBase.encodeBegin(HtmlLinkRendererBase.java:93)
                    at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:512)
                    at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:433)
                    at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChildren(RendererUtils.java:419)
                    at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:440)
                    at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.renderColumnBody(HtmlTableRendererBase.java:332)
                    at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.encodeColumnChild(HtmlTableRendererBase.java:301)
                    at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.encodeInnerHtml(HtmlTableRendererBase.java:277)
                    at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.encodeChildren(HtmlTableRendererBase.java:123)
                    at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:524)
                    at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:234)
                    at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
                    at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
                    at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:580)
                    at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:101)
                    at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:222)
                    at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
                    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                    at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                    at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                    at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                    at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:75)
                    at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:213)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
                    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
                    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
                    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
                    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
                    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                    at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
                    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
                    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
                    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
                    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
                    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
                    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
                    at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
                    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
                    at java.lang.Thread.run(Thread.java:595)
                    Caused by: java.lang.NullPointerException
                    at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:620)
                    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
                    at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:464)
                    at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
                    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
                    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
                    at org.jboss.seam.jsf.SeamApplication11.getPropertyResolver(SeamApplication11.java:168)
                    at org.apache.myfaces.el.ELParserHelper$MyPropertySuffix.evaluate(ELParserHelper.java:532)
                    at org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:145)
                    at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:383)
                    at org.jboss.seam.core.Expressions$1.getValue(Expressions.java:51)
                    at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1666)
                    at org.jboss.seam.Component.getInstance(Component.java:1615)
                    at org.jboss.seam.Component.getInstance(Component.java:1592)
                    at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:46)
                    at org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable(LastVariableResolverInChain.java:42)
                    at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134)
                    at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65)
                    at com.sun.el.parser.AstValue.getValue(AstValue.java:106)
                    at com.sun.el.parser.AstDeferredExpression.getValue(AstDeferredExpression.java:46)
                    at com.sun.el.parser.AstCompositeExpression.getValue(AstCompositeExpression.java:51)
                    at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
                    at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
                    at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56)
                    ... 54 more


                    The messages are injected using the following code:

                    @In(create = true)
                    protected Map<String, String> messages;

                    The error only occurs occasionally and can be reproduced by fast clicking through the pages for some time.

                    • 7. Re: Classloading problem I think.
                      Xiaoguang Sun Newbie

                       


                      We've got the same problem with our seam 1.1 project running on JBoss 4.0.5 (current jems 1.2 installer).

                      We get the following error:

                      javax.faces.el.EvaluationException: /view/manage/user_search.xhtml @118,174 value="#{messages[selectedObject.title]} #{selectObject.academicTitle}": Cannot get value for expression '#{org.jboss.seam.core.messages}'
                      at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:60)
                      at javax.faces.component.UICommand.getValue(UICommand.java:170)
                      at org.apache.myfaces.shared_impl.renderkit.html.HtmlLinkRendererBase.encodeBegin(HtmlLinkRendererBase.java:93)
                      at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:512)
                      at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:433)
                      at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChildren(RendererUtils.java:419)
                      at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:440)
                      at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.renderColumnBody(HtmlTableRendererBase.java:332)
                      at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.encodeColumnChild(HtmlTableRendererBase.java:301)
                      at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.encodeInnerHtml(HtmlTableRendererBase.java:277)
                      at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.encodeChildren(HtmlTableRendererBase.java:123)
                      at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:524)
                      at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:234)
                      at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
                      at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
                      at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:580)
                      at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:101)
                      at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:222)
                      at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
                      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                      at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                      at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                      at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                      at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:75)
                      at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:213)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
                      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
                      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
                      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
                      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
                      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                      at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
                      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
                      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
                      at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
                      at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
                      at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
                      at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
                      at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
                      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
                      at java.lang.Thread.run(Thread.java:595)
                      Caused by: java.lang.NullPointerException
                      at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:620)
                      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
                      at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:464)
                      at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
                      at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
                      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
                      at org.jboss.seam.jsf.SeamApplication11.getPropertyResolver(SeamApplication11.java:168)
                      at org.apache.myfaces.el.ELParserHelper$MyPropertySuffix.evaluate(ELParserHelper.java:532)
                      at org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:145)
                      at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:383)
                      at org.jboss.seam.core.Expressions$1.getValue(Expressions.java:51)
                      at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1666)
                      at org.jboss.seam.Component.getInstance(Component.java:1615)
                      at org.jboss.seam.Component.getInstance(Component.java:1592)
                      at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:46)
                      at org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable(LastVariableResolverInChain.java:42)
                      at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134)
                      at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65)
                      at com.sun.el.parser.AstValue.getValue(AstValue.java:106)
                      at com.sun.el.parser.AstDeferredExpression.getValue(AstDeferredExpression.java:46)
                      at com.sun.el.parser.AstCompositeExpression.getValue(AstCompositeExpression.java:51)
                      at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
                      at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
                      at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56)
                      ... 54 more


                      The messages are injected using the following code:

                      @In(create = true)
                      protected Map<String, String> messages;

                      The error only occurs occasionally and can be reproduced by fast clicking through the pages for some time.


                      Yes, I'm getting the same problems. Anybody has suggestion?

                      BTW: here is the log information that saying couldn't find component org.
                      2007-01-25 16:52:05,640 DEBUG [org.jboss.seam.Component] trying to inject with hierarchical context search: facesMessages
                      2007-01-25 16:52:05,640 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: org
                      2007-01-25 16:52:05,640 DEBUG [org.jboss.seam.Component] seam component not found: org
                      2007-01-25 16:52:05,640 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] could not resolve name
                      2007-01-25 16:52:05,640 DEBUG [org.jboss.seam.intercept.RootInterceptor] intercepted: entityRegistrar.PRE_DESTORY
                      2007-01-25 16:52:05,640 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preRemoveVariable.entityRegistrar
                      2007-01-25 16:52:05,640 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postRemoveVariable.entityRegistrar
                      2007-01-25 16:52:05,640 DEBUG [org.jboss.seam.interceptors.RemoveInterceptor] Stateful component was removed: entityRegistrar
                      2007-01-25 16:52:05,640 ERROR [org.jboss.seam.core.Exceptions] redirecting to debug page
                      javax.ejb.EJBException: javax.faces.el.EvaluationException: Cannot get value for expression '#{org.jboss.seam.core.facesMessages}'
                       at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69)
                       at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
                       at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
                       at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                      


                      • 8. Re: Classloading problem I think.
                        Xiaoguang Sun Newbie

                        Forgot to say. My problem is the same, this happens randomly. When I clicked button too fast it happens. Seems like some synchronization issues.

                        • 9. Re: Classloading problem I think.
                          Juraj Holtak Newbie

                          After 3 weeks with seam and my app getting bigger I realise the same problems.

                          Injection of components randomly fails. I still got no pattern, when this happens. Fast clicking seams somehow to force it, as somebody alredy mentioned.

                          The NPE occurs at exactly the same place as in this bug report. Maybe there is something common.
                          http://jira.jboss.com/jira/browse/JBAS-4052

                          Oh and it happened with Seam 1.1.5 and it happens with Seam 1.2PATCH1. I skipped 1.1.6.

                          • 10. Re: Classloading problem I think.
                            Juraj Holtak Newbie

                            forgot the mention that the proposed workaround in
                            http://jira.jboss.com/jira/browse/JBAS-4052

                            restart the server

                            seams to help me too, for some period of time...

                            but this is for sure a production NO GO! :-(

                            • 11. Re: Classloading problem I think.
                              Gavin King Master

                              In production you don't repeatedly restart the web deployment, so you never run out of perm gen space.

                              Did you *try* increasing perm gen?

                              • 12. Re: Classloading problem I think.
                                Juraj Holtak Newbie

                                This isn`t about PermGen Space in my opinion.

                                There is no PermGen.out.of.Space (or how it is called...) exception in the Stack.

                                I`m also permanently watching JBoss with JConsole and PermGen isn`t at half the limit I set it up.

                                • 13. Re: Classloading problem I think.
                                  Gavin King Master

                                  It is clearly not a problem inside Seam, so if you want to take it up in some appserver-related forum, please feel very welcome :-)

                                  • 14. Re: Classloading problem I think.
                                    Juraj Holtak Newbie

                                    Nobody says this is Seam`s fault, I just got bitten while using Seam and thats why I`m ranting here first.

                                    I expect that you don`t have this troubles on the servers where the Seam Example Apps run for the public. What is the magic behind that?

                                    The bug is in JBossAS JIRA and hopefully somebody will take care...

                                    Just to round things up...

                                    I`ve got the following exception when JConsole shows this for PermGen:
                                    Used: 
                                        69.751 kbytes
                                    Committed: 
                                       131.072 kbytes
                                    Max: 
                                       262.144 kbytes

                                    So I was currently at about 30% capacity of PermGen.

                                    02:40:00,926 ERROR [STDERR] 01.03.2007 02:40:00 com.sun.facelets.FaceletViewHandler handleRenderException
                                    SCHWERWIEGEND: Error Rendering View[/centerOps/viewCenter.xhtml]
                                    javax.faces.el.EvaluationException: /WEB-INF/include/tree.xhtml @12,212 rendered="#{treeAction.showTree}": Exception getting value of property showTree of base of type : org.jboss.seam.intercept.Proxy$$EnhancerByCGLIB$$9426a1
                                     at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:60)
                                     at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:1075)
                                     at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:241)
                                     at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
                                     at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
                                     at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
                                     at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
                                     at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:573)
                                     at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
                                     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
                                     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                                     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                                     at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
                                     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                                     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                                     at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
                                     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                                     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                                     at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
                                     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                                     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                                     at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                                     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                                     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                                     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
                                     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                                     at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
                                     at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
                                     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
                                     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                                     at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
                                     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
                                     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
                                     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
                                     at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
                                     at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                                     at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
                                     at java.lang.Thread.run(Thread.java:619)
                                    Caused by: javax.faces.el.EvaluationException: Bean: org.jboss.seam.intercept.Proxy$$EnhancerByCGLIB$$9426a1, property: showTree
                                     at org.apache.myfaces.el.PropertyResolverImpl.getProperty(PropertyResolverImpl.java:442)
                                     at org.apache.myfaces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:82)
                                     at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:141)
                                     at com.sun.el.parser.AstValue.getValue(AstValue.java:117)
                                     at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
                                     at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
                                     at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56)
                                     ... 37 more
                                    Caused by: java.lang.reflect.InvocationTargetException
                                     at sun.reflect.GeneratedMethodAccessor315.invoke(Unknown Source)
                                     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                                     at java.lang.reflect.Method.invoke(Method.java:597)
                                     at org.apache.myfaces.el.PropertyResolverImpl.getProperty(PropertyResolverImpl.java:438)
                                     ... 43 more
                                    Caused by: javax.ejb.EJBTransactionRolledbackException: javax.faces.el.EvaluationException: Cannot get value for expression '#{org.jboss.seam.core.sessionContext}'
                                     at org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:93)
                                     at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:130)
                                     at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
                                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                                     at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
                                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                                     at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:83)
                                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                                     at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
                                     at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:102)
                                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                                     at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
                                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                                     at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
                                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                                     at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:203)
                                     at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
                                     at $Proxy404.isShowTree(Unknown Source)
                                     at org.proaut.scrating.ejb3.local.TreeAction$$FastClassByCGLIB$$6e386aff.invoke(<generated>)
                                     at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
                                     at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:45)
                                     at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:74)
                                     at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:57)
                                     at org.jboss.seam.interceptors.RemoveInterceptor.aroundInvoke(RemoveInterceptor.java:40)
                                     at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
                                     at org.jboss.seam.interceptors.SynchronizationInterceptor.aroundInvoke(SynchronizationInterceptor.java:31)
                                     at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
                                     at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103)
                                     at org.jboss.seam.intercept.ClientSideInterceptor.intercept(ClientSideInterceptor.java:52)
                                     at org.jboss.seam.intercept.Proxy$$EnhancerByCGLIB$$9426a1.isShowTree(<generated>)
                                     ... 47 more
                                    Caused by: javax.faces.el.EvaluationException: Cannot get value for expression '#{org.jboss.seam.core.sessionContext}'
                                     at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:402)
                                     at org.jboss.seam.core.Expressions$1.getValue(Expressions.java:57)
                                     at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1652)
                                     at org.jboss.seam.Component.getInstance(Component.java:1601)
                                     at org.jboss.seam.Component.getInstance(Component.java:1578)
                                     at org.jboss.seam.Component.getValueToInject(Component.java:1853)
                                     at org.jboss.seam.Component.injectAttributes(Component.java:1336)
                                     at org.jboss.seam.Component.inject(Component.java:1163)
                                     at org.jboss.s
                                    02:40:00,938 ERROR [STDERR] eam.interceptors.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46)
                                     at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
                                     at org.jboss.seam.interceptors.BusinessProcessInterceptor.aroundInvoke(BusinessProcessInterceptor.java:51)
                                     at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
                                     at org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:27)
                                     at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
                                     at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103)
                                     at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:53)
                                     at sun.reflect.GeneratedMethodAccessor309.invoke(Unknown Source)
                                     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                                     at java.lang.reflect.Method.invoke(Method.java:597)
                                     at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
                                     at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
                                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                                     at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57)
                                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                                     at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
                                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                                     at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:46)
                                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                                     at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
                                     ... 75 more
                                    Caused by: java.lang.NullPointerException
                                     at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:620)
                                     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
                                     at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:464)
                                     at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
                                     at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
                                     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
                                     at org.jboss.seam.jsf.SeamApplication11.getPropertyResolver(SeamApplication11.java:170)
                                     at org.apache.myfaces.el.ELParserHelper$MyPropertySuffix.evaluate(ELParserHelper.java:532)
                                     at org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:145)
                                     at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:383)
                                     ... 103 more
                                    


                                    1 2 Previous Next