My Oracle Support Banner

StockReturnService Webservice Fails With 'java.lang.NumberFormatException' (Doc ID 3057851.1)

Last updated on NOVEMBER 07, 2024

Applies to:

Oracle Retail Store Inventory Management - Version 14.1.3 to 14.1.3 [Release 14.1]
Information in this document applies to any platform.

Symptoms

When attempting to send external_id field with value as RTV-xxxxxx-xx in the StockReturnService.saveReturn method, RTVCre outbound message fails with the following error occurs.

ERROR

------------
Caused by: oracle.retail.sim.common.core.SimServerException: Error publishing RIB message!
at oracle.retail.sim.intrib.publisher.SimMessageRibPublisher.handleMessage(Unknown Source)
at oracle.retail.sim.server.integration.publisher.SimMessagePublisherFactory.publish(Unknown Source)
... 59 more
Caused by: java.lang.NumberFormatException: For input string: "RTV-20240911-01"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Long.parseLong(Long.java:589)
at java.lang.Long.parseLong(Long.java:631)
at oracle.retail.sim.intrib.mapper.RTVDescMapper.mapFromDEO(Unknown Source)
at oracle.retail.sim.intrib.mapper.RTVDescMapper.mapFromDEO(Unknown Source)
at oracle.retail.sim.server.integration.SimMessageMapperFactory.mapFromDEO(Unknown Source)
... 61 more




Steps to Reproduce:

Call the StockReturnService web service for saveReturn

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.