java.util.ConcurrentModificationException

Appcelerator JIRA | Daniel Fortner | 3 years ago
  1. 0

    After encountering an error during the SDK configuration process (screenshot4.png) I was unable to cancel the studio process "Installing/Updating a Mobile SDK" (screenshot1.png). Even after waiting 5 minutes it did not cancel and needed a Studio restart to resolve. I spoke to [~mxia] about the issue and the reason you need to cancel the studio process is because after the update error in the SDK tool occurs, the only option you have is to "hide". Previously that button would have been "configure". Attached the studio and diagnostic logs. Let me know if I need to clarify. {code} !ENTRY com.appcelerator.titanium.update.core 4 2 2014-01-15 14:30:51.435 !MESSAGE Problems occurred when invoking code from plug-in: "com.appcelerator.titanium.update.core". !STACK 0 java.util.ConcurrentModificationException at java.util.LinkedHashMap$LinkedHashIterator.remove(LinkedHashMap.java:364) at com.appcelerator.titanium.update.core.TitaniumSDKUpdater.fireUpdateCompletedEvent(TitaniumSDKUpdater.java:795) at com.appcelerator.titanium.update.core.TitaniumSDKUpdater.access$1(TitaniumSDKUpdater.java:787) at com.appcelerator.titanium.update.core.TitaniumSDKUpdater$5.done(TitaniumSDKUpdater.java:875) at org.eclipse.core.internal.jobs.JobListeners$3.notify(JobListeners.java:39) at org.eclipse.core.internal.jobs.JobListeners.doNotify(JobListeners.java:112) at org.eclipse.core.internal.jobs.JobListeners.done(JobListeners.java:152) at org.eclipse.core.internal.jobs.JobManager.endJob(JobManager.java:647) at org.eclipse.core.internal.jobs.WorkerPool.endJob(WorkerPool.java:105) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:70) !ENTRY org.eclipse.ui 4 0 2014-01-15 15:07:34.376 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.NullPointerException at org.eclipse.jface.fieldassist.ControlDecoration.addControlListeners(ControlDecoration.java:602) at org.eclipse.jface.fieldassist.ControlDecoration.<init>(ControlDecoration.java:476) at org.eclipse.jface.fieldassist.ControlDecoration.<init>(ControlDecoration.java:428) at com.appcelerator.titanium.ui.mobile.BasePlatformConfigurationComposite.setError(BasePlatformConfigurationComposite.java:949) at com.appcelerator.titanium.ui.mobile.BasePlatformConfigurationComposite.validate(BasePlatformConfigurationComposite.java:924) at com.appcelerator.titanium.ui.mobile.BasePlatformConfigurationComposite$1.widgetSelected(BasePlatformConfigurationComposite.java:228) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4166) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1474) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4012) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3651) at org.eclipse.jface.window.Window.runEventLoop(Window.java:826) at org.eclipse.jface.window.Window.open(Window.java:802) at com.appcelerator.titanium.ui.wizard.PlatformsConfigurationHandlerUtil.openWizard(PlatformsConfigurationHandlerUtil.java:50) at com.appcelerator.titanium.ui.wizard.PlatformsConfigurationHandlerUtil.openWizard(PlatformsConfigurationHandlerUtil.java:79) at com.appcelerator.titanium.ui.portal.processor.MobileSDKConfigurationProcessor$1.run(MobileSDKConfigurationProcessor.java:126) {code}

    Appcelerator JIRA | 3 years ago | Daniel Fortner
    java.util.ConcurrentModificationException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    After encountering an error during the SDK configuration process (screenshot4.png) I was unable to cancel the studio process "Installing/Updating a Mobile SDK" (screenshot1.png). Even after waiting 5 minutes it did not cancel and needed a Studio restart to resolve. I spoke to [~mxia] about the issue and the reason you need to cancel the studio process is because after the update error in the SDK tool occurs, the only option you have is to "hide". Previously that button would have been "configure". Attached the studio and diagnostic logs. Let me know if I need to clarify. {code} !ENTRY com.appcelerator.titanium.update.core 4 2 2014-01-15 14:30:51.435 !MESSAGE Problems occurred when invoking code from plug-in: "com.appcelerator.titanium.update.core". !STACK 0 java.util.ConcurrentModificationException at java.util.LinkedHashMap$LinkedHashIterator.remove(LinkedHashMap.java:364) at com.appcelerator.titanium.update.core.TitaniumSDKUpdater.fireUpdateCompletedEvent(TitaniumSDKUpdater.java:795) at com.appcelerator.titanium.update.core.TitaniumSDKUpdater.access$1(TitaniumSDKUpdater.java:787) at com.appcelerator.titanium.update.core.TitaniumSDKUpdater$5.done(TitaniumSDKUpdater.java:875) at org.eclipse.core.internal.jobs.JobListeners$3.notify(JobListeners.java:39) at org.eclipse.core.internal.jobs.JobListeners.doNotify(JobListeners.java:112) at org.eclipse.core.internal.jobs.JobListeners.done(JobListeners.java:152) at org.eclipse.core.internal.jobs.JobManager.endJob(JobManager.java:647) at org.eclipse.core.internal.jobs.WorkerPool.endJob(WorkerPool.java:105) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:70) !ENTRY org.eclipse.ui 4 0 2014-01-15 15:07:34.376 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.NullPointerException at org.eclipse.jface.fieldassist.ControlDecoration.addControlListeners(ControlDecoration.java:602) at org.eclipse.jface.fieldassist.ControlDecoration.<init>(ControlDecoration.java:476) at org.eclipse.jface.fieldassist.ControlDecoration.<init>(ControlDecoration.java:428) at com.appcelerator.titanium.ui.mobile.BasePlatformConfigurationComposite.setError(BasePlatformConfigurationComposite.java:949) at com.appcelerator.titanium.ui.mobile.BasePlatformConfigurationComposite.validate(BasePlatformConfigurationComposite.java:924) at com.appcelerator.titanium.ui.mobile.BasePlatformConfigurationComposite$1.widgetSelected(BasePlatformConfigurationComposite.java:228) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4166) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1474) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4012) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3651) at org.eclipse.jface.window.Window.runEventLoop(Window.java:826) at org.eclipse.jface.window.Window.open(Window.java:802) at com.appcelerator.titanium.ui.wizard.PlatformsConfigurationHandlerUtil.openWizard(PlatformsConfigurationHandlerUtil.java:50) at com.appcelerator.titanium.ui.wizard.PlatformsConfigurationHandlerUtil.openWizard(PlatformsConfigurationHandlerUtil.java:79) at com.appcelerator.titanium.ui.portal.processor.MobileSDKConfigurationProcessor$1.run(MobileSDKConfigurationProcessor.java:126) {code}

    Appcelerator JIRA | 3 years ago | Daniel Fortner
    java.util.ConcurrentModificationException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.util.ConcurrentModificationException

      No message provided

      at java.util.LinkedHashMap$LinkedHashIterator.remove()
    2. Java RT
      LinkedHashMap$LinkedHashIterator.remove
      1. java.util.LinkedHashMap$LinkedHashIterator.remove(LinkedHashMap.java:364)
      1 frame
    3. com.appcelerator.titanium
      TitaniumSDKUpdater$5.done
      1. com.appcelerator.titanium.update.core.TitaniumSDKUpdater.fireUpdateCompletedEvent(TitaniumSDKUpdater.java:795)
      2. com.appcelerator.titanium.update.core.TitaniumSDKUpdater.access$1(TitaniumSDKUpdater.java:787)
      3. com.appcelerator.titanium.update.core.TitaniumSDKUpdater$5.done(TitaniumSDKUpdater.java:875)
      3 frames
    4. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.JobListeners$3.notify(JobListeners.java:39)
      2. org.eclipse.core.internal.jobs.JobListeners.doNotify(JobListeners.java:112)
      3. org.eclipse.core.internal.jobs.JobListeners.done(JobListeners.java:152)
      4. org.eclipse.core.internal.jobs.JobManager.endJob(JobManager.java:647)
      5. org.eclipse.core.internal.jobs.WorkerPool.endJob(WorkerPool.java:105)
      6. org.eclipse.core.internal.jobs.Worker.run(Worker.java:70)
      6 frames