Re: [xsl] com.sun.org.apache.bcel.internal.generic.ClassGenException: Branch target offset too large for short

Subject: Re: [xsl] com.sun.org.apache.bcel.internal.generic.ClassGenException: Branch target offset too large for short
From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx>
Date: Sun, 25 Feb 2007 16:22:31 +0530
Please see if following documentation helps:
http://java.sun.com/j2se/1.5.0/docs/guide/xml/jaxp/JAXP-Compatibility_150.html

You would get better help regarding Xalan-J, if you post the question to:
xalan-j-users@xxxxxxxxxxxxxx

On 2/25/07, Mini Vatsala <minimohanv@xxxxxxxxx> wrote:
Hi,

We are having issues with XSLT after upgrading to java 1.5 ( 1.5.0_06)

xalan version used is : xalan-j_2_7_0

Below is the exception stack trace :
--------------------------------------------------------------------------------------------------------------------------------
com.sun.org.apache.bcel.internal.generic.ClassGenException: Branch
target offset too large for short
       at com.sun.org.apache.bcel.internal.generic.BranchInstruction.dump(BranchInstruction.java:99)
       at com.sun.org.apache.bcel.internal.generic.InstructionList.getByteCode(InstructionList.java:980)
       at com.sun.org.apache.bcel.internal.generic.MethodGen.getMethod(MethodGen.java:587)
       at com.sun.org.apache.xalan.internal.xsltc.compiler.Mode.compileApplyTemplates(Mode.java:1064)
       at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.compileModes(Stylesheet.java:615)
       at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.translate(Stylesheet.java:730)
       at com.sun.org.apache.xalan.internal.xsltc.trax.TemplatesHandlerImpl.endDocument(TemplatesHandlerImpl.java:225)
       at com.bluecast.xml.Piccolo.reportEndDocument(Unknown Source)
       at com.bluecast.xml.Piccolo.parse(Unknown Source)
       at com.apple.ist.jcm.plugin.OutputFormatterMechXML.initXSLT(OutputFormatterMechXML.java:150)
       at com.apple.ist.jcm.plugin.OutputFormatterMechXML.init(OutputFormatterMechXML.java:123)
       at com.apple.ist.jcm.impl.BusinessObjectTransfer.runOutputQueryBatch(BusinessObjectTransfer.java:1072)
       at com.apple.ist.jcm.impl.BusinessObjectTransfer.transitionGroup(BusinessObjectTransfer.java:465)
       at com.apple.ist.jcm.impl.BusinessObjectTransaction.process(BusinessObjectTransaction.java:161)
       at com.apple.ist.jcm.impl.MessageThread.runBurstMode(MessageThread.java:491)
       at com.apple.ist.jcm.impl.MessageThread.run(MessageThread.java:141)
       at java.lang.Thread.run(Thread.java:613)
--------------------------------------------------------------------------------------------------------------------------------

Any pointers on this issue?

Do we need to upgrade the xalan version with java 1.5 upgrade?

Thanks in advance,
Mini


--
Regards,
Mukul Gandhi

Current Thread