NullPointerException While Applying A Template To An Item To Set Lot Or Serial Control Attributes During Item Creation (Doc ID 2120207.1)

Last updated on JUNE 23, 2016

Applies to:

Oracle Product Hub - Version 12.2.4 and later
Information in this document applies to any platform.

Symptoms

When attempting to create a new item in PIM (Engineering item or not), it ends up in error if we apply some template containing item's lot attributes.
The following error occurs.

Error

Steps
The issue can be reproduced at will with the following steps:
1.  Create a new item in PIM with a template that includes Lot control = Full Control, Lot status enabled = Yes, Default Lot Status = Active

What was tried
Found the Note 1900928.1 which explains that the "Lot relative template's attributes" are the problem. After setting those attributes to "Not enabled" the item creation went well.
The note also suggests a Patch 18691876:R12.ITM.D that is supposed to fix the issue, but after applying it the behavior did not change.

Workaround
Uncheck the "Enable" checkbox of the "Default Lot Status" field, Error happens when this is checked.

Changes

Upgraded to 12.2.x

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