java.lang.NullPointerException at com.sun.tools.javac.jvm.Code.emitop0(Code.java:525) at com.sun.tools.javac.jvm.Items$SelfItem.load(Items.java:360) at com.sun.tools.javac.jvm.Gen.visitIdent(Gen.java:2103) at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:1683) at com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:835) at com.sun.tools.javac.jvm.Gen.visitApply(Gen.java:1677) at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1299) at com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:835) at com.sun.tools.javac.jvm.Gen.genArgs(Gen.java:854) at com.sun.tools.javac.jvm.Gen.visitApply(Gen.java:1681) at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1299) at com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:835) at com.sun.tools.javac.jvm.Gen.visitAssign(Gen.java:1776) at com.sun.tools.javac.tree.JCTree$JCAssign.accept(JCTree.java:1444) at com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:835) at com.sun.tools.javac.jvm.Gen.visitExec(Gen.java:1629) at com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1145) at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:682) at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:717) at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:703) at com.sun.tools.javac.jvm.Gen.genStats(Gen.java:754) at com.sun.tools.javac.jvm.Gen.visitBlock(Gen.java:1030) at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:768) at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:682) at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:717) at com.sun.tools.javac.jvm.Gen.genMethod(Gen.java:910) at com.sun.tools.javac.jvm.Gen.visitMethodDef(Gen.java:883) at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:656) at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:682) at com.sun.tools.javac.jvm.Gen.genClass(Gen.java:2222) at com.sun.tools.javac.main.JavaCompiler.genCode(JavaCompiler.java:686) at com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:1358) at com.sun.tools.javac.api.JavacTaskImpl$3.process(JavacTaskImpl.java:519) at com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:607) at com.sun.tools.javac.api.JavacTaskImpl.generate(JavacTaskImpl.java:522) at org.netbeans.modules.java.source.indexing.MultiPassCompileWorker.compile(MultiPassCompileWorker.java:242) at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$1$1.run(JavaCustomIndexer.java:154) at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$1$1.run(JavaCustomIndexer.java:134) at org.netbeans.modules.java.source.tasklist.TaskCache.refreshTransaction(TaskCache.java:470) at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$1.run(JavaCustomIndexer.java:134) at org.netbeans.modules.java.source.indexing.JavaCustomIndexer$1.run(JavaCustomIndexer.java:132) at org.netbeans.modules.java.source.usages.ClassIndexManager.reserveWriteLock(ClassIndexManager.java:113) at org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:132) at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:165) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:1194) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.scanSource(RepositoryUpdater.java:2138) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.scanSources(RepositoryUpdater.java:2055) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.getDone(RepositoryUpdater.java:1825) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:1397) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(RepositoryUpdater.java:2476) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.run(RepositoryUpdater.java:2432) at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:588) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676) at java.lang.Thread.run(Thread.java:595)