Inbound Invoice XML Failing With: "java.lang.NumberFormatException: For input string: <decimal number>"

(Doc ID 2000475.1)

Last updated on SEPTEMBER 26, 2016

Applies to:

Oracle Transportation Management - Version 6.0 and later
Information in this document applies to any platform.

Symptoms

Inbound Invoice XML failing due to the following error:

java.lang.NumberFormatException: For input string: <decimal number>
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Long.parseLong(Long.java:419)
at java.lang.Long.parseLong(Long.java:468)
at glog.integration.tools.DataConverter.convertStringToLong(DataConverter.java:503)
at glog.integration.application.invoice.PaymentSummaryWrapper.toPaymentSummaryData(PaymentSummaryWrapper.java:148)
at glog.integration.application.invoice.PaymentSummaryWrapper.mapSelf(PaymentSummaryWrapper.java:91)
at glog.integration.xmlbasewrapper.XmlBaseWrapper.map(XmlBaseWrapper.java:201)
at glog.integration.xmlbasewrapper.XmlBaseWrapperList.map(XmlBaseWrapperList.java:71)
at glog.integration.application.invoice.PaymentWrapper.mapChildren(PaymentWrapper.java:205)
at glog.integration.xmlbasewrapper.XmlBaseWrapper.map(XmlBaseWrapper.java:203)
at glog.integration.xmlbasewrapper.XmlBaseWrapper.persistViaContainer(XmlBaseWrapper.java:362)
at glog.integration.application.invoice.InvoiceInterface.persistXML(InvoiceInterface.java:41)
at glog.integration.application.BaseInterface.persistXMLBase(BaseInterface.java:195)
at glog.integration.application.TransactionProcessor.processTransaction(TransactionProcessor.java:223)
at glog.integration.application.TransactionProcessor.processTransaction(TransactionProcessor.java:353)
at glog.server.workflow.transproc.TransProc.execute(TransProc.java:110)
at glog.server.workflow.SimpleWorkflow.execute(SimpleWorkflow.java:23)
at glog.server.workflow.WorkflowSessionBean.execute(WorkflowSessionBean.java:64)
at glog.server.workflow.WorkflowSessionNonTransServerSideEJBWrapper.execute(WorkflowSessionNonTransServerSideEJBWrapper.java:38)
at glog.server.workflow.WorkflowSessionNonTransServerSideEJBWrapper_t6tuwu_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at glog.server.workflow.WorkflowSessionNonTransServerSideEJBWrapper_t6tuwu_EOImpl.execute(Unknown Source)
at glog.server.workflow.WorkflowManager.execute(WorkflowManager.java:352)
at glog.server.workflow.Trigger.trigger(Trigger.java:122)
at glog.util.event.MemoryEventQueueRunnable.processEvent(MemoryEventQueueRunnable.java:145)
at glog.util.event.MemoryEventQueueRunnable.run(MemoryEventQueueRunnable.java:100)
at glog.util.event.EventThread.run(EventThread.java:86)
at java.lang.Thread.run(Thread.java:662)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms