I’ve been generating C++ files from my class model and VP has suddenly stopped producing files for some of the classes. However, the code generation process still appears to run without issue. Is there a log file somewhere on disk that will give me a hint as to what is going wrong?
The following error is repeated several times in the log when I generate C++ sources:
[2019/02/05 09:22:34] [error] java.lang.IndexOutOfBoundsException: Index 0 out-of-bounds for length 0
at java.base/jdk.internal.util.Preconditions.outOfBounds(Unknown Source)
at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Unknown Source)
at java.base/jdk.internal.util.Preconditions.checkIndex(Unknown Source)
at java.base/java.util.Objects.checkIndex(Unknown Source)
at java.base/java.util.ArrayList.get(Unknown Source)
[2019/02/05 09:22:34] [warning] v.gu.dt: Parse error at line 3, column 81. Encountered: (
Can anyone from VP tell me what’s going on and how to fix it? I can give you the vpp file if that makes reproducing the issue easier.
Operation’s template parameter missing type in model, it was fixed to handle this case and will be available in next hotfix.
VP failed to parse a file. Can you find error message in message pane? There should be an error “Error synchronizing to implementation file:” showing the file name, problem at around line 3 “(” character.
I would like to let you know the first problem mentioned by Kit (fail to handle code generation when operation’s template parameter missing type) problem has been fixed. Please update the software to latest patch build (20190230bg or later) to get the problem fixed. Details about update to latest patch can be found at
Please make sure you have pressed the “Update to latest patch” button on the left hand side of the dialog right after launching the update program
Feel free to contact me if you require any further information.