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

          Migration created issue -
          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.
          Migration made changes -
          Field Original Value New Value
          Reporter Migration [ remote ] Ted Goddard [ ted.goddard ]
          Ted Goddard made changes -
          Fix Version/s 3.3 [ 10370 ]
          Ted Goddard made changes -
          Assignee Ken Fyten [ ken.fyten ]
          Ken Fyten made changes -
          Fix Version/s 3.4 [ 10770 ]
          Fix Version/s 3.3 [ 10370 ]
          Ken Fyten made changes -
          Assignee Ken Fyten [ ken.fyten ] Mircea Toma [ mircea.toma ]
          Fix Version/s 4.0 [ 11382 ]
          Fix Version/s 4.0.BETA [ 10770 ]
          Assignee Priority P2 [ 10011 ]
          Mircea Toma made changes -
          Link This issue is duplicated by ICE-9595 [ ICE-9595 ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #40860 Tue Apr 22 18:29:20 MDT 2014 mircea.toma ICE-8790 Introduce system event listener that detects duplicate loading of icefaces.jar.
          Files Changed
          Commit graph ADD /icefaces4/trunk/icefaces/core/src/main/java/org/icefaces/impl/event/CheckDuplicateJars.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/resources/META-INF/faces-config.xml
          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.
          Mircea Toma made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: