-
Notifications
You must be signed in to change notification settings - Fork 62
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
I generated cpp files from DDS_Data.idl file . and error occured. it's report imformation likes below. please give me a help! #398
Comments
Hi @senses1, thanks for your report. |
openjdk version "19.0.2" 2023-01-17 IDL content is below: //机器人位姿 //机器人轮速 //机器人速度 //机器人码盘值 // 车体参数 |
addtionally |
Hi @senses1, I could not reproduce your issue, but your idl is malformed. |
thanks @JesusPoderoso ,but I make the idl simple like: |
I move back to 2.2.1 ,it does not show this error infomation . |
Hi @senses1, |
Thanks for reply @JesusPoderoso , I had to heading to lcm lib at that time, and I would replace lcm with fastDDS when it work properly in my system. |
/home/people/Fast-DDS-Gen-master/scripts# ./fastddsgen ./DDS_Data.idl
openjdk version "19.0.2" 2023-01-17
OpenJDK Runtime Environment (build 19.0.2+7-Ubuntu-0ubuntu322.04)
OpenJDK 64-Bit Server VM (build 19.0.2+7-Ubuntu-0ubuntu322.04, mixed mode, sharing)
Processing the file DDS_Data.idl...
ERROR: context [/struct_type /extensibility] 1:5 no such property or can't access: com.eprosima.fastdds.idl.parser.typecode.StructTypeCode.annotationExtensibilityNotApplied
Caused by: org.stringtemplate.v4.misc.STNoSuchPropertyException: no such property: com.eprosima.fastdds.idl.parser.typecode.StructTypeCode.annotationExtensibilityNotApplied
at org.stringtemplate.v4.misc.ObjectModelAdaptor.throwNoSuchProperty(ObjectModelAdaptor.java:163)
at org.stringtemplate.v4.misc.ObjectModelAdaptor.getProperty(ObjectModelAdaptor.java:87)
at org.stringtemplate.v4.Interpreter.getObjectProperty(Interpreter.java:1222)
at org.stringtemplate.v4.Interpreter._exec(Interpreter.java:216)
at org.stringtemplate.v4.Interpreter.exec(Interpreter.java:151)
at org.stringtemplate.v4.Interpreter.writeObject(Interpreter.java:755)
at org.stringtemplate.v4.Interpreter.writeObjectNoOptions(Interpreter.java:687)
at org.stringtemplate.v4.Interpreter._exec(Interpreter.java:291)
at org.stringtemplate.v4.Interpreter.exec(Interpreter.java:151)
at org.stringtemplate.v4.ST.write(ST.java:432)
at com.eprosima.idl.generator.manager.TemplateGroup.setAttribute(TemplateGroup.java:100)
at com.eprosima.idl.parser.grammar.IDLParser.specification(IDLParser.java:352)
at com.eprosima.fastdds.fastddsgen.parseIDL(fastddsgen.java:867)
at com.eprosima.fastdds.fastddsgen.process(fastddsgen.java:697)
at com.eprosima.fastdds.fastddsgen.execute(fastddsgen.java:466)
at com.eprosima.fastdds.fastddsgen.main(fastddsgen.java:1641)
ERROR: context [/struct_type /extensibility] 1:5 no such property or can't access: com.eprosima.fastdds.idl.parser.typecode.StructTypeCode.annotationExtensibilityNotApplied
Caused by: org.stringtemplate.v4.misc.STNoSuchPropertyException: no such property: com.eprosima.fastdds.idl.parser.typecode.StructTypeCode.annotationExtensibilityNotApplied
at org.stringtemplate.v4.misc.ObjectModelAdaptor.throwNoSuchProperty(ObjectModelAdaptor.java:163)
at org.stringtemplate.v4.misc.ObjectModelAdaptor.getProperty(ObjectModelAdaptor.java:87)
at org.stringtemplate.v4.Interpreter.getObjectProperty(Interpreter.java:1222)
at org.stringtemplate.v4.Interpreter._exec(Interpreter.java:216)
at org.stringtemplate.v4.Interpreter.exec(Interpreter.java:151)
at org.stringtemplate.v4.Interpreter.writeObject(Interpreter.java:755)
at org.stringtemplate.v4.Interpreter.writeObjectNoOptions(Interpreter.java:687)
at org.stringtemplate.v4.Interpreter._exec(Interpreter.java:291)
at org.stringtemplate.v4.Interpreter.exec(Interpreter.java:151)
at org.stringtemplate.v4.ST.write(ST.java:432)
at com.eprosima.idl.generator.manager.TemplateGroup.setAttribute(TemplateGroup.java:100)
at com.eprosima.idl.parser.grammar.IDLParser.specification(IDLParser.java:352)
at com.eprosima.fastdds.fastddsgen.parseIDL(fastddsgen.java:867)
at com.eprosima.fastdds.fastddsgen.process(fastddsgen.java:697)
at com.eprosima.fastdds.fastddsgen.execute(fastddsgen.java:466)
at com.eprosima.fastdds.fastddsgen.main(fastddsgen.java:1641)
ERROR: context [/struct_type /extensibility] 1:5 no such property or can't access: com.eprosima.fastdds.idl.parser.typecode.StructTypeCode.annotationExtensibilityNotApplied
Caused by: org.stringtemplate.v4.misc.STNoSuchPropertyException: no such property: com.eprosima.fastdds.idl.parser.typecode.StructTypeCode.annotationExtensibilityNotApplied
at org.stringtemplate.v4.misc.ObjectModelAdaptor.throwNoSuchProperty(ObjectModelAdaptor.java:163)
at org.stringtemplate.v4.misc.ObjectModelAdaptor.getProperty(ObjectModelAdaptor.java:87)
at org.stringtemplate.v4.Interpreter.getObjectProperty(Interpreter.java:1222)
at org.stringtemplate.v4.Interpreter._exec(Interpreter.java:216)
at org.stringtemplate.v4.Interpreter.exec(Interpreter.java:151)
at org.stringtemplate.v4.Interpreter.writeObject(Interpreter.java:755)
at org.stringtemplate.v4.Interpreter.writeObjectNoOptions(Interpreter.java:687)
at org.stringtemplate.v4.Interpreter._exec(Interpreter.java:291)
at org.stringtemplate.v4.Interpreter.exec(Interpreter.java:151)
at org.stringtemplate.v4.ST.write(ST.java:432)
at com.eprosima.idl.generator.manager.TemplateGroup.setAttribute(TemplateGroup.java:100)
at com.eprosima.idl.parser.grammar.IDLParser.specification(IDLParser.java:352)
at com.eprosima.fastdds.fastddsgen.parseIDL(fastddsgen.java:867)
at com.eprosima.fastdds.fastddsgen.process(fastddsgen.java:697)
at com.eprosima.fastdds.fastddsgen.execute(fastddsgen.java:466)
at com.eprosima.fastdds.fastddsgen.main(fastddsgen.java:1641)
ERROR: context [/struct_type /extensibility] 1:5 no such property or can't access: com.eprosima.fastdds.idl.parser.typecode.StructTypeCode.annotationExtensibilityNotApplied
Caused by: org.stringtemplate.v4.misc.STNoSuchPropertyException: no such property: com.eprosima.fastdds.idl.parser.typecode.StructTypeCode.annotationExtensibilityNotApplied
at org.stringtemplate.v4.misc.ObjectModelAdaptor.throwNoSuchProperty(ObjectModelAdaptor.java:163)
at org.stringtemplate.v4.misc.ObjectModelAdaptor.getProperty(ObjectModelAdaptor.java:87)
at org.stringtemplate.v4.Interpreter.getObjectProperty(Interpreter.java:1222)
at org.stringtemplate.v4.Interpreter._exec(Interpreter.java:216)
at org.stringtemplate.v4.Interpreter.exec(Interpreter.java:151)
at org.stringtemplate.v4.Interpreter.writeObject(Interpreter.java:755)
at org.stringtemplate.v4.Interpreter.writeObjectNoOptions(Interpreter.java:687)
at org.stringtemplate.v4.Interpreter._exec(Interpreter.java:291)
at org.stringtemplate.v4.Interpreter.exec(Interpreter.java:151)
at org.stringtemplate.v4.ST.write(ST.java:432)
at com.eprosima.idl.generator.manager.TemplateGroup.setAttribute(TemplateGroup.java:100)
at com.eprosima.idl.parser.grammar.IDLParser.specification(IDLParser.java:352)
at com.eprosima.fastdds.fastddsgen.parseIDL(fastddsgen.java:867)
at com.eprosima.fastdds.fastddsgen.process(fastddsgen.java:697)
at com.eprosima.fastdds.fastddsgen.execute(fastddsgen.java:466)
at com.eprosima.fastdds.fastddsgen.main(fastddsgen.java:1641)
ERROR: context [/struct_type /extensibility] 1:5 no such property or can't access: com.eprosima.fastdds.idl.parser.typecode.StructTypeCode.annotationExtensibilityNotApplied
Caused by: org.stringtemplate.v4.misc.STNoSuchPropertyException: no such property: com.eprosima.fastdds.idl.parser.typecode.StructTypeCode.annotationExtensibilityNotApplied
at org.stringtemplate.v4.misc.ObjectModelAdaptor.throwNoSuchProperty(ObjectModelAdaptor.java:163)
at org.stringtemplate.v4.misc.ObjectModelAdaptor.getProperty(ObjectModelAdaptor.java:87)
at org.stringtemplate.v4.Interpreter.getObjectProperty(Interpreter.java:1222)
at org.stringtemplate.v4.Interpreter._exec(Interpreter.java:216)
at org.stringtemplate.v4.Interpreter.exec(Interpreter.java:151)
at org.stringtemplate.v4.Interpreter.writeObject(Interpreter.java:755)
at org.stringtemplate.v4.Interpreter.writeObjectNoOptions(Interpreter.java:687)
at org.stringtemplate.v4.Interpreter._exec(Interpreter.java:291)
at org.stringtemplate.v4.Interpreter.exec(Interpreter.java:151)
at org.stringtemplate.v4.ST.write(ST.java:432)
at com.eprosima.idl.generator.manager.TemplateGroup.setAttribute(TemplateGroup.java:100)
at com.eprosima.idl.parser.grammar.IDLParser.specification(IDLParser.java:352)
at com.eprosima.fastdds.fastddsgen.parseIDL(fastddsgen.java:867)
at com.eprosima.fastdds.fastddsgen.process(fastddsgen.java:697)
at com.eprosima.fastdds.fastddsgen.execute(fastddsgen.java:466)
at com.eprosima.fastdds.fastddsgen.main(fastddsgen.java:1641)
The text was updated successfully, but these errors were encountered: