N/APosted on - 09/07/2012
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.
How execute product selection script ?
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.