You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to compile ROSE ASN.1 files [which can you find in: https://github.com/wireshark/wireshark/tree/master/epan/dissectors/asn1/ros]
I got below exception:
Generating classes for module "Remote-Operations-Useful-Definitions"
Exception in thread "main" java.lang.NullPointerException
at java.lang.String.compareTo(String.java:1155)
at java.lang.String.compareTo(String.java:111)
at java.util.ComparableTimSort.countRunAndMakeAscending(ComparableTimSort.java:320)
at java.util.ComparableTimSort.sort(ComparableTimSort.java:188)
at java.util.Arrays.sort(Arrays.java:1312)
at java.util.Arrays.sort(Arrays.java:1506)
at java.util.ArrayList.sort(ArrayList.java:1464)
at java.util.Collections.sort(Collections.java:143)
at com.beanit.asn1bean.compiler.BerClassWriter.writeOidValues(BerClassWriter.java:247)
at com.beanit.asn1bean.compiler.BerClassWriter.translateModule(BerClassWriter.java:241)
at com.beanit.asn1bean.compiler.BerClassWriter.translate(BerClassWriter.java:173)
at com.beanit.asn1bean.compiler.Compiler.main(Compiler.java:111)
Full output:
Parsing "Remote-Operations-Generic-ROS-PDUs.asn"
line 20:1: expecting "END", found '('
line 21:15: unexpected token: :
line 164:1: expecting "DEFINITIONS", found 'null'
Parsing "Remote-Operations-Information-Objects.asn"
line 21:26: unexpected token: ERROR
line 22:26: unexpected token: OPERATION
line 25:26: unexpected token: Priority
line 26:26: unexpected token: Priority
line 47:27: unexpected token: Priority
line 58:14: unexpected token: OPERATION
line 59:14: unexpected token: OPERATION
line 60:14: unexpected token: OPERATION
line 88:25: unexpected token: OPERATION-PACKAGE
line 89:25: unexpected token: OPERATION-PACKAGE
line 90:25: unexpected token: OPERATION-PACKAGE
line 102:26: unexpected token: ROS-OBJECT-CLASS
line 103:26: unexpected token: CONTRACT
line 104:26: unexpected token: CONTRACT
line 105:26: unexpected token: CONTRACT
Parsing "Remote-Operations-Useful-Definitions.asn"
line 16:39: expecting R_BRACE, found '{'
line 16:46: unexpected token: }
line 17:26: expecting ASSIGN_OP, found 'SYNCHRONOUS'
line 20:41: expecting R_BRACE, found 'TRUE'
line 23:30: expecting R_BRACE, found ':'
line 23:31: expecting "END", found '-1'
line 26:17: unexpected token: ::=
line 96:1: expecting "DEFINITIONS", found 'null'
Generating classes for module "Remote-Operations-Useful-Definitions"
Exception in thread "main" java.lang.NullPointerException
at java.lang.String.compareTo(String.java:1155)
at java.lang.String.compareTo(String.java:111)
at java.util.ComparableTimSort.countRunAndMakeAscending(ComparableTimSort.java:320)
at java.util.ComparableTimSort.sort(ComparableTimSort.java:188)
at java.util.Arrays.sort(Arrays.java:1312)
at java.util.Arrays.sort(Arrays.java:1506)
at java.util.ArrayList.sort(ArrayList.java:1464)
at java.util.Collections.sort(Collections.java:143)
at com.beanit.asn1bean.compiler.BerClassWriter.writeOidValues(BerClassWriter.java:247)
at com.beanit.asn1bean.compiler.BerClassWriter.translateModule(BerClassWriter.java:241)
at com.beanit.asn1bean.compiler.BerClassWriter.translate(BerClassWriter.java:173)
at com.beanit.asn1bean.compiler.Compiler.main(Compiler.java:111)
The text was updated successfully, but these errors were encountered:
When I try to compile ROSE ASN.1 files [which can you find in: https://github.com/wireshark/wireshark/tree/master/epan/dissectors/asn1/ros]
I got below exception:
Generating classes for module "Remote-Operations-Useful-Definitions"
Exception in thread "main" java.lang.NullPointerException
at java.lang.String.compareTo(String.java:1155)
at java.lang.String.compareTo(String.java:111)
at java.util.ComparableTimSort.countRunAndMakeAscending(ComparableTimSort.java:320)
at java.util.ComparableTimSort.sort(ComparableTimSort.java:188)
at java.util.Arrays.sort(Arrays.java:1312)
at java.util.Arrays.sort(Arrays.java:1506)
at java.util.ArrayList.sort(ArrayList.java:1464)
at java.util.Collections.sort(Collections.java:143)
at com.beanit.asn1bean.compiler.BerClassWriter.writeOidValues(BerClassWriter.java:247)
at com.beanit.asn1bean.compiler.BerClassWriter.translateModule(BerClassWriter.java:241)
at com.beanit.asn1bean.compiler.BerClassWriter.translate(BerClassWriter.java:173)
at com.beanit.asn1bean.compiler.Compiler.main(Compiler.java:111)
Full output:
Parsing "Remote-Operations-Generic-ROS-PDUs.asn"
line 20:1: expecting "END", found '('
line 21:15: unexpected token: :
line 164:1: expecting "DEFINITIONS", found 'null'
Parsing "Remote-Operations-Information-Objects.asn"
line 21:26: unexpected token: ERROR
line 22:26: unexpected token: OPERATION
line 25:26: unexpected token: Priority
line 26:26: unexpected token: Priority
line 47:27: unexpected token: Priority
line 58:14: unexpected token: OPERATION
line 59:14: unexpected token: OPERATION
line 60:14: unexpected token: OPERATION
line 88:25: unexpected token: OPERATION-PACKAGE
line 89:25: unexpected token: OPERATION-PACKAGE
line 90:25: unexpected token: OPERATION-PACKAGE
line 102:26: unexpected token: ROS-OBJECT-CLASS
line 103:26: unexpected token: CONTRACT
line 104:26: unexpected token: CONTRACT
line 105:26: unexpected token: CONTRACT
Parsing "Remote-Operations-Useful-Definitions.asn"
line 16:39: expecting R_BRACE, found '{'
line 16:46: unexpected token: }
line 17:26: expecting ASSIGN_OP, found 'SYNCHRONOUS'
line 20:41: expecting R_BRACE, found 'TRUE'
line 23:30: expecting R_BRACE, found ':'
line 23:31: expecting "END", found '-1'
line 26:17: unexpected token: ::=
line 96:1: expecting "DEFINITIONS", found 'null'
Generating classes for module "Remote-Operations-Useful-Definitions"
Exception in thread "main" java.lang.NullPointerException
at java.lang.String.compareTo(String.java:1155)
at java.lang.String.compareTo(String.java:111)
at java.util.ComparableTimSort.countRunAndMakeAscending(ComparableTimSort.java:320)
at java.util.ComparableTimSort.sort(ComparableTimSort.java:188)
at java.util.Arrays.sort(Arrays.java:1312)
at java.util.Arrays.sort(Arrays.java:1506)
at java.util.ArrayList.sort(ArrayList.java:1464)
at java.util.Collections.sort(Collections.java:143)
at com.beanit.asn1bean.compiler.BerClassWriter.writeOidValues(BerClassWriter.java:247)
at com.beanit.asn1bean.compiler.BerClassWriter.translateModule(BerClassWriter.java:241)
at com.beanit.asn1bean.compiler.BerClassWriter.translate(BerClassWriter.java:173)
at com.beanit.asn1bean.compiler.Compiler.main(Compiler.java:111)
The text was updated successfully, but these errors were encountered: