3 Replies Latest reply on Jan 12, 2012 4:23 AM by Vadim Si

    Richfaces 4.1.0 final exception on ajax operation

    ravi j Newbie

      Hi,

       

      The following exception is thrown whenever an ajax operation is performed.

       

      SEVERE: Servlet.service() for servlet faces threw exception

      java.lang.NullPointerException

          at org.richfaces.component.UIDataAdaptor.<init>(UIDataAdaptor.java:226)

          at org.richfaces.component.UISequence.<init>(UISequence.java:52)

          at org.richfaces.component.UIRepeat.<init>(UIRepeat.java:38)

          at sun.reflect.GeneratedConstructorAccessor127.newInstance(Unknown Source)

          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

          at java.lang.reflect.Constructor.newInstance(Unknown Source)

          at java.lang.Class.newInstance0(Unknown Source)

          at java.lang.Class.newInstance(Unknown Source)

          at org.apache.myfaces.shared_impl.util.ClassUtils.newInstance(ClassUtils.java:362)

          at org.apache.myfaces.shared_impl.util.ClassUtils.newInstance(ClassUtils.java:327)

          at org.apache.myfaces.view.facelets.DefaultFaceletsStateManagementStrategy.internalRestoreTreeStructure(DefaultFaceletsStateManagementStrategy.java:979)

          at org.apache.myfaces.view.facelets.DefaultFaceletsStateManagementStrategy.internalRestoreTreeStructure(DefaultFaceletsStateManagementStrategy.java:989)

          at org.apache.myfaces.view.facelets.DefaultFaceletsStateManagementStrategy.restoreView(DefaultFaceletsStateManagementStrategy.java:162)

          at org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreView(JspStateManagerImpl.java:388)

          at org.apache.myfaces.shared_impl.view.ViewDeclarationLanguageBase.restoreView(ViewDeclarationLanguageBase.java:106)

          at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.restoreView(FaceletViewDeclarationLanguage.java:1440)

          at org.apache.myfaces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:278)

          at javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:83)

          at javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:83)

          at org.apache.myfaces.lifecycle.RestoreViewExecutor.execute(RestoreViewExecutor.java:123)

          at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:171)

          at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)

          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:189)

       

      is it configuratuion issue?

       

      Thanks

      Ravi