Skip to content
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

Cannot compile ITU provided ASN.1 files #36

Open
wernerreiche opened this issue Jun 21, 2023 · 0 comments
Open

Cannot compile ITU provided ASN.1 files #36

wernerreiche opened this issue Jun 21, 2023 · 0 comments

Comments

@wernerreiche
Copy link

I'm trying to compile ITU provided ASN.1 files and the compiler is generating errors.

The line in question is:

Association-information ::= SEQUENCE SIZE (1, ..., 0 | 2..MAX) OF EXTERNAL

The error is:

Parsing "itu_acse-1.asn"
line 212:45: expecting R_PAREN, found ','
line 212:50: expecting "OF", found ','
Exception in thread "main" java.lang.NullPointerException
at com.beanit.asn1bean.compiler.parser.ASNParser.assignment(ASNParser.java:765)
at com.beanit.asn1bean.compiler.parser.ASNParser.module_body(ASNParser.java:302)
at com.beanit.asn1bean.compiler.parser.ASNParser.module_definition(ASNParser.java:182)
at com.beanit.asn1bean.compiler.parser.ASNParser.module_definitions(ASNParser.java:58)
at com.beanit.asn1bean.compiler.Compiler.getJavaModelFromAsn1File(Compiler.java:129)
at com.beanit.asn1bean.compiler.Compiler.main(Compiler.java:106)

:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant