Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-5330 Upgrade to JBoss AOP 2.1.6.CP02
  3. JBPAPP-3083

AopC report generation throws java.lang.ArrayIndexOutOfBoundsException

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Minor Minor
    • EAP_EWP 5.1.1
    • EAP 5.0.0, EAP 5.0.1, EAP_EWP 5.1.0
    • Other
    • None
    • When AopC was in use, report generation failed with an exception of type ArrayIndexOutOfBoundsException. This has been resolved so that a report is now generated as expected, and no exception is thrown.
    • Documented as Resolved Issue

      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)

              ozizka_jira Ondrej Zizka (Inactive)
              mageshbk_jira Magesh Bojan (Inactive)
              Misty Stanley-Jones Misty Stanley-Jones (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: