Branch target offset too large for short; Could not compile stylesheet
----------------------------------------------------------------------

                 Key: XALANJ-2519
                 URL: https://issues.apache.org/jira/browse/XALANJ-2519
             Project: XalanJ2
          Issue Type: Bug
      Security Level: No security risk; visible to anyone (Ordinary problems in 
Xalan projects.  Anybody can view the issue.)
         Environment: NetBeans IDE
            Reporter: Sanitha Alam


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:616)
        at 
com.sun.org.apache.xalan.internal.xsltc.compiler.Mode.compileNamedTemplate(Mode.java:556)
        at 
com.sun.org.apache.xalan.internal.xsltc.compiler.Mode.compileTemplates(Mode.java:566)
        at 
com.sun.org.apache.xalan.internal.xsltc.compiler.Mode.compileApplyTemplates(Mode.java:818)
        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.compiler.XSLTC.compile(XSLTC.java:354)
        at 
com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:429)
        at 
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:795)
        at 
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:617)
        at xmleditor.XMLTransform.main(XMLTransform.java:40)
ERROR:  'Branch target offset too large for short'
FATAL ERROR:  'Could not compile stylesheet'
Exception in thread "main" 
javax.xml.transform.TransformerConfigurationException: Could not compile 
stylesheet
        at 
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:828)
        at 
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:617)
        at xmleditor.XMLTransform.main(XMLTransform.java:40)
Java Result: 1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscr...@xml.apache.org
For additional commands, e-mail: xalan-dev-h...@xml.apache.org

Reply via email to