Error code 143 on JVM exit
Hello,
I have a program (with multiple threads, running under MS-Windows) which works fine almost all the time.
In one case, it terminated unexpectedly, and the exit code (via ERRORLEVEL) is 143.
There are no other outputs in order to diagnose the problem.
I would like to know what the error code 143 exactly means.
Can anybody give me an advice?
Regards,
Sabrina Werscheid
# 3
It might be:
1. Some java code was calling System.exit() - Did you search for System.exit in your code (You will be amazed what you will find when other people are invloved...)
2. Some jni code was calling exit(); do you have JNI in your code?
3. An external process was killing the process - Do you have any type of monitor on your process?
4. And the most common I had is when the JVM watches for consol control events by default (such as CTRL_LOGOFF_EVENT) and shuts down if it receives these events... You can prevent this by simply using the -Xrs option at startup.
Hope it helped...