Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

javax.servlet.ServletException: Argument Error: Parameter viewId is null  RSS feed

 
Jaik Singh
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hello All,
This is one Pop Up Application. I am able to get the landing page of the application. But when I click on the link of the application, it gets failed with the below error.

I am using the RichFaces4.0/4.1, JSF 2.0 and JBoss 5.1 and 6.0.

Error: -
======


javax.servlet.ServletException: Argument Error: Parameter viewId is null
javax.faces.webapp.FacesServlet.service(FacesServlet.java:321)


root cause

java.lang.NullPointerException: Argument Error: Parameter viewId is null
com.sun.faces.util.Util.notNull(Util.java:305)
com.sun.faces.application.view.MultiViewHandler.getActionURL(MultiViewHandler.java:272)
org.ajax4jsf.framework.ViewHandlerWrapper.getActionURL(ViewHandlerWrapper.java:92)
javax.faces.application.ViewHandlerWrapper.getActionURL(ViewHandlerWrapper.java:166)
org.ajax4jsf.framework.ViewHandlerWrapper.getActionURL(ViewHandlerWrapper.java:92)
com.sun.faces.renderkit.html_basic.FormRenderer.getActionStr(FormRenderer.java:230)
com.sun.faces.renderkit.html_basic.FormRenderer.encodeBegin(FormRenderer.java:133)
javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:824)
javax.faces.component.UIComponent.encodeAll(UIComponent.java:1641)
javax.faces.component.UIComponent.encodeAll(UIComponent.java:1646)
com.sun.faces.application.view.JspViewHandlingStrategy.doRenderView(JspViewHandlingStrategy.java:427)
com.sun.faces.application.view.JspViewHandlingStrategy.renderView(JspViewHandlingStrategy.java:229)
com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:127)
org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:233)
javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:269)
org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:233)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:117)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:135)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:309


The same is working with RichFaces3.3 and JBoss5.1

Any Idea, please post.

Thanks and Regards
Jaikrat Singh
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!