ACS/Export Fails With java.lang.NullPointerException When User Do Not Have Discovery Privlege For The Prior BOM (Doc ID 1396534.1)

Last updated on MAY 05, 2016

Applies to:

Oracle Agile PLM Framework - Version 9.3.1.1 and later
Information in this document applies to any platform.

Symptoms

When attempting to release one Change Order through ACS, the following error occurs for generated ATO

ERROR
-----------------------
Error: Unable to extract {0}. See the log for details

Also, ACS extraction fails due to destination error


ERROR IN APPLICATION SERVER LOG
-----------------------
11/09/27 18:41:33 java.lang.NullPointerException
11/09/27 18:41:33at com.agile.common.server.bo.handler.ItemHandler.loadBOMDetails(ItemHandler.java:927)
11/09/27 18:41:33at com.agile.common.server.bo.handler.ItemHandler.loadPriorBOMDetailsForItems(ItemHandler.java:868)
11/09/27 18:41:33at com.agile.common.server.bo.BOHome.loadPriorBOMDetailsForItems(BOHome.java:324)
11/09/27 18:41:33at com.agile.extract.server.AXMLService.processExport92(AXMLService.java:271)
11/09/27 18:41:33at com.agile.extract.server.ExtractService.processExport(ExtractService.java:334)
11/09/27 18:41:33at com.agile.extract.server.ExtractService.extract(ExtractService.java:284)
11/09/27 18:41:33at com.agile.acs.PCExtractTask$ExtractAction.run(PCExtractTask.java:2027)
11/09/27 18:41:33at java.security.AccessController.doPrivileged(Native Method)
11/09/27 18:41:33at javax.security.auth.Subject.doAs(Subject.java:337)


FACTS
-----------------------
- Happens for certain ECO

- When attempting to export the same change to PDX with the user that has same privilege with ACS subscriber role,
error: "NullPointerException" appears on Web Client window.
- The same ECO can be exported with the same user privilege on 9.2.2.x

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Create Items KP0001, KP0002, KP0003.
2. Add KP0002 to BOM of KP0001.
3. Create a Change Order KC0001 on KP0001.
4. Redline and replace BOM child KP0002 with KP0003.
6. Create a role that has all the privilege to create/modify/read/discover change and item except for the discover privilege for KP0002.
7. Set up ACS so that it will transfer ECO when status is released, and grant the role created in step 6.
8. Release the ECO KC0001 with revisions.

Changes

Upgraded to 9.3.1.1 or above

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