[
https://jira.jboss.org/browse/JBAOP-800?page=com.atlassian.jira.plugin.sy...
]
James Wilson updated JBAOP-800:
-------------------------------
Attachment: diff.txt
Attaching Kabir's local diff/patch for this issue. It may still need some work.
AopC report generation throws
java.lang.ArrayIndexOutOfBoundsException
----------------------------------------------------------------------
Key: JBAOP-800
URL:
https://jira.jboss.org/browse/JBAOP-800
Project: JBoss AOP
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 2.1.6.GA, 2.1.6 CP01
Reporter: Magesh Bojan
Assignee: Kabir Khan
Priority: Minor
Fix For: 2.1.6.CP02
Attachments: diff.txt, HelloAOP5.zip
Using the related JIRA [JBPAPP-3082]'s sample trying a
<aopc compilerclasspathref="jboss.aop.classpath"
verbose="true" report="true">
<classpath path="${classes.dir}"/>
<src path="${classes.dir}"/>
<include name="**/hello/HelloBean.class"/>
</aopc>
results in error
[aopc] Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
[aopc] at org.jboss.aop.standalone.XmlReport.outputAdvisor(XmlReport.java:204)
[aopc] at org.jboss.aop.standalone.XmlReport.outputPackage(XmlReport.java:139)
[aopc] at org.jboss.aop.standalone.XmlReport.outputPackage(XmlReport.java:127)
[aopc] at org.jboss.aop.standalone.XmlReport.outputPackage(XmlReport.java:127)
[aopc] at org.jboss.aop.standalone.XmlReport.outputPackage(XmlReport.java:127)
[aopc] at org.jboss.aop.standalone.XmlReport.outputPackage(XmlReport.java:127)
[aopc] at org.jboss.aop.standalone.XmlReport.outputPackage(XmlReport.java:127)
[aopc] at org.jboss.aop.standalone.XmlReport.outputPackage(XmlReport.java:127)
[aopc] at org.jboss.aop.standalone.XmlReport.toXml(XmlReport.java:70)
[aopc] at org.jboss.aop.standalone.Compiler.compile(Compiler.java:216)
[aopc] at org.jboss.aop.standalone.Compiler.main(Compiler.java:88)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira