Actions
Bug #1467
closedNegativeArraySizeException when generating bytecode
Start date:
2012-03-28
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:
Description
Failure while generating bytecode for an XSLT stylesheet that was generated using Altova Mapforce.
Failed while compiling function /
java.lang.NegativeArraySizeException
at org.objectweb.asm.Frame.a(Unknown Source)
at org.objectweb.asm.MethodWriter.visitMaxs(Unknown Source)
at org.objectweb.asm.commons.GeneratorAdapter.endMethod(Unknown Source)
at com.saxonica.bytecode.util.CompilerService.compileToByteCode(CompilerService.java:603)
at com.saxonica.expr.ee.OptimizerEE.compileToByteCode(OptimizerEE.java:1335)
at net.sf.saxon.style.XSLTemplate.optimize(XSLTemplate.java:450)
at net.sf.saxon.style.PrincipalStylesheetModule.compileStylesheet(PrincipalStylesheetModule.java:811)
at net.sf.saxon.PreparedStylesheet.setStylesheetDocument(PreparedStylesheet.java:376)
at net.sf.saxon.PreparedStylesheet.prepare(PreparedStylesheet.java:223)
at net.sf.saxon.PreparedStylesheet.compile(PreparedStylesheet.java:104)
at net.sf.saxon.Transform.doTransform(Transform.java:565)
at net.sf.saxon.Transform.main(Transform.java:75)
Offending stylesheet attached. Problem reproduced.
Files
Updated by O'Neil Delpratt over 12 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Bug fixed and committed to subversion, which will be in the next Saxon 9.4 maintenance release. The stack trace reported incorrect popping of the stack when converting integer to string. Solution: Simplified handling to the calling class.
Updated by Michael Kay over 12 years ago
- Status changed from Resolved to Closed
- Fixed in version set to 9.4.0.4
Please register to edit this issue
Actions