[Struts Plugin] Exception stacktrace with V0.92DEV (04/07/06) and Demetra build #5231

Opening a jsp that uses struts and jstl tags by clicking on an entry in the TODO toolwindow
resulted in the following stacktrace:

No message
java.lang.NullPointerException
at de.lineas.lit.strutsplugin.highlighting.jsp.FormAnnotator.annotate(FormAnnotator.java:49)
at
com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitElement(HighlightVisitorImpl.java:95)
at com.intellij.psi.JavaElementVisitor.visitFile(JavaElementVisitor.java:140)
at
com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitFile(HighlightVisitorImpl.java:438)
at com.intellij.psi.JavaElementVisitor.visitJspFile(JavaElementVisitor.java:356)
at com.intellij.psi.impl.source.jsp.JspFileImpl.accept(JspFileImpl.java:103)
at
com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visit(HighlightVisitorImpl.java:278)
at
com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$1.run(GeneralHighlightingPass.java:3)
at
com.intellij.psi.impl.PsiManagerImpl.performActionWithFormatterDisabled(PsiManagerImpl.java:485)
at
com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:32)
at
com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.doCollectInformation(GeneralHighlightingPass.java:60)
at
com.intellij.codeInsight.daemon.impl.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:7)
at com.intellij.codeInsight.daemon.impl.UpdateThread$2.run(UpdateThread.java:7)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:15)
at com.intellij.codeInsight.daemon.impl.UpdateThread.a(UpdateThread.java:44)
at com.intellij.codeInsight.daemon.impl.UpdateThread.access$100(UpdateThread.java:14)
at com.intellij.codeInsight.daemon.impl.UpdateThread$1.run(UpdateThread.java:3)
at
com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:50)
at com.intellij.codeInsight.daemon.impl.UpdateThread.run(UpdateThread.java:22)

3 comments

wait for next release.. that's why there is a max-build=5218 in its plugin.xml :)

0

Yann Cebron wrote:

wait for next release.. that's why there is a max-build=5218 in its plugin.xml :)


Ok. Unfortunately, with the plugins being located in a user directory, they are carried
forward when a new build is installed.

JetBrains:
Perhaps, IDEA should be intelligent enough not to load the plugins that specify a range of
builds which excludes the current one, even if they are found in the users plugins directory.

0

This is indeed a bug, it should not load those plugins.

0

Please sign in to leave a comment.