This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 257487

Summary: NullPointerException at com.sun.tools.javac.comp.Lower.visitApply
Product: java Reporter: kahatlen <kahatlen>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal CC: petrk
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 222045
Attachments: stacktrace

Description kahatlen 2016-01-08 17:59:20 UTC
This bug was originally marked as duplicate of bug 235791, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.1 (Build 20151231-debian-8.1)
VM: OpenJDK 64-Bit Server VM, 25.72-b05, OpenJDK Runtime Environment, 1.8.0_72-internal-b05
OS: Linux

User Comments:
petrk: Browse invalid Java code

kahatlen: The message popped up while I was editing Java code. Didn't notice exactly when it happened. Possibly when I saved the file or hit F11 to build. (The code was not in a fully compilable state at this point.)




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.comp.Lower.visitApply(Lower.java:2975)
   at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1465)
   at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
   at com.sun.tools.javac.comp.Lower.translate(Lower.java:2296)
   at com.sun.tools.javac.tree.TreeTranslator.visitExec(TreeTranslator.java:245)
   at com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1296)
Comment 1 kahatlen 2016-01-08 17:59:22 UTC
Created attachment 158069 [details]
stacktrace