[jboss-jira] [JBoss JIRA] Created: (AS7-922) Annotation Scanner should tell you which class could not be indexed
Tomaz Cerar (JIRA)
jira-events at lists.jboss.org
Mon May 30 17:59:00 EDT 2011
Annotation Scanner should tell you which class could not be indexed
-------------------------------------------------------------------
Key: AS7-922
URL: https://issues.jboss.org/browse/AS7-922
Project: Application Server 7
Issue Type: Bug
Components: MSC
Affects Versions: 7.0.0.CR1
Environment: Windows 7, Java 6 u21
Reporter: Tomaz Cerar
When trying to deploy ear application as throws you cryptic error msg "Invalid Magic" while it is trying to index annotations.
Fix should probably be in jandex class Indexer line 389 (current beta7) where error message should also include name of publish class.
currently stacktrace is like this:
Caused by: java.lang.RuntimeException: Invalid Magic
at org.jboss.jandex.Indexer.verifyMagic(Indexer.java:389)
at org.jboss.jandex.Indexer.index(Indexer.java:628)
at org.jboss.as.server.deployment.annotation.AnnotationIndexProcessor.deploy(AnnotationIndexProcessor.java:102)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list