Except for ‘missing license’, runtime errors are identified by exception messages produced by the Java virtual machine. They can be printed on the console or returned as a graphical message box depending on the error type and on iscobol.exception.message setting.This article examines the most common runtime errors, providing suggestions about how to avoid them.
This error is returned at startup if the license is not found or is expired. Contact your Veryant’s representative to obtain a valid license. Consult the chapter Getting Started to know how to install the license correctly.
This error means that the JVM failed to load a native library. The library name is traced in the error message. A typical case in which this error can appear is when iscobol.file.index is set to work with c-tree (e.g. iscobol.file.index=ctreej) and isCOBOL is not able to find the c-tree client library (ctree.dll on Windows and libctree.so on Unix). On Windows machines, native libraries are loaded from the paths listed in %PATH% environment variable. On Unix, they’re loaded from the paths listed in $LD_LIBRARY_PATH environment variable (be aware that the name could be different depending on the o.s.). To specify the library path in a cross-platform way, you can take advantage of the -Djava.library.path Java property (i.e. java -Djava.library.path=/home/isCOBOL2010/native/lib MAIN).
error_description logical_filename (physical_filename)FS=[file_status],EXFS=[extended_status]: error_descriptionThis kind of error is returned when an I/O error occurs while working with a file and the program doesn’t contain DECLARATIVES for the file and iscobol.file.errors_ok is set to 0.
This error is returned when a client connects to the Application Server but there are no more slots available because they have been used by other clients. You must wait for another client to disconnect before being able to connect to the Application Server, or you can upgrade the license in order to have more concurrent connections to the Application Server. See Users count for information about concurrent client connections to the Application Server.
This error is returned when the isCOBOL Client connects to an Application Server in thin client environment but there are no more connection slots available. The number at the end of the message is the current connection limit. See Connections count for information about user count in Application Server environment.
This error is returned when iscobol.file.index is set either to “fscsc”, “mfc” or "vfc" and the isCOBOL Framework cannot find the proper executable file. Ensure that the executable is in the system Path or set iscobol.file.connector.program.* properties to indicate where it is.
Accept executed on an invisible window: "window's title"This error is returned when the program tries to accept the user input on a window whose Visible property is set to zero
This error is returned when you call either C$SYSTEM or SYSTEM routines having iscobol.system.exec=c in the configuration and the dyncall library (installed with isCOBOL) can’t be found in the Java library path. Only on Windows, the error can be returned also if msvcrt.dll can’t be found in the Java library path.
This error is returned when the ACTION property of a Grid or Tree-View is modified within MSG events handling (e.g. MODIFY screen1-gr-1 ACTION ACTION-ENTRY within the handling of the MSG-GOTO-CELL event). Such operation is not allowed by isCOBOL.
| Copyright (c) 2017 Veryant |
| Contact us |
|
Please share your comments on this manual or on any Veryant product documentation with the email button at the top left |