How execute product selection script ?

Asked By 10 points N/A Posted on -
qa-featured

Hi Experts,

I am having a prodcut selection script in visual basic. I want to know how to execute the code with the given parameters. When I execute the code I am getting null pointer exception. Advice me how to avoid this.

Thanks.

Regards,

Desireenataliaa

SHARE
Answered By 0 points N/A #131468

How execute product selection script ?

qa-featured

Hi,

There are two possibilities of this error, first one when there is method invocation involved in it and the method return the null value in some cases which is not received properly in the other end. Or in few cases you passed the value of methods argument as null. To find the accurate location where your system throw error use system.debug() in your code after then check your debug logs.

Second possibility while inserting, you are missing the value of a mandatory field. Most probably it's the second possibility.

 

Related Questions