-
Notifications
You must be signed in to change notification settings - Fork 92
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
Max recursion exceeded in code generation for variable type #127
Comments
It is allowed in OPC UA, however, many technically permitted constructs are problematic for code generators. The ModelCompiler does not support this kind of recursion and it is not clear at this point if it possible to support but that will require more investigation. Is this a published companion specification nodeset? |
Not yet, it is a release candidate. It is the "OPC UA for Machine Vision - Part 2 AMCM" The problematic variable type node is SEMI_E10SystemStateType. |
The WG should provide the OPC-F with an RC to see if the ModelCompiler can be updated before to release. |
Could you please provide me the contact information to where I need to send the nodeset ? |
Sorry this issue was missed. |
Hello,
I am trying to compile a node set that uses an information model that has a variable type that reference itself as an optional component e.i. the variable can have a component of itself.
When I run the compiler I get the error "max recursion exceeded. Check model." Because of this error the classes are not generated. The funny thing is that it shows the error as in another property on the variable type and not in the optional recursive component which would be deceiving to most people.
As far as I know this type of recursion is allow inside OPC UA.
The text was updated successfully, but these errors were encountered: