ORA-01722: invalid number Error Received When Using a Rate Offering Type of "AIR_DISPLAY" (Doc ID 1290404.1)

Last updated on SEPTEMBER 08, 2016

Applies to:

Oracle Transportation Operational Planning - Version: 6.2.0 and later   [Release: 6.2 and later ]
Information in this document applies to any platform.

Symptoms


When using a rate offering type of AIR-DISPLAY, the following error is seen in the logs:

ERROR
-----------------------
java.sql.SQLSyntaxErrorException: ORA-01722: invalid number

at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:791)
at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:866)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1187)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3430)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1491)
at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:135)
at glog.util.jdbc.noserver.SqlPreparedStatement.executeQuery(SqlPreparedStatement.java:34)
at glog.util.jdbc.noserver.SqlQuery.executeQuery(SqlQuery.java:161)
at glog.util.jdbc.noserver.SqlQuery.resetArguments(SqlQuery.java:136)
at glog.util.jdbc.noserver.SqlQuery.open(SqlQuery.java:106)
at glog.business.shipment.TShipmentCost.loadTShipmentCostDetails(TShipmentCost.java:785)
at glog.business.shipment.TShipmentInfCost.loadTShipmentCostDetails(TShipmentInfCost.java:220)
at glog.business.shipment.TShipmentInfCost.<init>(TShipmentInfCost.java:180)
at glog.business.shipment.TShipment.calcDisplayRates(TShipment.java:5002)
at glog.business.shipment.TShipment.applyRateEngineResult(TShipment.java:4824)
at glog.business.serviceprovider.ServiceProviderAssigner.assignServiceProviderUsingRateEngineResults(ServiceProviderAssigner.java:916)
at glog.business.serviceprovider.ServiceProviderAssigner.assignLeastCostServiceProvider(ServiceProviderAssigner.java:584)
at glog.business.equipment.EquipmentAssigner.getLeastCostTShipment(EquipmentAssigner.java:906)
at glog.business.equipment.EquipmentAssigner.assignBestEquipmentGroup(EquipmentAssigner.java:650)
at glog.business.equipment.EquipmentAssigner.assignEquipmentGroupInternal(EquipmentAssigner.java:185)
at glog.business.equipment.EquipmentAssigner.assignEquipmentGroup(EquipmentAssigner.java:89)
at glog.business.shipment.MiniShipmentBuilder.constructTShipment(MiniShipmentBuilder.java:727)
at glog.business.shipment.MiniShipmentBuilder.buildTShipment(MiniShipmentBuilder.java:126)
at glog.business.consolidation.bulkplan.BuildShipmentTask.executePlanning(BuildShipmentTask.java:23)
at glog.business.util.PlanningTask.execute(PlanningTask.java:14)
at glog.server.workflow.tasklist.Task.perform(Task.java:51)
at glog.server.workflow.tasklist.TaskList.executeInCallerThread(TaskList.java:117)
at glog.business.util.PlanningTaskList.executeInCallerThread(PlanningTaskList.java:83)
at glog.server.workflow.tasklist.TaskList.execute(TaskList.java:97)
at glog.server.workflow.tasklist.TaskList.execute(TaskList.java:158)
at glog.business.consolidation.bulkplan.PoolXDockPlanner.buildDirectShipmentsUsingMiniShipmentBuilder(PoolXDockPlanner.java:12367)
at glog.business.consolidation.bulkplan.PoolXDockPlanner.makeDirectShipmentsForSmallBundles(PoolXDockPlanner.java:12294)
at glog.business.consolidation.bulkplan.PoolXDockPlanner.makeDirectTShipments(PoolXDockPlanner.java:1116)
at glog.business.consolidation.bulkplan.PoolXDockPlanner.bulkPlan(PoolXDockPlanner.java:564)
at glog.business.consolidation.bulkplan.OrderPlanner.bulkPlan(OrderPlanner.java:342)
at glog.business.action.order.OrderActions.planUnassignedOrders(OrderActions.java:886)
at glog.business.action.order.BulkPlanActionExecutor.planOrders(BulkPlanActionExecutor.java:287)
at glog.business.action.order.BulkPlanActionExecutor.planOrders(BulkPlanActionExecutor.java:117)
at glog.business.session.OrderActionSessionBean.planOrders(OrderActionSessionBean.java:1170)
at glog.business.session.OrderActionSessionServerSideEJBWrapper.planOrders(OrderActionSessionServerSideEJBWrapper.java:1290)
at glog.business.session.OrderActionSessionHome_likuwd_EOImpl.planOrders(OrderActionSessionHome_likuwd_EOImpl.java:4665)
at glog.server.workflow.adhoc.BulkPlan.executeOrder(BulkPlan.java:65)
at glog.server.workflow.adhoc.BulkPlan.execute(BulkPlan.java:49)
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.execute(WorkflowSessionNonTransServerSideEJBWrapper_t6tuwu_EOImpl.java:134)
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:146)
at glog.util.event.MemoryEventQueueRunnable.run(MemoryEventQueueRunnable.java:98)
at glog.util.event.EventThread.run(EventThread.java:82)
at java.lang.Thread.run(Thread.java:619)



STEPS
-----------------------
The issue can be reproduced at will with the following steps:

Setup:
1. Create a Rate Offering containing a rate offering type of “AIR–DISPLAY”.

To Replicate:
1. Log into OTM 6.1.
2. Search for an Order Release which would plan to the rate offering created.
3. Select the Order and go to Actions --> Operational Planning --> Create Buy Shipment --> Bulk Plan Buy.
4. Click OK.
5. Click OK.
6. Refresh to view the results and note the order fails to build. When viewing the logs, note the error shown above is seen.

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