[Migrated content. Thread originally posted on 20 January 2012]
Greetings.New to JVM COBOL and this forum.
Wondering if anyone can shed any light on what I am experiencing in Visual COBOL for Eclipse.
I have created a .java file in the Visual COBOL for Eclipse IDE and it seems I cannot save the file when I try to populate a byte in a byte array with a cast of a char to a byte. This code construct works elsewhere in java.
byte[] crtioDataByteArray = new byte[16240];
crtioDataByteArray[0] = (byte) 'a';
I get the same error if I even define a char as below:
char OPENED = 'O';
When I attempt to save the file I get a dialogue box indicating
"Save Failed
java.lang.NullPointerException"
and the detail button offers no further explanation.
Thanks




