Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPE when starting Intellij 12 #32

Closed
jm-g opened this issue Mar 11, 2013 · 2 comments
Closed

NPE when starting Intellij 12 #32

jm-g opened this issue Mar 11, 2013 · 2 comments
Labels

Comments

@jm-g
Copy link

jm-g commented Mar 11, 2013

I've just started Intellij. A rather large was loaded automatically. And then the following exception occurred:

null
java.lang.NullPointerException
at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:881)
at org.sonar.ide.intellij.utils.SonarCache$Cache.finishRefresh(SonarCache.java:146)
at org.sonar.ide.intellij.utils.SonarCache$Cache.access$300(SonarCache.java:73)
at org.sonar.ide.intellij.utils.SonarCache$Cache$1.doneRefresh(SonarCache.java:134)
at org.sonar.ide.intellij.worker.RefreshSonarFileWorker.notifyListeners(RefreshSonarFileWorker.java:45)
at org.sonar.ide.intellij.worker.RefreshSourceWorker.done(RefreshSourceWorker.java:27)
at javax.swing.SwingWorker$5.run(SwingWorker.java:717)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:814)
at sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:95)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:824)
at javax.swing.Timer.fireActionPerformed(Timer.java:291)
at javax.swing.Timer$DoPostEvent.run(Timer.java:221)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at com.intellij.ui.mac.foundation.MacUtil.startModal(MacUtil.java:78)
at com.intellij.ui.mac.foundation.MacUtil.startModal(MacUtil.java:104)
at com.intellij.ui.mac.MacMessagesImpl$5.fun(MacMessagesImpl.java:458)
at com.intellij.ui.mac.MacMessagesImpl$5.fun(MacMessagesImpl.java:414)
at com.intellij.ui.mac.MacMessagesImpl.a(MacMessagesImpl.java:403)
at com.intellij.ui.mac.MacMessagesImpl.showAlertDialog(MacMessagesImpl.java:414)
at com.intellij.ui.mac.MacMessagesImpl.showMessageDialog(MacMessagesImpl.java:550)
at com.intellij.ui.mac.MacMessagesImpl.showYesNoDialog(MacMessagesImpl.java:220)
at com.intellij.openapi.ui.Messages.showYesNoDialog(Messages.java:269)
at com.intellij.openapi.roots.impl.LanguageLevelProjectExtensionImpl$1.run(LanguageLevelProjectExtensionImpl.java:125)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:333)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at com.intellij.ui.mac.foundation.MacUtil.startModal(MacUtil.java:78)
at com.intellij.ui.mac.foundation.MacUtil.startModal(MacUtil.java:104)
at com.intellij.ui.mac.MacMessagesImpl$5.fun(MacMessagesImpl.java:458)
at com.intellij.ui.mac.MacMessagesImpl$5.fun(MacMessagesImpl.java:414)
at com.intellij.ui.mac.MacMessagesImpl.a(MacMessagesImpl.java:403)
at com.intellij.ui.mac.MacMessagesImpl.showAlertDialog(MacMessagesImpl.java:414)
at com.intellij.ui.mac.MacMessagesImpl.showMessageDialog(MacMessagesImpl.java:550)
at com.intellij.ui.mac.MacMessagesImpl.showYesNoDialog(MacMessagesImpl.java:220)
at com.intellij.openapi.ui.Messages.showYesNoDialog(Messages.java:269)
at com.intellij.openapi.roots.impl.LanguageLevelProjectExtensionImpl$1.run(LanguageLevelProjectExtensionImpl.java:125)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:333)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:682)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:643)
at java.awt.EventQueue$1.run(EventQueue.java:641)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:652)
at com.intellij.ide.IdeEventQueue.d(IdeEventQueue.java:673)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:498)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:333)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

@aheusingfeld
Copy link
Collaborator

same here after updating to version 1.0.6! @gshakhn seems the "fix" for possible dead lock, is striking back. Can you fix it?

@gshakhn
Copy link
Owner

gshakhn commented Mar 12, 2013

I did say concurrency was hard in my commit. :)

Just pushed 1.0.7 to the JetBrains repo, so give that a shot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants