NPE on compile

ERROR - intellij.plugins.PluginManager -
ERROR - intellij.plugins.PluginManager - IntelliJ IDEA
(Aurora) Bui
ld #807
ERROR - intellij.plugins.PluginManager - JDK: 1.4.1_02
ERROR - intellij.plugins.PluginManager - VM: Java HotSpot(TM)
Client
VM
ERROR - intellij.plugins.PluginManager - Vendor: Sun
Microsystems Inc
.
ERROR - intellij.plugins.PluginManager - OS: Windows 2000
ERROR - intellij.plugins.PluginManager - Last Action: Compile
ERROR - intellij.plugins.PluginManager -
java.lang.NullPointerException
at com.intellij.compiler.a.ba.a(ba.java:17)
at com.intellij.compiler.a.c.a.a(a.java:9)
at com.intellij.compiler.a.g.a(g.java:282)
at com.intellij.compiler.a.g.a(g.java:147)
at com.intellij.compiler.a.k.run(k.java:3)
at com.intellij.progress.c.a(c.java:20)
at com.intellij.compiler.a.br.run(br.java:6)
ERROR - intellij.plugins.PluginManager -
ERROR - intellij.plugins.PluginManager - IntelliJ IDEA
(Aurora) Bui
ld #807
ERROR - intellij.plugins.PluginManager - JDK: 1.4.1_02
ERROR - intellij.plugins.PluginManager - VM: Java HotSpot(TM)
Client
VM
ERROR - intellij.plugins.PluginManager - Vendor: Sun
Microsystems Inc
.
ERROR - intellij.plugins.PluginManager - OS: Windows 2000
ERROR - intellij.plugins.PluginManager - Last Action: Compile
ERROR - intellij.plugins.PluginManager -
java.lang.NullPointerException
at com.intellij.compiler.a.ba.a(ba.java:17)
at com.intellij.compiler.a.c.a.a(a.java:9)
at com.intellij.compiler.a.g.a(g.java:282)
at com.intellij.compiler.a.g.a(g.java:147)
at com.intellij.compiler.a.k.run(k.java:3)
at com.intellij.progress.c.a(c.java:20)
at com.intellij.compiler.a.br.run(br.java:6)


3 comments

Related to this error:

- build 807
- compiling the whole project works correctly
- compiling just the one file (below) fails
- running unit tests on whole project succeeds/passes
- running just a single test in the one file produces:

C:\j2sdk1.4.1_01\bin\java -Xms128m -Xmx512m
-Dlog4j.defaultInitOverride=true -Didea.launcher.port=7535
-Didea.path.bin=C:\idea-807\bin -classpath
C:\j2sdk1.4.1_01\jre\lib\charsets.jar;C:\j2sdk1.4.1_01\jre\lib\jaws.jar;C:\j2sdk1.4.1_01\jre\lib\jce.jar;C:\j2sdk1.4.1_01\jre\lib\jsse.jar;C:\j2sdk1.4.1_01\jre\lib\rt.jar;C:\j2sdk1.4.1_01\jre\lib\sunrsasign.jar;C:\j2sdk1.4.1_01\jre\lib\ext\dnsns.jar;C:\j2sdk1.4.1_01\jre\lib\ext\ldapsec.jar;C:\j2sdk1.4.1_01\jre\lib\ext\localedata.jar;C:\j2sdk1.4.1_01\jre\lib\ext\sunjce_provider.jar;C:\cvs.local\its.dev\_build\trading\idea\classes;C:\cvs.local\its.dev\clients\webadmin\webapp\WEB-INF\classes;C:\cvs.local\its.dev\trading\resource\properties;C:\cvs.local\its.dev\deployment\appserver\common\conf\properties;C:\cvs.local\its.dev\deployment\appserver\common\conf\security;C:\cvs.local\its.dev\trading\resource\mappings;C:\cvs.local\its.dev\marketdata\resource\mappings;C:\cvs.local\its.dev\clients\webadmin\resource\properties;C:\cvs.local\its.dev\thirdparty\cameron-fix\fixCore-6.0.4.jar;C:\cvs.local\its.dev\thirdparty\cameron-fix\fixFilePersistence.jar;C:\cvs.local\its.dev\thirdparty\co
mmons\commons-digester-1.3.jar;C:\cvs.local\its.dev\thirdparty\commons\commons-lang-1.0-b1.jar;C:\cvs.local\its.dev\thirdparty\commons\commons-logging-1.02.jar;C:\cvs.local\its.dev\thirdparty\commons\commons-collections-2.1.jar;C:\cvs.local\its.dev\thirdparty\commons\commons-beanutils-1.5.jar;C:\cvs.local\its.dev\thirdparty\commons\commons-cli-1.0.jar;C:\cvs.local\its.dev\thirdparty\commons\commons-pool-1.0.jar;C:\cvs.local\its.dev\thirdparty\commons\commons-attributes-0.1.jar;C:\cvs.local\its.dev\thirdparty\dom4j\dom4j-1.4-dev-7.jar;C:\cvs.local\its.dev\thirdparty\enterprisedt-ftp\enterprisedt-ftp__V1.1.jar;C:\cvs.local\its.dev\thirdparty\eurex\ETr.jar;C:\cvs.local\its.dev\thirdparty\eurex\etrhelp.jar;C:\cvs.local\its.dev\thirdparty\eurex\jhall.jar;C:\cvs.local\its.dev\thirdparty\eurex\XFrameWork.jar;C:\cvs.local\its.dev\thirdparty\fiorano\fmprtl-5.3.jar;C:\cvs.local\its.dev\thirdparty\its-feeddata\feed-data__Vx.jar;C:\cvs.local\its.dev\thirdparty\jdom\jdom__Vb8.jar;C:\cvs.l
ocal\its.dev\thirdparty\jelly\commons-jelly-1.0-beta-4-SNAPSHOT.jar;C:\cvs.local\its.dev\thirdparty\jelly\commons-jexl-1.0-beta-1.jar;C:\cvs.local\its.dev\thirdparty\jms\jms__V1.x.jar;C:\cvs.local\its.dev\thirdparty\jsx\jsx__V0.9.0.2.jar;C:\cvs.local\its.dev\thirdparty\junit\junit-3.8.1.jar;C:\cvs.local\its.dev\thirdparty\junit\mockobjects-0.07-core.jar;C:\cvs.local\its.dev\thirdparty\junit\watley-junit-extensions__Vx.jar;C:\cvs.local\its.dev\thirdparty\jwebunit\httpunit.jar;C:\cvs.local\its.dev\thirdparty\jwebunit\js.jar;C:\cvs.local\its.dev\thirdparty\jwebunit\jwebunit__V1.1.1.jar;C:\cvs.local\its.dev\thirdparty\jwebunit\nekohtml.jar;C:\cvs.local\its.dev\thirdparty\log4j\log4j-1.2.7.jar;C:\cvs.local\its.dev\thirdparty\mail\activation-1.0.2.jar;C:\cvs.local\its.dev\thirdparty\mail\mail-1.3.jar;C:\cvs.local\its.dev\thirdparty\mx4j\mx4j-jmx.jar;C:\cvs.local\its.dev\thirdparty\mx4j\mx4j-tools.jar;C:\cvs.local\its.dev\thirdparty\mysql\mm.mysql__V2.0.12.jar;C:\cvs.local\its.dev\t
hirdparty\netscape-ldap\ldapjdk__Vx.jar;C:\cvs.local\its.dev\thirdparty\oracle\ojdbc14.jar;C:\cvs.local\its.dev\thirdparty\oswego-concurrent\oswego-concurrent__V1.x.jar;C:\cvs.local\its.dev\thirdparty\poi\jakarta-poi-1.5.1.jar;C:\cvs.local\its.dev\thirdparty\qdox\qdox-1.1.jar;C:\cvs.local\its.dev\thirdparty\sonicmq\broker__V4.5.jar;C:\cvs.local\its.dev\thirdparty\sonicmq\client__V4.5.jar;C:\cvs.local\its.dev\thirdparty\struts-1.1\struts.jar;C:\cvs.local\its.dev\thirdparty\struts-1.1\commons-validator.jar;C:\cvs.local\its.dev\thirdparty\servletapi\servletapi-2.3.jar;C:\cvs.local\its.dev\thirdparty\times-ten\classes13__Vx.jar;C:\cvs.local\its.dev\thirdparty\threadpool\threadpool.jar;C:\cvs.local\its.dev\thirdparty\tomcat\catalina-4.1.12.jar;C:\cvs.local\its.dev\thirdparty\uuid\jug__V0.9.4.jar;C:\cvs.local\its.dev\thirdparty\xerces\xerces-2.0.2.jar;C:\cvs.local\its.dev\thirdparty\xml-apis\xml-apis-1.0.b2.jar;C:\idea-807\lib\idea_rt.jar;C:\idea-807\lib\idea_rt.jar;C:\idea-807\lib
\JNIWrap.jar
com.intellij.rt.execution.application.AppMain
com.intellij.rt.execution.junit2.JUnitStarter -ideVersion2
com.its.trading.domain.position.TestPositionBlockImpl,testMatchEquityPartialBlockMatchProfit
Class not found "com.its.trading.domain.position.TestPositionBlockImpl"
Process terminated with exit code 1


Barry Kaplan wrote:

ERROR - intellij.plugins.PluginManager -
ERROR - intellij.plugins.PluginManager - IntelliJ IDEA
(Aurora) Bui
ld #807
ERROR - intellij.plugins.PluginManager - JDK: 1.4.1_02
ERROR - intellij.plugins.PluginManager - VM: Java HotSpot(TM)
Client
VM
ERROR - intellij.plugins.PluginManager - Vendor: Sun
Microsystems Inc
.
ERROR - intellij.plugins.PluginManager - OS: Windows 2000
ERROR - intellij.plugins.PluginManager - Last Action: Compile
ERROR - intellij.plugins.PluginManager -
java.lang.NullPointerException
at com.intellij.compiler.a.ba.a(ba.java:17)
at com.intellij.compiler.a.c.a.a(a.java:9)
at com.intellij.compiler.a.g.a(g.java:282)
at com.intellij.compiler.a.g.a(g.java:147)
at com.intellij.compiler.a.k.run(k.java:3)
at com.intellij.progress.c.a(c.java:20)
at com.intellij.compiler.a.br.run(br.java:6)
ERROR - intellij.plugins.PluginManager -
ERROR - intellij.plugins.PluginManager - IntelliJ IDEA
(Aurora) Bui
ld #807
ERROR - intellij.plugins.PluginManager - JDK: 1.4.1_02
ERROR - intellij.plugins.PluginManager - VM: Java HotSpot(TM)
Client
VM
ERROR - intellij.plugins.PluginManager - Vendor: Sun
Microsystems Inc
.
ERROR - intellij.plugins.PluginManager - OS: Windows 2000
ERROR - intellij.plugins.PluginManager - Last Action: Compile
ERROR - intellij.plugins.PluginManager -
java.lang.NullPointerException
at com.intellij.compiler.a.ba.a(ba.java:17)
at com.intellij.compiler.a.c.a.a(a.java:9)
at com.intellij.compiler.a.g.a(g.java:282)
at com.intellij.compiler.a.g.a(g.java:147)
at com.intellij.compiler.a.k.run(k.java:3)
at com.intellij.progress.c.a(c.java:20)
at com.intellij.compiler.a.br.run(br.java:6)


0

That's a bug I believe I already filed. Workaround as I understand it is to turn on Validate JSP on compile

0

I do have jsp validation turned on. But the file in question is has
nothing to do with a webapp.

Robert S. Sfeir wrote:

That's a bug I believe I already filed. Workaround as I understand it is to turn on Validate JSP on compile


0

Please sign in to leave a comment.