After you've created an automated test script in IBM Rational Functional Tester (RFT) on Red Hat Enterprise Linux (RHEL) you could run into the following error : JVM terminated Exit code=1. When you try to create the script again the same error occurs. You'll definitely need take a closer look and analyze the Java Core file produced by the JVM. The Java Core file will display the commands performed by the Java Virtual Machine (JVM). As a refresher, a Javacore file is a formatted text file that is created by the JVM during an event or created by manual intervention.
Here are a few steps that would describe how you can potentially run into this problem:
1. Install RFT 220.127.116.11 on the RHEL machine.
2. Launch RFT with root credentials.
3. Create a new Functional Test Project Project1 (File > New> Functional Test Project).
4. Right click on Project1 and select Add Empty Script.
If you look at the Java Core file to review the full error message, you would see the below error or a variation of this error:
JVM terminated. Exit code=1
Here is what the Stack trace in the Java core dump looks like:
3XMTHREADINFO3 Java callstack:
4XESTACKTRACE at org/eclipse/swt/internal/cairo/Cairo._cairo_fill(Native Method)
4XESTACKTRACE at org/eclipse/swt/internal/cairo/Cairo.cairo_fill(Cairo.java:248)
4XESTACKTRACE at org/eclipse/swt/widgets/Caret.drawCaret(Caret.java:129)
4XESTACKTRACE at org/eclipse/swt/widgets/Caret.showCaret(Caret.java:544)
4XESTACKTRACE at org/eclipse/swt/widgets/Caret.setFocus(Caret.java:390)
4XESTACKTRACE at org/eclipse/swt/widgets/Canvas.gtk_focus_in_event(Canvas.java:174)
4XESTACKTRACE at org/eclipse/swt/widgets/Widget.windowProc(Widget.java:1771(Compiled Code))
4XESTACKTRACE at org/eclipse/swt/widgets/Control.windowProc(Control.java:5116(Compiled Code))
4XESTACKTRACE at org/eclipse/swt/widgets/Display.windowProc(Display.java:4377(Compiled Code))
4XESTACKTRACE at org/eclipse/swt/internal/gtk/OS._gtk_main_do_event(Native Method)
4XESTACKTRACE at org/eclipse/swt/internal/gtk/OS.gtk_main_do_event(OS.java:8317(Compiled Code))
4XESTACKTRACE at org/ecli