由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - Java 用xsl文件做xml转换时抛出ArrayIndexOutOfBoundException
相关主题
为什么免费空间里,自己网页的JAVA就显得不了?怎么解决?java编译的文件能不能作成可执行文件?
ft,我的java环境怎么变中文了?[转载] 如何用Fortran 或者c, java读excel文件?
c到java的转换还有java的怪异错误如何在java中用visual studio的icons
Linux下安装一个Java软件出现异常WSAD能用WAS做开发调试环境么?
Java fun菜鸟问题一问
java很快吗?比python 能快多少?谁用过JSOBJECT
上哪儿找中型的java代码想起几年前Re: run servlet from command line?
编.bat文件碰到的问题,怎样知道java bin目录在那里? 有啥办法?谢谢JCreator如何调试程序?
相关话题的讨论汇总
话题: transform话题: java
进入Java版参与讨论
1 (共1页)
J********r
发帖数: 36
1
如题,我试着减少xsl里的代码,程序就能正常运行了,感觉是XSL文件里的代码太
长了,但是又不能减少。一直调试不出来。 Stack Trace如下:
javax.xml.transform.TransformerException: java.lang.
ArrayIndexOutOfBoundsException: -1
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.
transform(TransformerImpl.java:716)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.
transform(TransformerImpl.java:313)
at preorder.XslResponseProcessor.transformResponse(XslResponseProcessor.
java:81)
at preorder.webservice.invoker.IaEdiInvoker.genericValidateAddress(
IaEdiInvoker.java:253)
at preorder.webservice.invoker.IaEdiInvoker.validateAddress(IaEdiInvoker
.java:123)
at preorder.webservice.AddressValidationByAddressRequest.
submitThisRequest(AddressValidationByAddressRequest.java:713)
at preorder.webservice.AddressPreorderRequest.submitRequest(
AddressPreorderRequest.java:179)
at preorder.webservice.GenericPreorderRequest.processRequest(
GenericPreorderRequest.java:108)
at preorder.webservice.AddressValidationByAddressRequest.main(
AddressValidationByAddressRequest.java:549)
Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
at com.sun.org.apache.xml.internal.dtm.ref.sax2dtm.SAX2DTM2._type2(
SAX2DTM2.java:1989)
at com.sun.org.apache.xml.internal.dtm.ref.sax2dtm.SAX2DTM2$
FollowingIterator.setStartNode(SAX2DTM2.java:1075)
at com.sun.org.apache.xalan.internal.xsltc.dom.StepIterator.setStartNode
(StepIterator.java:95)
at com.sun.org.apache.xalan.internal.xsltc.dom.StepIterator.setStartNode
(StepIterator.java:91)
at GregorSamsa.template$dot$0()
at GregorSamsa.applyTemplates()
at GregorSamsa.applyTemplates()
at GregorSamsa.applyTemplates()
at GregorSamsa.applyTemplates()
at GregorSamsa.transform()
at com.sun.org.apache.xalan.internal.xsltc.runtime.AbstractTranslet.
transform(AbstractTranslet.java:603)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.
transform(TransformerImpl.java:709)
... 8 more
---------
java.lang.ArrayIndexOutOfBoundsException: -1
at com.sun.org.apache.xml.internal.dtm.ref.sax2dtm.SAX2DTM2._type2(
SAX2DTM2.java:1989)
at com.sun.org.apache.xml.internal.dtm.ref.sax2dtm.SAX2DTM2$
FollowingIterator.setStartNode(SAX2DTM2.java:1075)
at com.sun.org.apache.xalan.internal.xsltc.dom.StepIterator.setStartNode
(StepIterator.java:95)
at com.sun.org.apache.xalan.internal.xsltc.dom.StepIterator.setStartNode
(StepIterator.java:91)
at GregorSamsa.template$dot$0()
at GregorSamsa.applyTemplates()
at GregorSamsa.applyTemplates()
at GregorSamsa.applyTemplates()
at GregorSamsa.applyTemplates()
at GregorSamsa.transform()
at com.sun.org.apache.xalan.internal.xsltc.runtime.AbstractTranslet.
transform(AbstractTranslet.java:603)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.
transform(TransformerImpl.java:709)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.
transform(TransformerImpl.java:313)
at preorder.XslResponseProcessor.transformResponse(XslResponseProcessor.
java:81)
at preorder.webservice.invoker.IaEdiInvoker.genericValidateAddress(
IaEdiInvoker.java:253)
at preorder.webservice.invoker.IaEdiInvoker.validateAddress(IaEdiInvoker
.java:123)
at preorder.webservice.AddressValidationByAddressRequest.
submitThisRequest(AddressValidationByAddressRequest.java:713)
at preorder.webservice.AddressPreorderRequest.submitRequest(
AddressPreorderRequest.java:179)
at preorder.webservice.GenericPreorderRequest.processRequest(
GenericPreorderRequest.java:108)
at preorder.webservice.AddressValidationByAddressRequest.main(
AddressValidationByAddressRequest.java:549)
1 (共1页)
进入Java版参与讨论
相关主题
JCreator如何调试程序?Java fun
请问哪位知道如何用Eclipse编译调试Glassfish么java很快吗?比python 能快多少?
跨平台调试一般怎么搞上哪儿找中型的java代码
Hibernate的优势具体体现在哪里?编.bat文件碰到的问题,怎样知道java bin目录在那里? 有啥办法?谢谢
为什么免费空间里,自己网页的JAVA就显得不了?怎么解决?java编译的文件能不能作成可执行文件?
ft,我的java环境怎么变中文了?[转载] 如何用Fortran 或者c, java读excel文件?
c到java的转换还有java的怪异错误如何在java中用visual studio的icons
Linux下安装一个Java软件出现异常WSAD能用WAS做开发调试环境么?
相关话题的讨论汇总
话题: transform话题: java