Base Latepymt Batch Program LATEPYMT (Java) Crashes in CCB (Doc ID 1297607.1)

Last updated on NOVEMBER 18, 2014

Applies to:

Oracle Utilities Customer Care and Billing - Version: 2.3.1 and later   [Release: 2.3 and later ]
Information in this document applies to any platform.

Goal


=== ODM Question ===

LATEPYMT batch program (java) crashes with OutOfMemoryError and does not produce run tree


15:56:47,154 [Thread-20:WorkProcessor$WorkRunner(WorkProcessor$WorkRunner:83007188-0e67-4932-bd76-b6bb81af79bc)] ERROR (com.splwg.base.support.grid.node.DistributedExecutionContext) An error has occurred while processing distributed grid work. A rollback will be issued. Processing of other work will continue.
java.lang.OutOfMemoryError
at java.util.ArrayList.ensureCapacity(ArrayList.java:195)
at java.util.ArrayList.addAll(ArrayList.java:501)
at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:199)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1122)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
at com.splwg.base.support.impl.QueryImpl.list(QueryImpl.java:253)
at com.splwg.ccb.domain.billing.batch.CreateLatePaymentChargesProcess.getBills(CreateLatePaymentChargesProcess.java:47)
at com.splwg.ccb.domain.billing.batch.CreateLatePaymentChargesProcess.getJobWork(CreateLatePaymentChargesProcess.java:35)
at com.splwg.base.support.batch.JavaJobExecuter.doStartNewRun(JavaJobExecuter.java:136)
at com.splwg.base.support.batch.JavaJobExecuter.startNewRun(JavaJobExecuter.java:108)
at com.splwg.base.support.batch.DistributedJobExecuter.submitInitialRun(DistributedJobExecuter.java:137)
at com.splwg.base.support.batch.DistributedJobExecuter.submitForExecution(DistributedJobExecuter.java:80)
at com.splwg.base.support.batch.JobExecuterWork$DoExecuteWorkInSession.doBatchWorkInSession(JobExecuterWork.java:60)
at com.splwg.base.support.batch.BatchWorkInSessionExecutable.run(BatchWorkInSessionExecutable.java:56)
at com.splwg.base.support.batch.JobExecuterWork.doExecuteWork(JobExecuterWork.java:46)
at com.splwg.base.support.grid.AbstractGridWork.executeWork(AbstractGridWork.java:69)
at com.splwg.base.support.grid.node.WorkProcessor$WorkRunner.runOutsideTransaction(WorkProcessor.java:257)
at com.splwg.base.support.grid.space.AbstractTask.run(AbstractTask.java:57)
at com.splwg.base.support.grid.space.ThreadPool$TaskRunner.run(ThreadPool.java:166)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Thread.java:811)


Solution

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