Java.lang.NullPointException Error - New UI - 4.0.4

Posted by IramK on 20-Jan-2016 06:23

Hello,

I have two objects A and B and they have a relationship of many to one (A:Many and B:one). There is a field in B called as Trading currency that is a template text field and I am accessing this field in record A as a related field also called as trading currency. Now if I select a related record B when creating a new record A, the trading currency is set properly. However, if I do not select a related record B when creating a new record A, the trading currency comes back with a java.lang.nullPointException error on the field in the View page after creation. The trading currency should just be empty if no related record B is selected. Could someone confirm to me that this is a known issue please?

Cheers.

Iram

Posted by Thierry Ciot on 26-Jan-2016 08:48
4.0.6 or 4.1 (Feb or March timeframe)
 
 

All Replies

Posted by Anoop Premachandran on 20-Jan-2016 07:45

Any NPE shown in UI is a bug. Can you share the entire stacktrace as part  of a bug submission ?

Posted by IramK on 25-Jan-2016 10:46

Hello [mention:a4e7167da39949a1b39ceb787f1f2293:e9ed411860ed4f2ba0265705b8793d05],

Kindly advise on how I can generate a stack trace for a related field value being set on a view page using Chrome debugging tools. Looking forward to your reply.

Cheers.

Iram

Posted by Chandrasekhar Gontla on 25-Jan-2016 13:04

Hi Iram,

I am able to reproduce it.

Thanks for catching it.

We will fix it and let you know the update.

For reference: TP #32305

Regards,

Chandu.

Posted by IramK on 26-Jan-2016 06:05

Hello Chandu,

Thanks for the confirmation. Could you kindly let me know as to which version I can expect this to be fixed in please?

Cheers.

Iram

Posted by Thierry Ciot on 26-Jan-2016 08:48
4.0.6 or 4.1 (Feb or March timeframe)
 
 
This thread is closed