NullPointerException in InspectionGadgets.

I've switched on the Constant Naming Convention check to run in the
background as I type. I have a couple of files open, both Java and non-Java
(JSPs, properties files). I'm repeatedly getting the exception below (each
time IDEA tries to re-run it, I'm guessing). BTW Dave, is posting to the
newsgroup the best way to send you bug reports for this plugin?


ERROR - intellij.plugins.PluginManager -
ERROR - intellij.plugins.PluginManager - IntelliJ IDEA (Aurora)
Build #873
ERROR - intellij.plugins.PluginManager - JDK: 1.4.2
ERROR - intellij.plugins.PluginManager - VM: Java HotSpot(TM)
Client VM
ERROR - intellij.plugins.PluginManager - Vendor: Sun Microsystems
ERROR - intellij.plugins.PluginManager - OS: Windows 2000
ERROR - intellij.plugins.PluginManager - Last Action: EditorPageDown
ERROR - intellij.plugins.PluginManager -
at com.intellij.openapi.application.b.d.runReadAction(
at com.intellij.progress.c.a(
Vilya Harvey / digital steps /
(W) +44 (0)1483 469 480
(M) +44 (0)7816 678 457


This e-mail and any attachments may be confidential and/or legally
privileged. If you have received this email and you are not a named
addressee, please inform the sender at Digital Steps Ltd by phone on
+44 (0)1483 469 480 or by reply email and then delete the email from
your system. If you are not a named addressee you must not use,
disclose, distribute, copy, print or rely on this email. Although
Digital Steps Ltd routinely screens for viruses, addressees should
check this email and any attachments for viruses. Digital Steps Ltd
makes no representation or warranty as to the absence of viruses in this
email or any attachments.

1 comment
Comment actions Permalink

Hurm. Looks like it has to do with JSPs, and it's at a point where PsiField.getContainingClass() returns null (which I had assumed impossible, but maybe it's just impossible in .java files).

I've got a fix, and will ship it out with the next batch.

Unless anyone complains, this is a fine place to send me bug reports. I read it all the time.


--Dave Griffith


Please sign in to leave a comment.