Uploaded image for project: 'XalanJ2'
  1. XalanJ2
  2. XALANJ-1073

Get java.lang.ArrayIndexOutOfBoundsException at at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2329)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Incomplete
    • 2.4Dx
    • None
    • None
    • Operating System: FreeBSD
      Platform: PC
    • 10463

    Description

      We get this error occassionaly. It is difficult for us to debug as it appears
      to happen randomly, and doesn't re-occur when the client retries the
      transaction. I imagine this makes it just as difficult for you to debug, but if
      you have any tips on what might be causing, how to avoid it or how to debug it
      further, please let me know.

      To perform a transformation, we load a new transformer from a cached template
      for each request. I can send the stylesheets through if required. We use java
      1.3.1.

      Thanks for any help with this.

      Here is the full stack trace:

      ERROR javax.xml.transform.TransformerException:
      java.lang.ArrayIndexOutOfBoundsException: 8200
      ; SystemID: file:///work/test/lodge/FS20V001-01/docs/nav_common.xsl; Line#: 25;
      Column#: 8
      javax.xml.transform.TransformerException:
      java.lang.ArrayIndexOutOfBoundsException: 8200
      at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
      (TransformerImpl.java:2329)
      at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode
      (TransformerImpl.java:2147)
      at org.apache.xalan.transformer.TransformerImpl.transformNode
      (TransformerImpl.java:1203)
      at org.apache.xalan.transformer.TransformerImpl.transform
      (TransformerImpl.java:665)
      at org.apache.xalan.transformer.TransformerImpl.transform
      (TransformerImpl.java:1119)
      at org.apache.xalan.transformer.TransformerImpl.transform
      (TransformerImpl.java:1097)
      at au.gov.asic.ebusiness.server.HtmlXsltGenerator.generateResponse
      (HtmlXsltGenerator.java:33)
      at au.gov.asic.ebusiness.server.RequestHelper.generateOutput
      (RequestHelper.java:743)
      at au.gov.asic.ebusiness.server.RequestHelper.generateResponse
      (RequestHelper.java:668)
      at au.gov.asic.ebusiness.server.RequestHelper.handleGet
      (RequestHelper.java:583)
      at au.gov.asic.ebusiness.server.RequestHelper.processGet
      (RequestHelper.java:365)
      at au.gov.asic.ebusiness.server.RequestLodgementContext.processRequest
      (RequestLodgementContext.java:91)
      at au.gov.asic.ebusiness.server.LodgementServer.acceptRequest
      (LodgementServer.java:142)
      at au.gov.asic.ebusiness.server.LodgementServer.start
      (LodgementServer.java:65)
      at au.gov.asic.ebusiness.server.RequestStartUp.main
      (RequestStartUp.java:18)
      ---------
      java.lang.ArrayIndexOutOfBoundsException: 8200
      at au.gov.asic.ebusiness.common.Framer.write(Framer.java:91)
      at org.apache.xalan.serialize.WriterToUTF8.write(WriterToUTF8.java:171)
      at org.apache.xalan.serialize.SerializerToXML.accum
      (SerializerToXML.java:1440)
      at org.apache.xalan.serialize.SerializerToHTML.endElement
      (SerializerToHTML.java:733)
      at org.apache.xalan.transformer.ResultTreeHandler.endElement
      (ResultTreeHandler.java:307)
      at org.apache.xalan.templates.ElemLiteralResult.execute
      (ElemLiteralResult.java:716)
      at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
      (TransformerImpl.java:2324)
      at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode
      (TransformerImpl.java:2147)
      at org.apache.xalan.transformer.TransformerImpl.transformNode
      (TransformerImpl.java:1203)
      at org.apache.xalan.transformer.TransformerImpl.transform
      (TransformerImpl.java:665)
      at org.apache.xalan.transformer.TransformerImpl.transform
      (TransformerImpl.java:1119)
      at org.apache.xalan.transformer.TransformerImpl.transform
      (TransformerImpl.java:1097)
      at au.gov.asic.ebusiness.server.HtmlXsltGenerator.generateResponse
      (HtmlXsltGenerator.java:33)
      at au.gov.asic.ebusiness.server.RequestHelper.generateOutput
      (RequestHelper.java:743)

      Attachments

        Activity

          People

            Unassigned Unassigned
            graham.hall@asic.gov.au graham.hall
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: