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 - AssertionError: Only on ClassSymbol
Summary: AssertionError: Only on ClassSymbol
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-13 13:49 UTC by J Bachorik
Modified: 2017-09-10 09:41 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 226742


Attachments
stacktrace (2.14 KB, text/plain)
2016-10-13 13:49 UTC, J Bachorik
Details

Note You need to log in before you can comment on or make changes to this bug.
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