javax.faces.view.facelets.TagAttributeException: /main.xhtml @24,44 locale="#{pageBean.currentLocale}" Cant instantiate class: org.icefaces.tutorial.internationalization.beans.PageBean.

ICEsoft JIRA Issue Tracker | Carmen Cristurean | 3 years ago
  1. 0

    New tutorial failure: internationalization : an error occurs when loading tutorial main page. This is caused by Mojarra 2.2.6 JSF upgrade, test passes if reverting to Mojarra 2.2.4 JSF. Server log error: Apr 14, 2014 9:41:20 AM org.icefaces.impl.application.ExtendedExceptionHandler handle WARNING: queued exception javax.faces.view.facelets.TagAttributeException: /main.xhtml @24,44 locale="#{pageBean.currentLocale}" Cant instantiate class: org.icefaces.tutorial.internationalization.beans.PageBean. at com.sun.faces.facelets.tag.TagAttributeImpl.getObject(TagAttributeImpl.java:358) at com.sun.faces.facelets.tag.TagAttributeImpl.getObject(TagAttributeImpl.java:276) at com.sun.faces.facelets.tag.jsf.core.ViewHandler.apply(ViewHandler.java:211) at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93) at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87) at com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:161) at com.sun.faces.application.view.ViewMetadataImpl.createMetadataView(ViewMetadataImpl.java:116) at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:241) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:121) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:646) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302) at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:706) at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:677) at org.apache.jsp.index_jsp._jspService(index_jsp.java:62) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:662) Caused by: com.sun.faces.mgbean.ManagedBeanCreationException: Cant instantiate class: org.icefaces.tutorial.internationalization.beans.PageBean. at com.sun.faces.mgbean.BeanBuilder.newBeanInstance(BeanBuilder.java:191) at com.sun.faces.mgbean.BeanBuilder.build(BeanBuilder.java:100) at com.sun.faces.mgbean.BeanManager.createAndPush(BeanManager.java:409) at com.sun.faces.mgbean.BeanManager.create(BeanManager.java:269) at com.sun.faces.el.ManagedBeanELResolver.resolveBean(ManagedBeanELResolver.java:257) at com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:117) at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176) at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203) at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:68) at org.apache.el.parser.AstValue.getValue(AstValue.java:112) at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186) at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109) at com.sun.faces.facelets.tag.TagAttributeImpl.getObject(TagAttributeImpl.java:356) ... 38 more Caused by: java.lang.NullPointerException at org.icefaces.tutorial.internationalization.beans.PageBean.<init>(PageBean.java:36) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:357) at java.lang.Class.newInstance(Class.java:310) at com.sun.faces.mgbean.BeanBuilder.newBeanInstance(BeanBuilder.java:186) ... 50 more

    ICEsoft JIRA Issue Tracker | 3 years ago | Carmen Cristurean
    javax.faces.view.facelets.TagAttributeException: /main.xhtml @24,44 locale="#{pageBean.currentLocale}" Cant instantiate class: org.icefaces.tutorial.internationalization.beans.PageBean.
  2. 0

    New tutorial failure: internationalization : an error occurs when loading tutorial main page. This is caused by Mojarra 2.2.6 JSF upgrade, test passes if reverting to Mojarra 2.2.4 JSF. Server log error: Apr 14, 2014 9:41:20 AM org.icefaces.impl.application.ExtendedExceptionHandler handle WARNING: queued exception javax.faces.view.facelets.TagAttributeException: /main.xhtml @24,44 locale="#{pageBean.currentLocale}" Cant instantiate class: org.icefaces.tutorial.internationalization.beans.PageBean. at com.sun.faces.facelets.tag.TagAttributeImpl.getObject(TagAttributeImpl.java:358) at com.sun.faces.facelets.tag.TagAttributeImpl.getObject(TagAttributeImpl.java:276) at com.sun.faces.facelets.tag.jsf.core.ViewHandler.apply(ViewHandler.java:211) at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93) at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87) at com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:161) at com.sun.faces.application.view.ViewMetadataImpl.createMetadataView(ViewMetadataImpl.java:116) at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:241) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:121) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:646) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302) at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:706) at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:677) at org.apache.jsp.index_jsp._jspService(index_jsp.java:62) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:662) Caused by: com.sun.faces.mgbean.ManagedBeanCreationException: Cant instantiate class: org.icefaces.tutorial.internationalization.beans.PageBean. at com.sun.faces.mgbean.BeanBuilder.newBeanInstance(BeanBuilder.java:191) at com.sun.faces.mgbean.BeanBuilder.build(BeanBuilder.java:100) at com.sun.faces.mgbean.BeanManager.createAndPush(BeanManager.java:409) at com.sun.faces.mgbean.BeanManager.create(BeanManager.java:269) at com.sun.faces.el.ManagedBeanELResolver.resolveBean(ManagedBeanELResolver.java:257) at com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:117) at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176) at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203) at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:68) at org.apache.el.parser.AstValue.getValue(AstValue.java:112) at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186) at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109) at com.sun.faces.facelets.tag.TagAttributeImpl.getObject(TagAttributeImpl.java:356) ... 38 more Caused by: java.lang.NullPointerException at org.icefaces.tutorial.internationalization.beans.PageBean.<init>(PageBean.java:36) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:357) at java.lang.Class.newInstance(Class.java:310) at com.sun.faces.mgbean.BeanBuilder.newBeanInstance(BeanBuilder.java:186) ... 50 more

    ICEsoft JIRA Issue Tracker | 3 years ago | Carmen Cristurean
    javax.faces.view.facelets.TagAttributeException: /main.xhtml @24,44 locale="#{pageBean.currentLocale}" Cant instantiate class: org.icefaces.tutorial.internationalization.beans.PageBean.
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.icefaces.tutorial.internationalization.beans.PageBean.<init>()
    2. org.icefaces.tutorial
      PageBean.<init>
      1. org.icefaces.tutorial.internationalization.beans.PageBean.<init>(PageBean.java:36)
      1 frame
    3. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      5. java.lang.Class.newInstance0(Class.java:357)
      6. java.lang.Class.newInstance(Class.java:310)
      6 frames
    4. JSF
      DemuxCompositeELResolver.getValue
      1. com.sun.faces.mgbean.BeanBuilder.newBeanInstance(BeanBuilder.java:186)
      2. com.sun.faces.mgbean.BeanBuilder.build(BeanBuilder.java:100)
      3. com.sun.faces.mgbean.BeanManager.createAndPush(BeanManager.java:409)
      4. com.sun.faces.mgbean.BeanManager.create(BeanManager.java:269)
      5. com.sun.faces.el.ManagedBeanELResolver.resolveBean(ManagedBeanELResolver.java:257)
      6. com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:117)
      7. com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)
      8. com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)
      8 frames
    5. Pax Jsp
      ValueExpressionImpl.getValue
      1. org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:68)
      2. org.apache.el.parser.AstValue.getValue(AstValue.java:112)
      3. org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
      3 frames
    6. JSF
      LifecycleImpl.execute
      1. com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109)
      2. com.sun.faces.facelets.tag.TagAttributeImpl.getObject(TagAttributeImpl.java:356)
      3. com.sun.faces.facelets.tag.TagAttributeImpl.getObject(TagAttributeImpl.java:276)
      4. com.sun.faces.facelets.tag.jsf.core.ViewHandler.apply(ViewHandler.java:211)
      5. com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
      6. com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
      7. com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:161)
      8. com.sun.faces.application.view.ViewMetadataImpl.createMetadataView(ViewMetadataImpl.java:116)
      9. com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:241)
      10. com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
      11. com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:121)
      12. com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198)
      12 frames
    7. JavaEE 7
      FacesServlet.service
      1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:646)
      1 frame
    8. Glassfish Core
      ApplicationDispatcher.forward
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
      4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
      5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
      6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
      6 frames
    9. GWT dev
      PageContextImpl.forward
      1. org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:706)
      2. org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:677)
      2 frames
    10. org.apache.jsp
      index_jsp._jspService
      1. org.apache.jsp.index_jsp._jspService(index_jsp.java:62)
      1 frame
    11. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      1 frame
    12. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      1 frame
    13. GWT dev
      JspServlet.service
      1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
      2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
      3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
      3 frames
    14. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      1 frame
    15. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
      8 frames
    16. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      3 frames
    17. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame