Exporting an Item That Has a Red Question Mark (?) in Its BOM, an Errors are Thrown: "java.lang.NullPointerException" and "An Error Occurred During Export" (Doc ID 1363184.1)

Last updated on MARCH 10, 2017

Applies to:

Oracle Agile Product Collaboration - Version 9.3.1.0 to 9.3.1.2 [Release 9.3]
Oracle Agile PLM Framework - Version 9.3.1.0 to 9.3.1.2 [Release 9.3]
Information in this document applies to any platform.

Symptoms

When attempting to Export an Item/BOM, the following error occurs.

In User Interface:


"java.lang.NullPointerException"

"An error occurred during export"

 

In Application Server logs:

java.lang.NullPointerException
  at com.agile.common.server.bo.handler.ItemHandler.loadNextLevelBOMChildrenForItems(ItemHandler.java:1938)
  at com.agile.common.server.bo.handler.ItemHandler.loadBOMChildrenForItems(ItemHandler.java:345)
  at com.agile.common.server.bo.BOHome.loadBOMChildrenForItems(BOHome.java:281)
  at com.agile.extract.server.TextService.processItemTrees(TextService.java:787)
  at com.agile.extract.server.TextService.processExport92(TextService.java:431)
  at com.agile.extract.server.ExtractService.processExport(ExtractService.java:334)
  at com.agile.extract.server.ExtractService.extract(ExtractService.java:284)
  at com.agile.extract.server.TextService.extract(TextService.java:166)
  at com.agile.extract.server.ExtractSessionBean.extractText(ExtractSessionBean.java:177)
  at com.agile.extract.server.ExtractSessionBean.extractText(ExtractSessionBean.java:167)

 

WebLogic log:

####<Jul 18, 2013 2:17:26 PM CEST> <Error> <HTTP> <> <-AgileServer> <[ACTIVE] ExecuteThread: '23' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1374149846351> <BEA-101083> <Connection failure.
java.net.ProtocolException: Didn't meet stated Content-Length, wrote: '24576' bytes instead of stated: '28777' bytes.
at weblogic.servlet.internal.ServletOutputStreamImpl.ensureContentLength(ServletOutputStreamImpl.java:425)
at weblogic.servlet.internal.ServletResponseImpl.ensureContentLength(ServletResponseImpl.java:1451)
at weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:1494)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1441)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
...


The issue can be reproduced at will with the following steps:
1. Log into Agile web client
2. Search for a Part that has a red ? mark in its BOM
3. Run BOM All Level Export

Changes

Upgraded to 9.3.1.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