iec61850bean icon indicating copy to clipboard operation
iec61850bean copied to clipboard

Cannot compile ITU provided ASN.1 files

Open wernerreiche opened this issue 1 year ago • 0 comments

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)

:

wernerreiche avatar Jun 21 '23 18:06 wernerreiche