You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/09/04 18:41:51 UTC
DO NOT REPLY [Bug 12308] New: -
Instantiation of a XSLTC Translet may throw a VerifyError.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12308>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12308
Instantiation of a XSLTC Translet may throw a VerifyError.
Summary: Instantiation of a XSLTC Translet may throw a
VerifyError.
Product: XalanJ2
Version: 2.4
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Blocker
Priority: Other
Component: org.apache.xalan.xsltc
AssignedTo: xalan-dev@xml.apache.org
ReportedBy: aspaans@smarttime.com
There's a test case (will be attached through a zip-file attached to this bug)
whose XSL-file is compiled by the XSLTC correctly into a
javax.xml.transform.Templates instance (internal Java Class), but whose
instantiation into a javax.xml.transform.Transformor (internal Java Object)
will throw a java.lang.VerifyError:
This is the reported exception:
java.lang.VerifyError: (class: test, method: POP_UP signature:
(Lorg/apache/xalan/xsltc/DOM;Lorg/apache/xalan/xsltc/NodeIterator;Lorg/apache/xa
lan/xsltc/TransletOutputHandler;I)V) Expecting to find object/array on stack
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:232)
at org.apache.xalan.xsltc.trax.TemplatesImpl.getTransletInstance
(TemplatesImpl.java:311)
at org.apache.xalan.xsltc.trax.TemplatesImpl.newTransformer
(TemplatesImpl.java:338)
at com.probusiness.mvc.render.XSLRender.main(XSLRender.java:125)
Exception in thread "main"
This exception/error can be surpressed by running the JVM with the parameter "-
Xverify:none". This will work in most cases, but then a NullPointer exception
will be thrown instead at times (i have not test-case for this one):
ava.lang.NullPointerException
at org.apache.xalan.xsltc.dom.CurrentNodeListIterator.<init>
(CurrentNodeListIterator.java:90)
at tc_summary_list.POP_UP()
at tc_summary_list.applyTemplates()
at tc_summary_list.applyTemplates12()
at tc_summary_list.applyTemplates()
at tc_summary_list.applyTemplates()
at tc_summary_list.applyTemplates()
at tc_summary_list.applyTemplates()
at tc_summary_list.transform()
at org.apache.xalan.xsltc.runtime.AbstractTranslet.transform
(AbstractTranslet.java:491)
at org.apache.xalan.xsltc.trax.TransformerImpl.transform
(TransformerImpl.java:635)
at org.apache.xalan.xsltc.trax.TransformerImpl.transform
(TransformerImpl.java:256)
at ...
at ...
The runtime environment is:
Sun JDK 1.3.1 (tried 1.3.1_01, 1.3.1_02-b02 and 1.3.1_04-b02)
Xalan-J2 2.4.0
Xerces-2 2.1.0
Thanks.
-- Anton Spaans.