https://bz.apache.org/bugzilla/show_bug.cgi?id=62231
Bug ID: 62231
Summary: java.lang.IllegalStateException: Component ID
main:j_idt56 has already been found in the view
Product: Tomcat 7
Version: 7.0.82
Hardware: PC
Status: NEW
Severity: critical
Priority: P2
Component: Servlet & JSP API
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Hi,
We are migrating the application from IBM WAS8.5.2 to Tomcat 7. We have used
javax.faces-2.1.7 to compile and run the JSF pages in the current project. The
issue related to the state saving in session scope. The dynamic ID which
generating and append to the form id is not refreshing by which causing the
below error. Could you please help us to resolve this issue and it is urgent
because of this Application paused to move for Go Live.
HTTP Status 500 - Component ID main:j_idt56 has already been found in the view.
type Exception report
message Component ID main:j_idt56 has already been found in the view.
description The server encountered an internal error that prevented it from
fulfilling this request.
exception
javax.servlet.ServletException: Component ID main:j_idt56 has already been
found in the view.
javax.faces.webapp.FacesServlet.service(FacesServlet.java:606)
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:349)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
com.aig.pad.servlet.PADFilterServlet.doFilter(PADFilterServlet.java:51)
root cause
java.lang.IllegalStateException: Component ID main:j_idt56 has already been
found in the view.
com.sun.faces.util.Util.checkIdUniqueness(Util.java:836)
com.sun.faces.util.Util.checkIdUniqueness(Util.java:820)
com.sun.faces.util.Util.checkIdUniqueness(Util.java:820)
com.sun.faces.application.view.FaceletPartialStateManagementStrategy.saveView(FaceletPartialStateManagementStrategy.java:461)
com.sun.faces.application.StateManagerImpl.saveView(StateManagerImpl.java:89)
com.sun.faces.application.view.WriteBehindStateWriter.flushToWriter(WriteBehindStateWriter.java:225)
com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:456)
com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:124)
javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:286)
org.apache.myfaces.tomahawk.application.ResourceViewHandlerWrapper.renderView(ResourceViewHandlerWrapper.java:93)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:349)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
com.aig.pad.servlet.PADFilterServlet.doFilter(PADFilterServlet.java:51)
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]