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 268597 - NullPointerException at com.sun.tools.javac.model.JavacTypes.erasure
Summary: NullPointerException at com.sun.tools.javac.model.JavacTypes.erasure
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: 2016-10-20 12:17 UTC by cezariusz
Modified: 2018-03-01 20:35 UTC (History)
8 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 222449


Attachments
stacktrace (1.52 KB, text/plain)
2016-10-20 12:17 UTC, cezariusz
Details
stacktrace (1.52 KB, text/plain)
2016-11-03 10:10 UTC, ExIngus
Details
stacktrace (1.52 KB, text/plain)
2017-02-03 22:27 UTC, Exceptions Reporter
Details
stacktrace (1.52 KB, text/plain)
2017-06-20 14:37 UTC, Tomas Mysik
Details
stacktrace (1.52 KB, text/plain)
2018-03-01 20:35 UTC, everflux
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cezariusz 2016-10-20 12:17:51 UTC
Build: NetBeans IDE Dev (Build 201609280002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Windows 10

User Comments:
GUEST: Simply writing code

GUEST: simply writing code

cezariusz: Creating enum:

public class RitAttribute extends RitObject {
    
    public enum TypeValidator { COMPLEX




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.model.JavacTypes.erasure(JavacTypes.java:131)
   at org.netbeans.modules.java.hints.errors.RenameConstructor.run(RenameConstructor.java:98)
   at org.netbeans.modules.java.hints.infrastructure.CreatorBasedLazyFixList.compute(CreatorBasedLazyFixList.java:148)
   at org.netbeans.modules.java.hints.infrastructure.LazyHintComputation.run(LazyHintComputation.java:112)
   at org.netbeans.modules.java.hints.infrastructure.LazyHintComputation.run(LazyHintComputation.java:58)
   at org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:298)
Comment 1 cezariusz 2016-10-20 12:17:53 UTC
Created attachment 162568 [details]
stacktrace
Comment 2 Exceptions Reporter 2016-11-03 10:01:28 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=222449
Comment 3 ExIngus 2016-11-03 10:10:27 UTC
Created attachment 162742 [details]
stacktrace

write code
Comment 4 Exceptions Reporter 2017-02-03 22:27:22 UTC
Created attachment 163566 [details]
stacktrace

.
Comment 5 Tomas Mysik 2017-06-20 14:37:26 UTC
Created attachment 164581 [details]
stacktrace

no idea, sorry
Comment 6 everflux 2018-03-01 20:35:28 UTC
Created attachment 165650 [details]
stacktrace

invoked code completions