Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8022247

java/awt/EventDispatchThread/LoopRobustness/LoopRobustness throws NPE

    XMLWordPrintable

Details

    • b103

    Description

      Fails with jdk1.8.0b100_compiler_upgrades and jdk1.8.0b99. Passes with jdk1.7.0_25b15

      ----------System.out:(0/0)----------
      ----------System.err:(47/3751)----------
      2013-08-05 18:03:26.141 java[82778:507] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to /var/folders/1n/2sd5m7tj7cx_wpvl_jc55lhr001wjw/T/net.java.openjdk.cmd.savedState
      2013-08-05 18:03:26.976 java[82778:507] java.lang.NullPointerException
      at java.awt.KeyboardFocusManager.getCurrentKeyboardFocusManager(KeyboardFocusManager.java:223)
      at java.awt.KeyboardFocusManager.getCurrentKeyboardFocusManager(KeyboardFocusManager.java:216)
      at sun.lwawt.LWWindowPeer.requestWindowFocus(LWWindowPeer.java:1140)
      at sun.lwawt.LWWindowPeer.notifyMouseEvent(LWWindowPeer.java:786)
      at sun.lwawt.macosx.CPlatformResponder.handleMouseEvent(CPlatformResponder.java:83)
      at sun.lwawt.macosx.CPlatformView.deliverMouseEvent(CPlatformView.java:206)
      2013-08-05 18:03:26.978 java[82778:507] (
      0 CoreFoundation 0x00007fff902e38ce __exceptionPreprocess + 174
      1 libobjc.A.dylib 0x00007fff92b30f51 objc_exception_throw + 43
      2 CoreFoundation 0x00007fff90389619 -[NSException raise] + 9
      3 JavaNativeFoundation 0x0000000159b1e3bc JNFCallVoidMethod + 227
      4 libawt_lwawt.dylib 0x000000015b72052d -[AWTView deliverJavaMouseEvent:] + 1325
      5 libawt_lwawt.dylib 0x000000015b71f82f -[AWTView mouseDown:] + 127
      6 AppKit 0x00007fff8a205918 -[NSWindow sendEvent:] + 11303
      7 libawt_lwawt.dylib 0x000000015b7253d9 -[AWTWindow_Normal sendEvent:] + 105
      8 AppKit 0x00007fff8a1fff48 -[NSApplication sendEvent:] + 2021
      9 libosxapp.dylib 0x000000015b80b905 -[NSApplicationAWT sendEvent:] + 261
      10 AppKit 0x00007fff8a121599 -[NSApplication run] + 646
      11 libosxapp.dylib 0x000000015b80b486 +[NSApplicationAWT runAWTLoopWithApp:] + 166
      12 libawt_lwawt.dylib 0x000000015b792e3e -[AWTStarter starter:] + 654
      13 Foundation 0x00007fff90d43f4e __NSThreadPerformPerform + 227
      14 CoreFoundation 0x00007fff90267ed1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
      15 CoreFoundation 0x00007fff902677a2 __CFRunLoopDoSources0 + 242
      16 CoreFoundation 0x00007fff90285037 __CFRunLoopRun + 1175
      17 CoreFoundation 0x00007fff902847b3 CFRunLoopRunSpecific + 467
      18 java 0x000000010a179313 ParkEventLoop + 131
      19 java 0x000000010a178449 MacOSXStartup + 201
      20 java 0x000000010a177de4 CreateExecutionEnvironment + 1188
      21 java 0x000000010a170959 JLI_Launch + 521
      22 java 0x000000010a17d10e main + 382
      23 java 0x000000010a170744 start + 52
      )
      java.lang.RuntimeException: Test FAILED: robot should press button twice
      at LoopRobustness.main(LoopRobustness.java:83)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:491)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:724)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Test FAILED: robot should press button twice
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test FAILED: robot should press button twice
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test FAILED: robot should press button twice


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test FAILED: robot should press button twice

      Attachments

        Activity

          People

            leonidr Leonid Romanov (Inactive)
            asakharu Aleksandr Sakharuk (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: