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 257244

Summary: NullPointerException at com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit
Product: java Reporter: stefan79 <stefan79>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal CC: alexvsimon, stefan79
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 221791
Attachments: stacktrace
stacktrace
stacktrace
stacktrace
stacktrace

Description stefan79 2015-12-21 13:56:20 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-309-on-20151203)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Windows 8.1

User Comments:
stefan79: Scrolling in an external Java-Source-File (pdfbox - PDFTextStripper).




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4532)
   at com.sun.tools.javac.code.Type$TypeMapping.visitMethodType(Type.java:287)
   at com.sun.tools.javac.code.Type$TypeMapping.visitMethodType(Type.java:226)
   at com.sun.tools.javac.code.Type$MethodType.accept(Type.java:1446)
   at com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4532)
   at com.sun.tools.javac.code.Types.erasure(Types.java:2156)
Comment 1 stefan79 2015-12-21 13:56:22 UTC
Created attachment 157878 [details]
stacktrace
Comment 2 stefan79 2015-12-21 14:02:03 UTC
Created attachment 157879 [details]
stacktrace

Exception occured, after stoping "Find Usages".
Comment 3 stefan79 2015-12-22 06:23:04 UTC
Created attachment 157886 [details]
stacktrace

closed java-files.
Comment 4 Alexander Simon 2016-02-26 13:11:20 UTC
Created attachment 158653 [details]
stacktrace

update sorces in terminal
Comment 5 Exceptions Reporter 2017-02-23 18:09:25 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=221791
Comment 6 Exceptions Reporter 2017-04-04 21:22:10 UTC
Created attachment 164029 [details]
stacktrace

Opened project