ICEfaces
  1. ICEfaces
  2. ICE-9447

ConcurrentModificationException in InputRichTextResourceHandler

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.0.0.GA_P01, EE-3.2.0.GA
    • Fix Version/s: EE-3.3.0.GA_P01, 4.0.BETA, 4.0
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      All
    • Assignee Priority:
      P1
    • Salesforce Case Reference:

      Description

      A customer has reported the following issue:

      "under high load we get a ConcurrentModificationException from InputRichTextResourceHandler.calculateMappings().

      The most probable reason for this is that the resource handler as a singleton gets called by the multi-threaded PreRenderViewEvent and thus has to synchronize the access to its variables (in this case allResources, but imageResources is dangerous as well)."
      1. stacktrace.txt
        6 kB
        Arran Mccullough

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #37247 Fri Jul 26 11:19:24 MDT 2013 art.zambrano ICE-9447 enclosed starting point of resource creation in a synchronized statement
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/inputrichtext/InputRichTextResourceHandler.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #37245 Fri Jul 26 10:41:06 MDT 2013 art.zambrano ICE-9447 removed build script to generate list of CKEditor resources
        Files Changed
        Commit graph DEL /icefaces3/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/inputrichtext/build.xml
        Commit graph MODIFY /icefaces3/trunk/icefaces/compat/components/build.xml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #37242 Fri Jul 26 10:34:51 MDT 2013 art.zambrano ICE-9447 applied fix ICE-8715, updated readme.txt
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/compat/components/src/main/resources/META-INF/resources/inputrichtext/readme.txt
        Commit graph MODIFY /icefaces3/trunk/icefaces/compat/components/src/main/resources/META-INF/resources/inputrichtext/ckeditor/ckeditor.mapping.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #37237 Fri Jul 26 09:52:42 MDT 2013 art.zambrano ICE-9447 added ststic ckeditor.mapping.js with resource expressions and modified CSS files to use resource expressions; modified resource handler to serve the static ckeditor.mapping.js resource, without having to calculate the mappings every time an application is deployed
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/compat/components/src/main/resources/META-INF/resources/inputrichtext/ckeditor/skins/v2/templates.css
        Commit graph MODIFY /icefaces3/trunk/icefaces/compat/components/src/main/resources/META-INF/resources/inputrichtext/ckeditor/skins/v2/dialog.css
        Commit graph ADD /icefaces3/trunk/icefaces/compat/components/src/main/resources/META-INF/resources/inputrichtext/ckeditor/ckeditor.mapping.js
        Commit graph MODIFY /icefaces3/trunk/icefaces/compat/components/src/main/resources/META-INF/resources/inputrichtext/ckeditor/skins/kama/editor.css
        Commit graph MODIFY /icefaces3/trunk/icefaces/compat/components/src/main/resources/META-INF/resources/inputrichtext/ckeditor/plugins/scayt/dialogs/toolbar.css
        Commit graph MODIFY /icefaces3/trunk/icefaces/compat/components/src/main/resources/META-INF/resources/inputrichtext/ckeditor/skins/kama/dialog.css
        Commit graph MODIFY /icefaces3/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/inputrichtext/InputRichTextResourceHandler.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/compat/components/src/main/resources/META-INF/resources/inputrichtext/ckeditor/contents.css
        Commit graph MODIFY /icefaces3/trunk/icefaces/compat/components/src/main/resources/META-INF/resources/inputrichtext/ckeditor/plugins/uicolor/yui/assets/yui.css
        Commit graph MODIFY /icefaces3/trunk/icefaces/compat/components/src/main/resources/META-INF/resources/inputrichtext/ckeditor/skins/kama/templates.css
        Commit graph MODIFY /icefaces3/trunk/icefaces/compat/components/src/main/resources/META-INF/resources/inputrichtext/ckeditor/plugins/wsc/dialogs/wsc.css
        Commit graph MODIFY /icefaces3/trunk/icefaces/compat/components/src/main/resources/META-INF/resources/inputrichtext/ckeditor/skins/v2/editor.css
        Commit graph MODIFY /icefaces3/trunk/icefaces/compat/components/src/main/resources/META-INF/resources/inputrichtext/ckeditor/skins/office2003/templates.css
        Commit graph MODIFY /icefaces3/trunk/icefaces/compat/components/src/main/resources/META-INF/resources/inputrichtext/ckeditor/skins/office2003/editor.css
        Commit graph MODIFY /icefaces3/trunk/icefaces/compat/components/src/main/resources/META-INF/resources/inputrichtext/ckeditor/skins/office2003/dialog.css

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: