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

    Details

    • Type: Sub-task
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: EAP 5.0.0, EAP 5.0.1, EAP_EWP 5.1.0
    • Fix Version/s: EAP_EWP 5.1.1
    • Component/s: Other
    • Labels:
      None
    • Release Notes Text:
      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.
    • Release Notes Docs Status:
      Documented as Resolved Issue

      Description

      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)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ozizka Ondrej Zizka
                  Reporter:
                  mageshbk Magesh Bojan
                  Writer:
                  Misty Stanley-Jones
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: