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 244926 - NullPointerException at com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit
Summary: NullPointerException at com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-06 14:34 UTC by aldobrucale
Modified: 2016-07-07 07:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 210132


Attachments
stacktrace (4.35 KB, text/plain)
2014-06-06 14:34 UTC, aldobrucale
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aldobrucale 2014-06-06 14:34:36 UTC
This bug was originally marked as duplicate of bug 232604, 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.0 (Build 201403101706)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.5-b02, Java(TM) SE Runtime Environment, 1.8.0_05-b13
OS: Linux

User Comments:
aldobrucale: Tried to transform a class to an inner class




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4430)
   at com.sun.tools.javac.code.Types.isSameType(Types.java:1086)
   at com.sun.tools.javac.code.Types.isSameType(Types.java:1083)
   at com.sun.tools.javac.model.JavacTypes.isSameType(JavacTypes.java:95)
   at org.netbeans.modules.refactoring.java.plugins.MoveClassTransformer.visitClass(MoveClassTransformer.java:188)
   at org.netbeans.modules.refactoring.java.plugins.MoveClassTransformer.visitClass(MoveClassTransformer.java:76)
Comment 1 aldobrucale 2014-06-06 14:34:38 UTC
Created attachment 147594 [details]
stacktrace
Comment 2 Martin Balin 2016-07-07 07:16:51 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss