Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7778403
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T18:23:17+00:00 2026-06-01T18:23:17+00:00

I am getting IllegalStateException saying component ID form has already been found in the

  • 0

I am getting IllegalStateException saying component ID form has already been found in the view and am not sure what is causing this issue and I do not want this exception in the first place.

Exception

Servlet.service() for servlet Faces Servlet threw exception: java.lang.IllegalStateException:
Component ID form:_captureFileOnsubmit has already been found in the view.
at com.sun.faces.util.Util.checkIdUniqueness(Util.java:846) [:2.1.7-SNAPSHOT]
at com.sun.faces.util.Util.checkIdUniqueness(Util.java:830) [:2.1.7-SNAPSHOT]
at com.sun.faces.util.Util.checkIdUniqueness(Util.java:830) [:2.1.7-SNAPSHOT]
at com.sun.faces.application.view.StateManagementStrategyImpl.saveView(StateManagementStrategyImpl.java:135) [:2.1.7-SNAPSHOT]
at com.sun.faces.application.StateManagerImpl.saveView(StateManagerImpl.java:133) [:2.1.7-SNAPSHOT]
at com.sun.faces.application.view.WriteBehindStateWriter.flushToWriter(WriteBehindStateWriter.java:225) [:2.1.7-SNAPSHOT]
at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:419) [:2.1.7-SNAPSHOT]
at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:125) [:2.1.7-SNAPSHOT]
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121) [:2.1.7-SNAPSHOT]
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [:2.1.7-SNAPSHOT]
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) [:2.1.7-SNAPSHOT]
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594) [:2.1.7-SNAPSHOT]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:6.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]

My xhtml page looks like:

<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:icecore="http://www.icefaces.org/icefaces/core"   xmlns:ace="http://www.icefaces.org/icefaces/components"    xmlns:ice="http://www.icesoft.com/icefaces/component">
    <script type="text/javascript" src="/js/icefaces/ace-jquery.js" />
    <script type="text/javascript" src="/js/icefaces/ace-components.js" />
    <script type="text/javascript" src="/js/icefaces/icepush.js" />
    <script type="text/javascript" src="/js/icefaces/bridge.js" />
    <script type="text/javascript" src="/js/icefaces/compat.js" />
    <script type="text/javascript" src="/js/icefaces/fileEntry.js" />
    <script type="text/javascript" src="/js/icefaces/jsf.js" />
    <script type="text/javascript" src="/js/icefaces/icefaces-compat.js" />

    <h:head>
        <title>ICEfaces 3</title>
        <link rel="stylesheet" type="text/css" href="/xmlhttp/css/rime/rime.css"/>
    </h:head>
    <h:body>
             <h:form id="form">
                <h:outputText value="Welcome to ICEfaces 3, select current date: "/>
                <ace:dateTimeEntry renderAsPopup="true">
                    <f:convertDateTime pattern="MM/dd/yyyy" timeZone="Canada/Mountain"/>
                </ace:dateTimeEntry>
                <ace:fileEntry id = "fileUpload"
                               label="File Entry"
                               relativePath="uploaded"
                               fileEntryListener="#{fileUpload.uploadFile}"/>
             <h:commandButton value="Upload File" />
             </h:form>
    </h:body>
</html>

All am trying to do is just get fileUpload feature working, wierd part is that javascript and css stuffs present in javax.faces.resources folder is not referenced in the application and so there are some of wierd errors that i get.

Another thing to note is if I use eclipse with icefaces plugins then fileUplaod feature works fine but if i try to build them without plugins and with only standard set of required jars then i am getting componenet id related IllegalStateException.

Any thoughts, suggestinos?

Updates

<context-param>
    <param-name>javax.faces.FACELETS_SKIP_COMMENTS</param-name>
    <param-value>true</param-value>
</context-param>

<context-param>
<param-name>javax.faces.VALIDATE_EMPTY_FIELDS</param-name>
<param-value>false</param-value>
</context-param>

<context-param>
<param-name>com.icesoft.faces.concurrentDOMViews</param-name>
<param-value>false</param-value>
</context-param>

<context-param>
<param-name>com.icesoft.faces.synchronousUpdate</param-name>
<param-value>false</param-value>
</context-param>

<context-param>
<param-name>com.icesoft.faces.blockingRequestHandler</param-name>
<param-value>icefaces</param-value>
</context-param>

<context-param>
<param-name>com.icesoft.faces.checkJavaScript</param-name>
<param-value>false</param-value>
</context-param>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T18:23:19+00:00Added an answer on June 1, 2026 at 6:23 pm

    I get errors like this using mojarra when I have javax.faces.PROJECT_STAGE set to Development. If you have this set change it to Production and see if the errors go away.

    I though it was known bug but can’t find anything.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Getting this error with jquery & jquery.form. Site has been live for awhile..upgraded to
Getting a rendering error for this form: 'NoneType' object has no attribute 'widget' http://dpaste.com/88585/
So, I'm getting this error 11-15 16:55:40.617: E/AndroidRuntime(316): java.lang.IllegalStateException: Could not find a method
Getting an Exception in the BitmapFactory. Not sure what is the issue. (Well I
I'm getting this exception: Exception: java.lang.IllegalStateException: Can't copy a recycled bitmap My code is:
I getting the exception as * java.lang.IllegalStateException: The content of the adapter has changed
I am getting this exception in database Leak Found my LOGCAT Shows this: 02-17
Getting this error: 2009-09-03 12:44:02.307 xcodebuild[307:10b] warning: compiler 'com.apple.compilers.llvm.clang.1_0.analyzer' is based on missing compiler
I am getting nullpointerexception, don't know what actually is causing it. I read from
I'm running Java Server Faces on a IBM WebSphere 6.1. I'm getting this strange

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.