0 Replies Latest reply on Sep 7, 2007 4:51 PM by Stateless Bean

    org.jboss.seam.core.messages error

    Stateless Bean Novice

      Hi,
      Sometimes and in all cases, when i use my app my jboss throw this error:

      22:45:32,375 ERROR [STDERR] 2007-09-07 22:45:32 com.sun.facelets.FaceletViewHand
      ler handleRenderException
      SEVERE: Error Rendering View[/pages/Buildings.xhtml]
      javax.el.ELException: /pages/Buildings.xhtml: Cannot get value for expression '#{org.jboss.seam.core.messages}'
       at com.sun.facelets.compiler.TextInstruction.write(TextInstruction.java:
      48)
       at com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.j
      ava:39)
       at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(Re
      ndererUtils.java:433)
       at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChildren
      (RendererUtils.java:419)
       at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(Re
      ndererUtils.java:440)
       at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.r
      enderColumnBody(HtmlTableRendererBase.java:332)
       at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.e
      ncodeColumnChild(HtmlTableRendererBase.java:301)
       at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.e
      ncodeInnerHtml(HtmlTableRendererBase.java:277)
       at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.e
      ncodeChildren(HtmlTableRendererBase.java:123)
       at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.
      java:524)
       at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSu
      pport.java:244)
       at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSu
      pport.java:249)
       at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.jav
      a: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(Appl
      icationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
      lter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:173)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:178)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
      yAssociationValve.java:175)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
      e.java:74)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:105)
       at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConne
      ctionValve.java:156)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:107)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
      a:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
      :869)
       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
      rocessConnection(Http11BaseProtocol.java:664)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
      int.java:527)
       at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
      kerThread.java:112)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.NullPointerException
       at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassL
      oader.java:620)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
       at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryCl
      assLoader.java:464)
       at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassL
      oader.java:405)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
       at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
       at org.apache.myfaces.application.ApplicationImpl.getPropertyResolver(Ap
      plicationImpl.java:198)
       at org.jboss.seam.jsf.SeamApplication11.getPropertyResolver(SeamApplicat
      ion11.java:197)
       at org.apache.myfaces.el.ELParserHelper$MyPropertySuffix.evaluate(ELPars
      erHelper.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:69)
       at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1684)
       at org.jboss.seam.Component.getInstance(Component.java:1633)
       at org.jboss.seam.Component.getInstance(Component.java:1610)
       at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableR
      esolver.java:53)
       at org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable
      (LastVariableResolverInChain.java:42)
       at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyE
      LContext.java:134)
       at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:73)
       at com.sun.el.parser.AstValue.getValue(AstValue.java:114)
       at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:195)
      
       at com.sun.facelets.el.ELText$ELTextVariable.writeText(ELText.java:184)
       at com.sun.facelets.el.ELText$ELTextComposite.writeText(ELText.java:108)
      
       at com.sun.facelets.compiler.TextInstruction.write(TextInstruction.java:
      45)
       ... 39 more
      
      


      Can anybody help me, to fix it?