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 233519 - annotation.AnnotationTypeMismatchException: Incorrectly typed data found for annotation element public abstract games.jwrestling.core.game.object.Editions$Edition games.jwrestling.core.annotation.Page
Summary: annotation.AnnotationTypeMismatchException: Incorrectly typed data found for ...
Status: RESOLVED INVALID
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-26 20:46 UTC by javydreamercsw
Modified: 2013-07-29 09:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 202577


Attachments
stacktrace (4.31 KB, text/plain)
2013-07-26 20:46 UTC, javydreamercsw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description javydreamercsw 2013-07-26 20:46:06 UTC
Build: NetBeans IDE Dev (Build 201307252300)
VM: Java HotSpot(TM) Client VM, 24.0-b53, Java(TM) SE Runtime Environment, 1.7.0_40-ea-b34
OS: Windows 7

User Comments:
javydreamercsw: Fixing imports in classes.




Stacktrace: 
java.lang.annotation.AnnotationTypeMismatchException: Incorrectly typed data found for annotation element public abstract games.jwrestling.core.game.object.Editions$Edition games.jwrestling.core.annotation.Page.edition() (Found data of type net.sourceforge.javydreamercsw.jwrestling.core.Editions.Edition)
   at com.sun.tools.javac.model.AnnotationProxyMaker$ValueVisitor$1AnnotationTypeMismatchExceptionProxy.generateException(AnnotationProxyMaker.java:265)
   at sun.reflect.annotation.AnnotationInvocationHandler.invoke(AnnotationInvocationHandler.java:75)
   at com.sun.proxy.$Proxy119.edition(.java:0)
   at games.jwrestling.core.annotation.processor.CardAnnotationProcessor.process(CardAnnotationProcessor.java:124)
   at com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:823)
   at com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:719)
Comment 1 javydreamercsw 2013-07-26 20:46:08 UTC
Created attachment 137882 [details]
stacktrace
Comment 2 Dusan Balek 2013-07-29 09:31:27 UTC
AnnotationTypeMismatchExceptions are thrown to indicate that a program has
attempted to access an element of an annotation whose type has changed after
the annotation was compiled (or serialized). These exceptions can be thrown by
the java.lang.reflect.AnnotatedElement API used to read annotations
reflectively.

Seems like a problem in
games.jwrestling.core.annotation.processor.CardAnnotationProcessor.