IBM Support

Null pointer exception in getOrderDetails when extended columns are nullable / getObjectFromRS / getOrderList

Troubleshooting


Problem

Null pointer exception in getOrderDetails when extended columns are nullable / getObjectFromRS / getOrderList

Symptom

getOrderDetails throws null pointer exception

The stack trace would be some thing like ...
java.lang.NullPointerException at com.yantra.shared.dbclasses.YFS_Order_LineDBHome.getObjectFromRS
------------ -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- --------------------------------------------------

Cause

Resolving The Problem

ALL EXTENDED COLUMNS SHOULD BE CREATED AS NOT NULL AND IT IS RECOMMENDED THEY HAVE A DEFAULT VALUE.

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

PRI49430

Product Synonym

[<p><b>]Fact[</b><p>];

Document Information

Modified date:
16 June 2018

UID

swg21546872