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 257592

Summary: AssertionError: Unexpected tree: Map.<String, String><error>() with kind: METHOD_INVOCATION within: Map.<String, String><error>() with kind: METHOD_INVOCATION
Product: java Reporter: hsiddanthi
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 222143
Attachments: stacktrace

Description hsiddanthi 2016-01-15 17:18:54 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.66-b17, Java(TM) SE Runtime Environment, 1.8.0_66-b17
OS: Linux

User Comments:
hsiddanthi: Error occured while changing Java type from a custom class to Map




Stacktrace: 
java.lang.AssertionError: Unexpected tree: Map.<String, String><error>() with kind: METHOD_INVOCATION within: Map.<String, String><error>() with kind: METHOD_INVOCATION
   at com.sun.tools.javac.util.Assert.error(Assert.java:133)
   at com.sun.tools.javac.comp.Attr$TypeAnnotationsValidator.validateAnnotatedType(Attr.java:4882)
   at com.sun.tools.javac.comp.Attr$TypeAnnotationsValidator.validateAnnotatedType(Attr.java:4813)
   at com.sun.tools.javac.comp.Attr$TypeAnnotationsValidator.visitMethodDef(Attr.java:4706)
   at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:784)
   at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
Comment 1 hsiddanthi 2016-01-15 17:18:55 UTC
Created attachment 158148 [details]
stacktrace