You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2018/03/29 13:22:20 UTC
[Bug 62231] New: java.lang.IllegalStateException: Component ID
main:j_idt56 has already been found in the view
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: dev@tomcat.apache.org
Reporter: rambabu.pappala@accenture.com
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 62231] java.lang.IllegalStateException: Component ID
main:j_idt56 has already been found in the view
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62231
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|NEW |RESOLVED
--- Comment #3 from Mark Thomas <ma...@apache.org> ---
Bugzilla is not a support forum. Especially when the issue does not appear to
be Tomcat related.
It looks like you need to ask your question on the MyFaces users mailing list.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 62231] java.lang.IllegalStateException: Component ID
main:j_idt56 has already been found in the view
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62231
Christopher Schultz <ch...@christopherschultz.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS| |All
--- Comment #1 from Christopher Schultz <ch...@christopherschultz.net> ---
This seems like a problem with JSF, not with Tomcat.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 62231] java.lang.IllegalStateException: Component ID
main:j_idt56 has already been found in the view
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62231
--- Comment #2 from Rambabu Pappala <ra...@accenture.com> ---
(In reply to Christopher Schultz from comment #1)
> This seems like a problem with JSF, not with Tomcat.
Thanks for getting back. Can you please elaborate, which can be possible issue
with JSF. Is this related to JSF jar used for compile and run?
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org