Proparse Null Pointer Exception

We think we have found a smoking gun for at least some categories of the Null Pointer Exception problem

2 21 FUNCTION fn-SAA-Complete RETURNS LOGICAL
2 22 (BUFFER ib-TIS FOR {&INC-TIS-TABLE}tt-TIS,
2 23 BUFFER ib-SAA FOR {&INC-SAA-TABLE}lb-Inc-SAA-StatusDescID) :

This from the listing to show the resolution of the parameters.

Is buffer arguments to functions something new?


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
tamhas's picture

This turns out to be a

This turns out to be a misunderstanding. It isn't that this produces a null pointer exception, but that it produces an error in the log of the buffer name not being found in the lookup of buffer name to table name. This is actually expected behavior since I hadn't thought to capture indirect definitions like buffer parameters. So, I am now in the process of fixing this.