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 271222

Summary: AssertionError: Cannot add metadata to a void type
Product: java Reporter: Radiodef
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal CC: Radiodef
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 229910
Attachments: stacktrace

Description Radiodef 2017-08-02 20:08:10 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.144-b01, Java(TM) SE Runtime Environment, 1.8.0_144-b01
OS: Mac OS X

User Comments:
Radiodef: I don't know, sorry.




Stacktrace: 
java.lang.AssertionError: Cannot add metadata to a void type
   at com.sun.tools.javac.code.Type$JCVoidType.cloneWithMetadata(Type.java:2178)
   at com.sun.tools.javac.code.Type$JCVoidType.cloneWithMetadata(Type.java:2169)
   at com.sun.tools.javac.code.Type.annotatedType(Type.java:396)
   at com.sun.tools.javac.comp.Attr.visitAnnotatedType(Attr.java:4458)
   at com.sun.tools.javac.tree.JCTree$JCAnnotatedType.accept(JCTree.java:2580)
   at com.sun.tools.javac.comp.Attr$ResultInfo.attr(Attr.java:496)
Comment 1 Radiodef 2017-08-02 20:08:13 UTC
Created attachment 164889 [details]
stacktrace