Jump to content
Excelsior Forums
Sign in to follow this  
qqxx2000

JET Runtime Error when printing stack trace of a thread-related exception

Recommended Posts

We discovered a thread bug in our software that crashes JET VM. Basically a thread is trying to update Swing UI outside of the AWT event dispatch thread. Then JET reports:

JET RUNTIME HAS DETECTED UNRECOVERABLE ERROR: runtime error at com/excelsior/jet/runtime/excepts/stacktrace/StackTrace.java:187

Unable to find method for call site 0x000000001336b50d (code segment 0x000000001336b480) in class java.util.Vector)

But when we reproduce the bug with Java VM, the VM prints out stack traces as it should and does not crash. We will fix our bug but believe that the JET team should know this.

The version information of the JET we are using:

version info: jet-800-mp1 (pro, en)

Java version: 1.6.0_43

Excelsior JET 8.00 Professional edition

JET Profile: Java SE version: 1.6.0_43; JET update level: 11; CPU architecture: amd64

Runtime: Desktop

Application was deployed

Share this post


Link to post
Share on other sites

We created a small test case that reproduces the bug. It turns out that only 64-bit JET has the problem. The test jar file is attached.

To run with JVM directly: java -classpath ThreadTest.jar CopyItemsThreadTest

Then you will see a dialog poping up and a series of exception stack traces printed in the console. But the dialog will stay open and functional after that.

When compiling with JET 8.0 64-bit with all default settings, at the Test Run step, run the application and JET reports:

---------------------------------------------------------------------------

Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 129 >= 1

JET RUNTIME HAS DETECTED UNRECOVERABLE ERROR: runtime error at com/excelsior/jet/runtime/excepts/stacktrace/StackTrace.java:187

Unable to find method for call site 0x000000001336b50d (code segment 0x000000001336b480) in class java.util.Vector)

Please, contact Excelsior Support at <java@excelsior-usa.com>.

Extra information about error is saved in the "jet_err_1300.txt" file.

---------------------------------------------------------------------------

The application has terminated with exit code: 9

If you continue to compile it as EXE, run the exe and JET will report an error and exit. JET 8.0 32-bit does not have this problem.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×