My Oracle Support Banner

Buyer Work Center - Orders - Create Purchase Order - java.lang.Exception: Assertion failure: orgId cannot be null (Doc ID 2629022.1)

Last updated on MARCH 20, 2025

Applies to:

Oracle Purchasing - Version 12.2.8 and later
Information in this document applies to any platform.

Symptoms

Using Purchasing, Version 12.2


Actual:
Creating the purchase order in the buyer work center results in error.

Expected:
The creation process should be completing without any errors.

Error:
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1499)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:263)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
## Detail 0 ##
java.lang.Exception: Assertion failure: orgId cannot be null
at oracle.apps.po.common.Assert.fail(Assert.java:79)
at oracle.apps.po.common.Assert.assertTrue(Assert.java:37)
at oracle.apps.po.common.Assert.assertNotNull(Assert.java:305)
at oracle.apps.po.common.server.OperatingUnitInfoHelper.getPoOperatingUnitInfo(OperatingUnitInfoHelper.java:96)
at oracle.apps.po.common.server.OperatingUnitInfoHelper.getPoOperatingUnitInfo(OperatingUnitInfoHelper.java:140)
at oracle.apps.po.document.server.BaseDocControlActions.isManageTaxValid(BaseDocControlActions.java:9615)
at oracle.apps.po.document.server.BaseDocControlActions.isValidAction(BaseDocControlActions.java:2439)


Replication Steps:
The issue can be reproduced at will with the following steps:
1. Buyer work center - orders tab
2. Create standard purchase order using the upper right drop down
3. Error is encountered immediately



Changes

 Patches were applied that brought the purchasing code level to 12.2.9.

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.