Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-2643

java.util.ConcurrentModificationException when using wizards in a REST service

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.1.1.Final
    • Fix Version/s: 3.2.0.Final
    • Component/s: Resources
    • Labels:
      None

      Description

      I've seen the following exception now and again in the fabric8-forge REST Service:

      Server Error</pre></p><h3>Caused by:</h3><pre>java.util.ConcurrentModificationException
      	at java.util.HashMap$HashIterator.nextNode(HashMap.java:1429)
      	at java.util.HashMap$KeyIterator.next(HashMap.java:1453)
      	at org.jboss.forge.addon.resource.ResourceFactoryImpl.create(ResourceFactoryImpl.java:45)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
      	at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
      	at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
      	at org.jboss.forge.addon.resource.ResourceFactoryImpl_$$_javassist_5a8210ff-9dbe-4b25-be73-1e4d730d8ab2.create(ResourceFactoryImpl_$$_javassist_5a8210ff-9dbe-4b25-be73-1e4d730d8ab2.java)
      	at org.jboss.forge.addon.projects.ui.NewProjectWizardImpl.configureTargetLocationInput(NewProjectWizardImpl.java:144)
      	at org.jboss.forge.addon.projects.ui.NewProjectWizardImpl.initializeUI(NewProjectWizardImpl.java:91)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
      	at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
      	at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
      	at org.jboss.forge.addon.projects.ui.NewProjectWizardImpl_$$_javassist_76bb4ebc-c6c6-4304-9eda-238bba180472.initializeUI(NewProjectWizardImpl_$$_javassist_76bb4ebc-c6c6-4304-9eda-238bba180472.java)
      	at org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.initialize(SingleCommandControllerImpl.java:62)
      	at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.initialize(WizardCommandControllerImpl.java:122)
      	at org.jboss.forge.addon.ui.impl.controller.NoUIWizardControllerDecorator.initialize(NoUIWizardControllerDecorator.java:42)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$2.call(ClassLoaderAdapterCallback.java:124)
      	at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
      	at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:97)
      	at org.jboss.forge.addon.ui.controller.CommandController_$$_javassist_3bcd5a22-6109-4013-941f-368413182d2d.initialize(CommandController_$$_javassist_3bcd5a22-6109-4013-941f-368413182d2d.java)
      	at io.fabric8.forge.rest.CommandsResource.createController(CommandsResource.java:554)
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                gastaldi George Gastaldi
                Reporter:
                jastrachan James Strachan
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: