Reviewed by: TopLink Team
Description: NPE is caused by processing the null PK being extracted from referenced target with null values in database. Issue has been resolved by adding IF condition.
Test: Passed the entity-persistence-tests.
Cheers, kyle