JavadocWriter: NPE
I believe this may be happening when I view the read-only source from a library.
-
From IDEA Exception popup:
No message
java.lang.NullPointerException
at
com.magilis.ideaplugins.javadocwriter.JavadocWriterInspection$MyLocalQuickFix.applyFix(JavadocWriterInspection.java:90)
at com.intellij.codeInspection.ex.QuickFixWrapper.invoke(QuickFixWrapper.java:8)
at
com.intellij.codeInsight.intention.impl.IntentionHintComponent$ListPopupRunnable$1$1$1.run(IntentionHintComponent.java:2)
at
com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:437)
at
com.intellij.codeInsight.intention.impl.IntentionHintComponent$ListPopupRunnable$1$1$2.run(IntentionHintComponent.java:1)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:10)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:106)
at
com.intellij.codeInsight.intention.impl.IntentionHintComponent$ListPopupRunnable$1$1.run(IntentionHintComponent.java:9)
at
com.intellij.openapi.application.impl.LaterInvocatorEx$FlushQueue.run(LaterInvocatorEx.java:6)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:110)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:66)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:18)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Please sign in to leave a comment.
Thanks Tim, I will check it out tomorrow :)
In fact i think the bug occured when there was javadoc on field but no text (non-whitespaces).
Gilles