Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buffer parameter for buffer #50

Open
DanielBaciu opened this issue Aug 13, 2021 · 2 comments
Open

Buffer parameter for buffer #50

DanielBaciu opened this issue Aug 13, 2021 · 2 comments

Comments

@DanielBaciu
Copy link

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.

@mikefechner
Copy link
Member

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?

@DanielBaciu
Copy link
Author

DanielBaciu commented Aug 13, 2021

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)

bufferproparse.p.txt

bufferproparse.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants