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 270818 - NullPointerException at com.sun.tools.javac.comp.TransTypes.visitAssignop
Summary: NullPointerException at com.sun.tools.javac.comp.TransTypes.visitAssignop
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-06 15:58 UTC by Alexander Simon
Modified: 2017-11-11 12:35 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 151468


Attachments
stacktrace (5.35 KB, text/plain)
2017-06-06 15:58 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2017-06-06 15:58:24 UTC
Build: NetBeans IDE Dev (Build 20170606-0ed2fba35ca6)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.131-b11, Java(TM) SE Runtime Environment, 1.8.0_131-b11
OS: SunOS

User Comments:
alexvsimon: copy-paste couple members from one class to another

GUEST: 1

GUEST: copying code from a c++ file into a java file in order to edit it to work in java

GUEST: After bootup, when ran, NetBeans 6.9.1 or NetBeans 7.0, both gave this warning message.

GUEST: I was viewing bunch of some uncompilable classes

GUEST: WTF!




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.comp.TransTypes.visitAssignop(TransTypes.java:753)
   at com.sun.tools.javac.tree.JCTree$JCAssignOp.accept(JCTree.java:1926)
   at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
   at com.sun.tools.javac.comp.TransTypes.translate(TransTypes.java:496)
   at com.sun.tools.javac.comp.TransTypes.visitVarDef(TransTypes.java:551)
   at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:956)
Comment 1 Alexander Simon 2017-06-06 15:58:26 UTC
Created attachment 164479 [details]
stacktrace