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 257198

Summary: NullPointerException at com.sun.tools.javac.jvm.ClassReader.enterTypevars
Product: java Reporter: grimlock81 <grimlock81>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal CC: akobberup, hummeling, jglick, mkhramov
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 196630
Attachments: stacktrace
stacktrace
stacktrace
stacktrace
stacktrace

Description grimlock81 2015-12-18 00:47:20 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.80-b11, Java(TM) SE Runtime Environment, 1.7.0_80-b15
OS: Windows 7

User Comments:
GUEST: typed log and hit autocomplete when no var log was present

GUEST: <Please provide a description of the problem or the steps to reproduce>
was writing and using auto-complete

GUEST: <Please provide a description of the problem or the steps to reproduce>
I'm not sure how can I reproduce the error. It happened two times while working at the same project. If you want, I can give you the code I was working at (my email is adan1901@gmail.com )

The previous time netbeans had blocked and I lost the work I have done till the last save. Both times it had a warning : while I was editing and using the cursor keys, the down key had a different effect( seldom down, more frequent up_key effect). This time I saved (it saved well) and restarted netbeans.

grimlock81: Not sure, just noticed the error balloon

GUEST: <Please provide a description of the problem or the steps to reproduce>
Third time I got this error. I'm sure there are much faster typers (I'm using Programers Dvorak keyboard under Ubuntu) , but it seems it is related to typing. The keyboard started geting the wrong keys.

GUEST: <Please provide a description of the problem or the steps to reproduce>
whily typing




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.jvm.ClassReader.enterTypevars(ClassReader.java:2197)
   at com.sun.tools.javac.jvm.ClassReader.enterTypevars(ClassReader.java:2208)
   at com.sun.tools.javac.jvm.ClassReader.enterTypevars(ClassReader.java:2205)
   at com.sun.tools.javac.jvm.ClassReader.enterTypevars(ClassReader.java:2206)
   at com.sun.tools.javac.jvm.ClassReader.readEnclosingMethodAttr(ClassReader.java:1307)
   at com.sun.tools.javac.jvm.ClassReader$12.read(ClassReader.java:1143)
Comment 1 grimlock81 2015-12-18 00:47:22 UTC
Created attachment 157830 [details]
stacktrace
Comment 2 Jesse Glick 2016-11-30 16:03:07 UTC
Created attachment 163102 [details]
stacktrace

Opened a Java source from *-sources.jar in a Maven dep.
Comment 3 akobberup 2017-01-27 12:17:44 UTC
Created attachment 163487 [details]
stacktrace

Just coding. Doint a large refactorying of the codebase so there are many errors in many files..
Comment 4 Maksim Khramov 2017-05-06 19:31:16 UTC
Created attachment 164269 [details]
stacktrace

Open java class to edit from PMD findbug inspection report
Comment 5 Maksim Khramov 2017-07-18 11:46:48 UTC
Created attachment 164788 [details]
stacktrace

Copy and paste code between Junit test classes