J*r
2 楼
如题,我试着减少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)
长了,但是又不能减少。一直调试不出来。 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)
w*t
3 楼
就是写一个publisher
相关阅读
美国能源部下属的国家实验室哪个最牛???????请问跟物理靠得比较近的工程方向Postdoctoral Position for Heat pipe modeling or two-phase heat transfer modeling求懂傅里叶变换的大侠帮忙看两张图!有没有学发电或者电厂管理,能源之类的兄弟IEEE Transactions on XXX 需要是member才能投稿吗?咨询一下kinesiology请问thin film pilot line是什么?中文怎么翻?A Postdoctoral Position in MS&E有人能介绍一下UPENN Image Computing & Science Lab的情况么?文章发在哪儿?有没有人用过imageJ工业工程就业请问化工哪个方向最吃香? (转载)有没有做nanoindentation实验,测杨氏模量的 (转载)请教Solid State 转 Powersolidworks设计真空腔 (转载)请问考哪方向的PE有更大的用途?我是HVAC专业,考CIVIL 水还是MECHANICAL,HVACERP是应该选择SAP还是Oracle好呢?打算选择“钢铝轧制复合界面”做我的博士课题,高手们有什么建议吗