My Oracle Support Banner

Exporting an Item with BOM and Relationship to PDX or AXML Throws Java.Lang.NullpointerException (Doc ID 2481443.1)

Last updated on FEBRUARY 21, 2019

Applies to:

Oracle Agile Product Collaboration - Version 9.3.6.0 and later
Information in this document applies to any platform.

Symptoms

When attempting to export item object with BOM, the following error occurs.
The export fails only when exporting to PDX or aXML and works when exporting to Excel.

Error

Java.lang.NullPointerException The Page at https://agileplm.xxx.com An error occurred during export

Below error is generated in Agile Application Server log:
java.lang.NullPointerException
       at com.agile.common.server.bo.BOHandler$2.compare(BOHandler.java:4233)
       at com.agile.common.server.bo.BOHandler$2.compare(BOHandler.java:4229)
       at java.util.TimSort.countRunAndMakeAscending(TimSort.java:355)
       at java.util.TimSort.sort(TimSort.java:220)
       at java.util.Arrays.sort(Arrays.java:1512)
       at java.util.ArrayList.sort(ArrayList.java:1454)
       at java.util.Collections.sort(Collections.java:175)
       at com.agile.common.server.bo.BOHandler.loadRelationshipsForObjects(BOHandler.java:4229)
       at com.agile.common.server.bo.BOHome.loadRelationshipsForObjects(BOHome.java:706)
       at com.agile.extract.server.ExtractService.loadDetailsForItems(ExtractService.java:1928)
       at com.agile.extract.server.ExtractService.processItemTrees(ExtractService.java:1666)
       at com.agile.extract.server.ExtractService.processItemTree(ExtractService.java:1620)
       at com.agile.extract.server.PDXService.processExport92(PDXService.java:311)
       at com.agile.extract.server.ExtractService.processExport(ExtractService.java:403)
       at com.agile.extract.server.ExtractService.extract(ExtractService.java:348)
       at com.agile.extract.server.ExtractSessionBean.extractPDX(ExtractSessionBean.java:82)
       at com.agile.extract.server.ExtractSessionBean.extractPDX(ExtractSessionBean.java:72)
       at com.agile.extract.server.ExtractSessionBean_p64vlj_EOImpl.__WL_invoke(Unknown Source)
       at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:35)
       at com.agile.extract.server.ExtractSessionBean_p64vlj_EOImpl.extractPDX(Unknown Source)
       at com.agile.ui.pcm.lookup.ExportTask$1.run(ExportTask.java:112)
       at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
       at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:137)
       at weblogic.security.Security.runAs(Security.java:41)
       at com.agile.admin.vendor.weblogic.WeblogicServerAdapter.doAs(WeblogicServerAdapter.java:240)
       at com.agile.ui.pcm.lookup.ExportTask.performTask(ExportTask.java:155)
       at com.agile.ui.pcm.common.BackgroundTask.run(BackgroundTask.java:38)

Fact

Upgrading to Agile PLM 9.3.6.7.2 or 9.3.6.8 does not resolve the problem
All the Averify type E and C errors are corrected


Steps

The issue can be reproduced at will with the following steps:

  1. Login to Web Client
  2. Goto Tools > Export
  3. Select Format: aXML or PDF
  4. Add the problem item, and Next
  5. Make sure BOM and Relationship tab is included in the Item Filter, and Next
  6. Export

 

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
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.