ICEfaces
  1. ICEfaces
  2. ICE-8790

Duplicate icefaces.jar component already found in view

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 4.0
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces
    • Assignee Priority:
      P2

      Description


      If duplicate ICEfaces .jar files are present (such as accidentally including icefaces.jar and icefaces-ee.jar in the same project) and Exception similar to the following may be seen:


      java.lang.IllegalStateException: Component ID v77c3044-retrieve-update has already been found in the view.
      at com.sun.faces.util.Util.checkIdUniqueness(Util.java:846)
      at com.sun.faces.util.Util.checkIdUniqueness(Util.java:830)
      at com.sun.faces.application.view.StateManagementStrategyImpl.saveView(StateManagementStrategyImpl.java:144)
      at com.sun.faces.application.StateManagerImpl.saveView(StateManagerImpl.java:133)
      at com.sun.faces.application.view.WriteBehindStateWriter.flushToWriter(WriteBehindStateWriter.java:225)
      at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:419)
      at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)
      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121)
      at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)


        Issue Links

          Activity

          Hide
          Ted Goddard added a comment - - edited

          ICEfaces should detect this condition and warn against it by throwing a fatal Exception that clearly states the source of the problem. The source of the problem is with duplicate system event listeners running.

          Show
          Ted Goddard added a comment - - edited ICEfaces should detect this condition and warn against it by throwing a fatal Exception that clearly states the source of the problem. The source of the problem is with duplicate system event listeners running.
          Hide
          Mircea Toma added a comment -

          Introduced system event listener that detects duplicate loading of icefaces.jar.

          Show
          Mircea Toma added a comment - Introduced system event listener that detects duplicate loading of icefaces.jar.

            People

            • Assignee:
              Mircea Toma
              Reporter:
              Ted Goddard
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: