We have many files to process each day, therefore we want to start several processes to parse them in parallel.
When using one process we have no issue, but when we start few we get several kind of errors:
Invalid token in Proparse listing file. (followed by different token and line)
ArrayIndexOutOfBoundsException
I have impression that here are some fixed name files created by the proparse while processing source file. When running multiple processes these may be overwritten by other process, which generates this issue.
We are using proparse.dll version 4.1.0.1219.
Original Exception: Invalid token in Proparse listing file. Token: m Line: 262
org.prorefactor.refactor.RefactorException: Invalid token in Proparse listing file. Token: m Line: 262
at org.prorefactor.macrolevel.ListingParser.parse(ListingParser.java:259)
at org.prorefactor.treeparser.ParseUnit.parse(ParseUnit.java:272)
at org.prorefactor.treeparser.ParseUnit.parse(ParseUnit.java:226)
at org.prorefactor.treeparser.ParseUnit.treeParser01(ParseUnit.java:348)
at cli.Progress.ClrBridge.ClrApi.InvokeMethod(Unknown Source)
Original Exception: null
java.lang.ArrayIndexOutOfBoundsException
at org.prorefactor.macrolevel.ListingParser.parse(ListingParser.java:236)
at org.prorefactor.treeparser.ParseUnit.parse(ParseUnit.java:272)
at org.prorefactor.treeparser.ParseUnit.parse(ParseUnit.java:226)
at org.prorefactor.treeparser.ParseUnit.treeParser01(ParseUnit.java:348)
at cli.Progress.ClrBridge.ClrApi.InvokeMethod(Unknown Source)
Hi,
We have many files to process each day, therefore we want to start several processes to parse them in parallel.
When using one process we have no issue, but when we start few we get several kind of errors:
I have impression that here are some fixed name files created by the proparse while processing source file. When running multiple processes these may be overwritten by other process, which generates this issue.
We are using proparse.dll version 4.1.0.1219.