NullPointerException & LogEventException

Issue #185 resolved
Michael Hoefer created an issue

Started getting these recently, when switching git branches. FYI In my case, I have the .iml file in git, but not the full .idea folder. This doesn't seem to cause any actual trouble that I've yet to notice. Maybe it is corrupting something, but I don't yet feel any real pain.

2015-12-03 17:49:57,907 [106697873]   WARN - .IlluminatedCloudExceptionUtil -  
java.lang.NullPointerException
    at com.illuminatedcloud.intellij.builder.ForceComMetadataDeleter.delete(SourceFile:114)
    at com.illuminatedcloud.intellij.builder.ForceComBuilder.delete(SourceFile:2558)
    at com.illuminatedcloud.intellij.builder.ForceComBuilder$2$1.run(SourceFile:419)
    at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.a(LaterInvocator.java:337)
    at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:321)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:749)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:702)
    at java.awt.EventQueue$3.run(EventQueue.java:696)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:719)
    at com.intellij.ide.IdeEventQueue.f(IdeEventQueue.java:861)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:649)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:380)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
2015-12-03 17:49:58,045 [106698011]  ERROR - openapi.options.ConfigurableEP - Access is allowed from event dispatch thread only. 
com.intellij.diagnostic.LogEventException: Access is allowed from event dispatch thread only.
    at com.intellij.openapi.application.impl.ApplicationImpl.a(ApplicationImpl.java:1106)
    at com.intellij.openapi.application.impl.ApplicationImpl.f(ApplicationImpl.java:1090)
    at com.intellij.openapi.application.impl.ApplicationImpl.assertIsDispatchThread(ApplicationImpl.java:1082)
    at com.intellij.openapi.application.impl.LaterInvocator.getCurrentModalEntities(LaterInvocator.java:230)
    at com.intellij.openapi.application.impl.ApplicationImpl.getCurrentModalityState(ApplicationImpl.java:730)
    at com.intellij.openapi.application.ModalityState.current(ModalityState.java:69)
    at com.illuminatedcloud.intellij.settings.project.IlluminatedCloudProjectConfigurable.updateOfflineSymbolTableStatus(SourceFile:720)
    at com.illuminatedcloud.intellij.settings.project.IlluminatedCloudProjectConfigurable.setSelectedConnection(SourceFile:693)
    at com.illuminatedcloud.intellij.settings.project.IlluminatedCloudProjectConfigurable.handleConnectionsListChanged(SourceFile:462)
    at com.illuminatedcloud.intellij.settings.project.IlluminatedCloudProjectConfigurable.access$000(SourceFile:99)
    at com.illuminatedcloud.intellij.settings.project.IlluminatedCloudProjectConfigurable$1.valueChanged(SourceFile:167)
    at javax.swing.JList.fireSelectionValueChanged(JList.java:1796)
    at javax.swing.JList$ListSelectionHandler.valueChanged(JList.java:1810)
    at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184)
    at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:164)
    at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:211)
    at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:405)
    at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:415)
    at javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:459)
    at javax.swing.JList.setSelectedIndex(JList.java:2210)
    at com.illuminatedcloud.intellij.settings.project.IlluminatedCloudProjectConfigurable.<init>(SourceFile:194)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
    at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:193)
    at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:220)
    at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:53)
    at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:248)
    at com.intellij.util.pico.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:59)
    at com.intellij.openapi.extensions.AbstractExtensionPointBean.instantiate(AbstractExtensionPointBean.java:75)
    at com.intellij.openapi.options.ConfigurableEP$ClassProducer.createElement(ConfigurableEP.java:347)
    at com.intellij.openapi.options.ConfigurableEP.createConfigurable(ConfigurableEP.java:273)
    at com.intellij.openapi.options.ex.ConfigurableWrapper.a(ConfigurableWrapper.java:54)
    at com.intellij.openapi.options.ex.ConfigurableWrapper.getConfigurable(ConfigurableWrapper.java:119)
    at com.intellij.openapi.options.ex.ConfigurableWrapper.cast(ConfigurableWrapper.java:102)
    at com.intellij.openapi.options.ex.ConfigurableWrapper.getDisplayName(ConfigurableWrapper.java:140)
    at com.intellij.openapi.options.ex.Weighted$1.compare(Weighted.java:37)
    at com.intellij.openapi.options.ex.Weighted$1.compare(Weighted.java:29)
    at java.util.TimSort.binarySort(TimSort.java:292)
    at java.util.TimSort.sort(TimSort.java:217)
    at java.util.Arrays.sort(Arrays.java:1512)
    at java.util.ArrayList.sort(ArrayList.java:1454)
    at java.util.Collections.sort(Collections.java:175)
    at com.intellij.openapi.options.ex.SortedConfigurableGroup.buildConfigurables(SortedConfigurableGroup.java:53)
    at com.intellij.openapi.options.SearchableConfigurable$Parent$Abstract.getConfigurables(SearchableConfigurable.java:100)
    at com.intellij.ide.actions.SearchEverywhereAction.a(SearchEverywhereAction.java:2406)
    at com.intellij.ide.actions.SearchEverywhereAction.access$6700(SearchEverywhereAction.java:132)
    at com.intellij.ide.actions.SearchEverywhereAction$CalcThread.b(SearchEverywhereAction.java:2040)
    at com.intellij.ide.actions.SearchEverywhereAction$CalcThread.run(SearchEverywhereAction.java:1378)
    at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:365)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
    at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:55)

Comments (4)

  1. Scott Wells repo owner

    Thanks for the report, Michael. Looks like it's likely something minor. I'll take a look at it for the next update.

  2. Log in to comment