xsl-list
[Top] [All Lists]

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

2007-02-25 03:52:58
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(_at_)xml(_dot_)apache(_dot_)org

On 2/25/07, Mini Vatsala <minimohanv(_at_)gmail(_dot_)com> 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>