TOP

ASN.1/Java Compiler Errors

Applies to: ASN.1/Java 7.1

The OSS Nokalva ASN.1 compiler displays error and warning messages that may relate to the ASN.1 input syntax or to the application code.

In ASN.1 Studio, the compiler error messages are displayed in the Diagnostic pane. When you click a message in the Diagnostic pane, the error location is highlighted in the corresponding input file.

Format

There are four types of messages issued by various components of the OSS ASN.1 Tools:

  • ASN.1 compiler input-ASN.1 syntax checking messages
  • ASN.1 compiler command-line format messages
  • ASN.1 compiler input file processing messages
  • Runtime-function signal messages

The ASN.1 syntax checker messages have the following format:

Error message format

Typical ASN.1 syntax checker message

Each message type has a unique error code. The message code consists of six characters that are associated with the component identifier that issued the message, the message number, and the severity level.

The following table contains the error code characters and their related message categories:

Character Position Purpose Character Description
First Component Identifier
A

C

L

D

E
ASN.1 syntax checker.

ASN.1 compiler input-file processor.

ASN.1 compiler command-line format checker.

Decoder routines.

Encoder routines.
Second through Fifth Message Number 0001 to 9999 Unique, four-digit message ID number.
Sixth Error Severity
I 


W 



E 



S 
Informative messages (Level 0).
Provide further information about your input without reporting any issues.

Warning messages (Level 1).
Provide notifications about certain issues in your input that might cause problems in the future.

Regular error messages (Level 2).
Indicate that an error occurred. After this error is detected, your current process will continue.

Severe error messages (Level 3).
Indicate that an error occurred. After this error is detected, your current process will stop.

For example, the A0086E error code has the following meaning:

  • The letter A indicates that the message is issued by the ASN.1 syntax checker.
  • The number 0086 represents the message number.
  • The letter E corresponds to Severity Level 2, which refers to regular or common errors.

The command-line format checker and the input-file processor messages consist of two parts: message-code: message-description

For example: L0236S: Unrecognized keyword, -codeFront.

Reference

Use these links to look up OSS ASN.1 compiler error messages by message number:


This documentation applies to the OSS® ASN.1 Tools for Java release 7.1 and later.

Copyright © 2017 OSS Nokalva, Inc. All rights reserved.
No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means electronic, mechanical, photocopying, recording or otherwise, without the prior permission of OSS Nokalva, Inc.
Every distributed copy of the OSS® ASN.1 Tools for Java is associated with a specific license and related unique license number. That license determines, among other things, what functions of the OSS ASN.1 Tools for Java are available to you.