Open DanielBaciu opened 3 years ago
Please include the complete error message (no error message is complete without stack-trace). Please indicate which Proparse release you are using.
Are you intending to fix this yourself and issue a pull request?
I'm using proparse.dll version 4.1.0.1219. Please fix it if possible.
The complete error stack is:
T-070124 1 4GL PsrHelp Original Exception: null
T-070124 1 4GL PsrHelp
T-070124 1 4GL PsrHelp java.lang.NullPointerException
T-070124 1 4GL PsrHelp at com.joanju.proparse.SymbolScope.defBuffer(SymbolScope.java:76)
T-070124 1 4GL PsrHelp at com.joanju.proparse.ParserSupport.defBuffer(ParserSupport.java:114)
T-070124 1 4GL PsrHelp at com.joanju.proparse.ProParser.function_param(ProParser.java:44140)
T-070124 1 4GL PsrHelp at com.joanju.proparse.ProParser.function_params(ProParser.java:32566)
T-070124 1 4GL PsrHelp at com.joanju.proparse.ProParser.functionstate(ProParser.java:9048)
T-070124 1 4GL PsrHelp at com.joanju.proparse.ProParser.statement(ProParser.java:2775)
T-070124 1 4GL PsrHelp at com.joanju.proparse.ProParser.blockorstate(ProParser.java:560)
T-070124 1 4GL PsrHelp at com.joanju.proparse.ProParser.program(ProParser.java:120)
T-070124 1 4GL PsrHelp at com.joanju.proparse.DoParse.doParse(DoParse.java:202)
T-070124 1 4GL PsrHelp at org.prorefactor.treeparser.ParseUnit.parse(ParseUnit.java:270)
T-070124 1 4GL PsrHelp at org.prorefactor.treeparser.ParseUnit.parse(ParseUnit.java:226)
T-070124 1 4GL PsrHelp at org.prorefactor.treeparser.ParseUnit.treeParser01(ParseUnit.java:348)
T-070124 1 4GL PsrHelp at cli.Progress.ClrBridge.ClrApi.InvokeMethod(Unknown Source)
Although is not best practice, we have the following piece of code which is compiling but is not supported by proparse.
define buffer bufCustomer for Customer.
function CreatieLijst returns logical private ( BUFFER pbufCustomer for bufCustomer): return true. end function.
Original Exception: null
Thank you for checking.