Java fx应用程序在一段时间后自动崩溃

时间:2016-01-30 05:34:54

标签: java linux eclipse ubuntu javafx-8

我开发了javaFx应用程序,在工作期间经过一段时间后崩溃。同时在应用程序的注册用户之间切换我正在使用用户名和密码的自定义对话框。一旦弹出打开密码应用程序就会崩溃。我是收到错误消息。我正在使用ubntu 14.0。

  #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      #  SIGSEGV (0xb) at pc=0x00007f205619792e, pid=8902, tid=139775151732480
      #
      # JRE version: Java(TM) SE Runtime Environment (8.0_45-b14) (build 1.8.0_45-b14)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.45-b02 mixed mode linux-amd64 compressed oops)
      # Problematic frame:
      # V  [libjvm.so+0x6c492e]  jni_invoke_nonstatic(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, Thread*)+0xa1e
      #
      # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
      #
      # If you would like to submit a bug report, please visit:
      #   http://bugreport.java.com/bugreport/crash.jsp
 #

我已经将我的java版本从1.8.0_45更新为1.8.0_71。但是问题仍然存在。   这是弹出的代码,我使用的是用户密码。

                     GridPane grid = new GridPane();
                     final PasswordField passwordPasswordField = new PasswordField();
                     final Dialog dlg = new Dialog(null, "Open User's Profile");
                     grid.add(passwordPasswordField, 1, 2);
                     dlg.setContent(grid);
                     dlg.show();

1 个答案:

答案 0 :(得分:0)

不确定该特定错误,但您可以尝试upgrading to 8u71。自您使用的版本(8u45)以来,已经有很多修复。

相关问题