My Oracle Support Banner

R12: AP: Accounts Payable Trial Balance Completes In Error"java.lang.NullPointerException" (Doc ID 2860647.1)

Last updated on APRIL 12, 2022

Applies to:

Oracle Payables - Version 12.2.10 and later
Information in this document applies to any platform.

Symptoms

Accounts Payable Trial Balance completes in
Java Null Pointer Exception error.

ERROR
-----------------------
Log file shows

+--------------------------------------------------------------------------+
Payables: Version : 12.2
Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
APTBRPT: Accounts Payable Trial Balance
+---------------------------------------------------------------------------+
Current system time is 01-APR-2022 10:51:56
+---------------------------------------------------------------------------+

CP main executing runProgram for oracle.apps.xdo.oa.cp.JCP4XDODataEngine
XDO Data Engine Version No: 10.1.3.4.2
Resp: 50240
Org ID : 106
Request ID: 296043594

All Parameters: P_APPLICATION_ID=200:P_SECURITY_ID_INT_1=106:P_DEFINITION_CODE=AP_1001:P_JOURNAL_SOURCE=Payables:P_START_DATE="1950/01/01 00:00:00":P_AS_OF_DATE="2022/03/31 00:00:00":P_THIRD_PARTY_ID=:P_SHOW_TRX_DETAIL_FLAG=N:P_INCL_WRITE_OFF_FLAG=N:P_COA_ID=50396:P_ACCOUNT_FROM=:P_ACCOUNT_TO=:P_ACCT_BALANCE=YEAR_TO_DATE
:P_SECURITY_FLAG=Y:P_VALUATION_METHOD=:P_SECURITY_ID_CHAR_1=:P_CUSTOM_PARAM_1=:P_CUSTOM_PARAM_2=:P_CUSTOM_PARAM_3=:P_INCLUDE_SLA_MANUALS_UNPOSTED=N
:P_INC_SLA_MANUALS_UNPOSTED=No:P_REPORT=D:P_REPORT_STYLE=Detail

Data Template Code: APTBRPT
Data Template Application Short Name: SQLAP
Debug Flag: N

{P_INCL_WRITE_OFF_FLAG=N, P_COA_ID=50396, P_INCLUDE_SLA_MANUALS_UNPOSTED=N, P_REPORT_STYLE=Detail, P_AS_OF_DATE=2022/03/31 00:00:00, P_INC_SLA_MANUALS_UNPOSTED=No
, P_DEFINITION_CODE=AP_1001, P_ACCT_BALANCE=YEAR_TO_DATE, P_VALUATION_METHOD=, P_THIRD_PARTY_ID=, P_SECURITY_ID_INT_1=106, P_SECURITY_FLAG=Y, P_ACCOUNT_FROM=
, P_START_DATE=1950/01/01 00:00:00, P_SHOW_TRX_DETAIL_FLAG=N, P_REPORT=D, P_CUSTOM_PARAM_3=, P_JOURNAL_SOURCE=Payables, P_CUSTOM_PARAM_2=, P_CUSTOM_PARAM_1=
, P_SECURITY_ID_CHAR_1=, P_APPLICATION_ID=200, P_ACCOUNT_TO=}

Calling XDO Data Engine...
java.lang.NullPointerException
at java.io.File.(File.java:289)
at oracle.apps.xdo.dataengine.DEUtil.getTempFile(Unknown Source)
at oracle.apps.xdo.dataengine.DEUtil.getXDOTempFile(Unknown Source)
at oracle.apps.xdo.dataengine.ScalableStringList.initSessionIfNecessary(Unknown Source)
at oracle.apps.xdo.dataengine.StringList.(Unknown Source)
  ...
  ...
[040122_110020401][][STATEMENT] 1: P_REPORT_DEFINITION_DSP:Liabilities Payable, NBL
[040122_110020412][][STATEMENT] 2: P_JOURNAL_SOURCE_DSP:Payables
[040122_110020412][][STATEMENT] 3: P_START_DATE:1950-01-01 00:00:00.0
[040122_110020412][][STATEMENT] 4: P_AS_OF_DATE:2022-03-31 00:00:00.
[040122_110020433][][STATEMENT] 5: P_THIRD_PARTY_NAME:null
[040122_110020437][][STATEMENT] 6: P_SHOW_TRX_DETAIL_DSP:null
[040122_110020447][][STATEMENT] 7: P_INCL_WRITE_OFF_DSP:null
[040122_110020447][][STATEMENT] 8: P_ACCOUNT_FROM:null
[040122_110020447][][STATEMENT] 9: P_ACCOUNT_TO:null
[040122_110020450][][STATEMENT] 10: P_ACCT_BALANCE_DSP:Year to Date
[040122_110020451][][STATEMENT] 11: P_REPORT_MODE_DSP:Detail
java.lang.NullPointerException
at oracle.apps.xdo.dataengine.ScalableStringList.cleanup(Unknown Source)
at oracle.apps.xdo.dataengine.XMLPGEN.processXML(Unknown Source)
at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(Unknown Source)


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Login using Payables responsibility.
2. Open the Standard Request Submission (SRS) screen.
3. Run the Payables Trial Balance Report.
4. Request completes in Error

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.