Harmony
  1. Harmony
  2. HARMONY-2220

[drlvm][unit] if DISPLAY is not set javax.swing.AccessibleJButtonTest crashes

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: DRLVM
    • Labels:
      None
    • Environment:
      SuSE 9
    • Estimated Complexity:
      Moderate

      Description

      + ../../drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jre/bin/java -Xbootclasspath/a:/nfs/site/proj/drl/mrt/users/af/bin/cruisecontrol-bin-2.4.1/lib/junit.jar:modules/swing/bin/test:build/test_support junit.textui.TestRunner javax.swing.AccessibleJButtonTest
      .Uncaught exception in AWT-EventDispatchThread:
      Uncaught exception in AWT-NativeEventThread:
      E.java: /nfs/ims/proj/drl/mrt/users/af/ws/1/drlvm/trunk/vm/vmcore/src/class_support/C_Interface.cpp:2288: void vm_gc_lock_enum(): Assertion `hythread_is_suspend_enabled()' failed.
      SIGABRT in VM code.
      java.lang.InternalError: Cannot open display ''
      at java.lang.reflect.VMReflection.newClassInstance(Native Method)
      at java.lang.reflect.Constructor.newInstance(Unknown Source)
      at java.lang.Class.newInstance(Unknown Source)
      at java.awt.Toolkit.createWTK(Toolkit.java:985)
      at java.awt.Toolkit.access$1(Toolkit.java)
      at java.awt.Toolkit$1.init(Toolkit.java)
      at org.apache.harmony.awt.wtk.NativeEventThread.run(NativeEventThread.java:45)
      java.lang.NullPointerException
      at java.awt.Toolkit.getNativeEventQueue(Toolkit.java)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java)
      Stack trace:
      1: ?? (??:-1)
      2: abort (??:-1)
      3: __assert_fail (??:-1)
      4: vm_gc_lock_enum (/nfs/ims/proj/drl/mrt/users/af/ws/1/drlvm/trunk/vm/vmcore/src/class_support/C_Interface.cpp:2288)
      5: gc_alloc (/nfs/ims/proj/drl/mrt/users/af/ws/1/drlvm/trunk/vm/gc_cc/src/gc_for_vm.cpp:231)
      6: vm_alloc_and_report_ti(unsigned int, unsigned int, void*, Class*) (/nfs/ims/proj/drl/mrt/users/af/ws/1/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_event.cpp:1208)
      7: string_create (/nfs/ims/proj/drl/mrt/users/af/ws/1/drlvm/trunk/vm/vmcore/src/util/vm_strings.cpp:247)
      8: string_create_from_utf8(char const*, unsigned int) (/nfs/ims/proj/drl/mrt/users/af/ws/1/drlvm/trunk/vm/vmcore/src/util/vm_strings.cpp:295)
      9: prepare_exc_creating (/nfs/ims/proj/drl/mrt/users/af/ws/1/drlvm/trunk/vm/vmcore/src/exception/exceptions_impl.cpp:132)
      10: prepare_exc_creating (/nfs/ims/proj/drl/mrt/users/af/ws/1/drlvm/trunk/vm/vmcore/src/exception/exceptions_impl.cpp:162)
      11: exn_throw_by_class_internal(Class*, char const*, _jobject*) (/nfs/ims/proj/drl/mrt/users/af/ws/1/drlvm/trunk/vm/vmcore/src/exception/exceptions_impl.cpp:308)
      12: exn_rethrow() (/nfs/ims/proj/drl/mrt/users/af/ws/1/drlvm/trunk/vm/vmcore/src/exception/exceptions.cpp:358)
      <end of stack trace>

        Activity

          People

          • Assignee:
            Gregory Shimansky
            Reporter:
            Alexei Fedotov
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development