尝试将XML转换为平面文件时收到此错误。我在Infor Life Cycle Manager中收到此错误。有人遇到过吗?
我已经查看了GETMBMInfo函数,但无法发现任何东西。
The function /GetMBMInfo generated an exception.
该函数的输入是: iMBM_Date:'20181008' iMBM_CONO:“ 888” iMBM_DIVI:“ B85” iMBM_PYNO:“ 1A999” iMBM_YEA4:“ 2019” iMBM_IVNO_F:'011111111' iMBM_IVNO_T:“ 011111111” 在Mvx12_COI_Out_TRADACOMS_INVOIC_WAT_NE_v1_3 $ FGetMBMInfo.run (Mvx12_COI_Out_TRADACOMS_INVOIC_WAT_NE_v1_3.java:3136) 位于Mvx12_COI_Out_TRADACOMS_INVOIC_WAT_NE_v1_3.mapMain (Mvx12_COI_Out_TRADACOMS_INVOIC_WAT_NE_v1_3.java:416) 在com.intentia.ec.mapper.XMLMapperAxiom.buildDoc (XMLMapperAxiom.java:349) 在com.intentia.ec.mapper.Mapping.runMappping(Mapping.java:338) 在com.intentia.ec.server.process.XMLTransformProcess.process (XMLTransformProcess.java:88)
com.intentia.ec.server.process.ProcessDispatcher$ProcessWorker.runWork(ProcessDispatcher.java:162)
at com.intentia.ec.server.ServiceThread.run(ServiceThread.java:48)
at java.lang.Thread.run(Thread.java:745)
Nested exception:
java.lang.StringIndexOutOfBoundsException: String index out of
range: -23
at java.lang.String.substring(String.java:1911)
at Mvx12_COI_Out_TRADACOMS_INVOIC_WAT_NE_v1_3$FGetMBMInfo.run
(Mvx12_COI_Out_TRADACOMS_INVOIC_WAT_NE_v1_3.java:3122)
at Mvx12_COI_Out_TRADACOMS_INVOIC_WAT_NE_v1_3.mapMain
(Mvx12_COI_Out_TRADACOMS_INVOIC_WAT_NE_v1_3.java:416)
at com.intentia.ec.mapper.XMLMapperAxiom.buildDoc
(XMLMapperAxiom.java:349)
at com.intentia.ec.mapper.Mapping.runMappping(Mapping.java:338)
at com.intentia.ec.server.process.XMLTransformProcess.process
(XMLTransformProcess.java:88)
at
com.intentia.ec.server.process.ProcessDispatcher$ProcessWorker.runWork(ProcessDispatcher.java:162)
at com.intentia.ec.server.ServiceThread.run(ServiceThread.java:48)
at java.lang.Thread.run(Thread.java:745)