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)

2 comments

Thanks Tim, I will check it out tomorrow :)

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.JavadocWriterIns
ection$MyLocalQuickFix.applyFix(JavadocWriterInspectio
.java:90)
at
com.intellij.codeInspection.ex.QuickFixWrapper.invoke
QuickFixWrapper.java:8)
at
com.intellij.codeInsight.intention.impl.IntentionHintC
mponent$ListPopupRunnable$1$1$1.run(IntentionHintCompo
ent.java:2)
at
com.intellij.openapi.application.impl.ApplicationImpl.
unWriteAction(ApplicationImpl.java:437)
at
com.intellij.codeInsight.intention.impl.IntentionHintC
mponent$ListPopupRunnable$1$1$2.run(IntentionHintCompo
ent.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.IntentionHintC
mponent$ListPopupRunnable$1$1.run(IntentionHintCompone
t.java:9)
at
com.intellij.openapi.application.impl.LaterInvocatorEx
FlushQueue.run(LaterInvocatorEx.java:6)
at
java.awt.event.InvocationEvent.dispatch(InvocationEve
t.java:209)
at
java.awt.EventQueue.dispatchEvent(EventQueue.java:461

at
com.intellij.ide.IdeEventQueue.defaultDispatchEvent(I
eEventQueue.java:110)
at
com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:6
)
at
com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEvent
ueue.java:18)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy
EventDispatchThread.java:242)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(E
entDispatchThread.java:163)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatch
hread.java:157)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatch
hread.java:149)
at
java.awt.EventDispatchThread.run(EventDispatchThread.
ava:110)


0

In fact i think the bug occured when there was javadoc on field but no text (non-whitespaces).

Gilles

0

Please sign in to leave a comment.