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 268506

Summary: AssertionError: Only on ClassSymbol
Product: java Reporter: J Bachorik <yardus>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal CC: Leperous
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 226742
Attachments: stacktrace

Description J Bachorik 2016-10-13 13:49:49 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.66-b36, Java(TM) SE Runtime Environment, 1.8.0_66-b36
OS: Linux

User Comments:
yardus: Trying to work with IDE




Stacktrace: 
java.lang.AssertionError: Only on ClassSymbol
   at com.sun.tools.javac.util.Assert.error(Assert.java:162)
   at com.sun.tools.javac.code.Symbol$TypeSymbol.getAnnotationTypeMetadata(Symbol.java:766)
   at com.sun.tools.javac.comp.Check.getAttributeTargetAttribute(Check.java:3175)
   at com.sun.tools.javac.comp.Check.annotationApplicable(Check.java:3109)
   at com.sun.tools.javac.comp.Check.validateAnnotation(Check.java:2859)
   at com.sun.tools.javac.comp.Check.validateAnnotations(Check.java:2844)
Comment 1 J Bachorik 2016-10-13 13:49:50 UTC
Created attachment 162492 [details]
stacktrace