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

REGRESSION: The test failed automatically and thrown java.lang.NullPointerException.

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Build:
      b110
    • Introduced In Version:
      8
    • CPU:
      x86

      Description

      Testsuite name: Regression
      JDK/JRE tested: JDK8b111(32bit)
      OS/architecture: oel6.4-redhat-x86
      Reproducible: Always
      Reproducible on machine: oel6.4-redhat-x86
      Test run log location:
      http://jsqalab.us.oracle.com/results/Evergreen/8/b111/regression/oel6.4-redhat-x86/results-awt-part5/workDir/java/awt/datatransfer/HTMLDataFlavors/ManualHTMLDataFlavorTest.jtr
      Test run result location:
      http://jsqalab.us.oracle.com/results/Evergreen/8/b111/regression/oel6.4-redhat-x86/results-awt-part5/workDir/java/awt/datatransfer/HTMLDataFlavors/


      Steps to reproduce:
      1.Download regression workspace from http://jre.sfbay.sun.com/java/re/jdk/8/promoted/ea/b111/ws/jdk/test/ to /regression
      2.Install stable bundle JDK7u25b15 (download from http://jre.us.oracle.com/java/re/jdk/7u25/promoted/fcs/b15/bundles/linux-i586/jdk-7u25-linux-i586.tar.gz) to /regression/jdk1.7.0_25
      3. Install test bundle JDK8b111 (download from http://jre.sfbay.sun.com/java/re/jdk/8/promoted/ea/b111/bundles/linux-i586/jdk-8-ea-linux-i586.tar.gz) to /regression/jdk1.8.0_111
      4.Download and unzip Jtreg from http://jre.us.oracle.com/java/re/jtreg/4.1/promoted/fcs/b02/bundles/jtreg_bin-4.1.zip locate at /regression
      5.Create the script regression.sh as follows and run it
      export JT_JAVA=/regression/jdk1.7.0_25
      /regression/jtreg/linux/bin/jtreg -v -m -ignore:quiet -jdk:/regression/jdk1.8.0_111 -r:/regression/results/reportDir -w:/regression/results/workDir /regression/test/java/awt/datatransfer/HTMLDataFlavors/ManualHTMLDataFlavorTest.html
       
      Case Instruction:
      1) The test contains a drop-aware panel with a red background
      2) Open some page in a browser, select some text Drag and drop it on the red panel
          IMPORTANT NOTE: the page should be stored locally.otherwise for instance iexplore can
           prohibit drag and drop from the browser to other applications because of the protected mode
           restrictions.
      3) Check the data in the output area of this dialog
      4) The output should not contain information that any of flavors is not present in the system
          clipboard.
      5) The output should contain data in three different formats provided by the system clipboard
          - Data after the "ALL:" marker should include the data from the the "SELECTION:" marker
          - Data after the "FRAGMENT" marker should include the data from the "SELECTION:" marker
            and may be some closing tags could be added to the mark-up
          - Data after the "SELECTION:" marker should correspond to the data selected in the browser
      6) If the above requirements are met, the test is passed

      Actual behavior:
      Drag some text from the browser and drop it to the red panel ,the test failed automatically and thrown java.lang.NullPointerException.

      Exceptions:
      java.lang.NullPointerException
      at java.awt.datatransfer.SystemFlavorMap.getAllNativesForType(SystemFlavorMap.java:1327)
      at java.awt.datatransfer.SystemFlavorMap.getNativesForFlavor(SystemFlavorMap.java:702)
      at sun.awt.datatransfer.DataTransferer.getFlavorsForFormats(DataTransferer.java:851)
      at sun.awt.dnd.SunDropTargetContextPeer.getTransferData(SunDropTargetContextPeer.java:249)
      at sun.awt.datatransfer.TransferableProxy.getTransferData(TransferableProxy.java:73)
      at java.awt.dnd.DropTargetContext$TransferableProxy.getTransferData(DropTargetContext.java:376)
      at ManualHTMLDataFlavorTest$DropPane.drop(ManualHTMLDataFlavorTest.java:94)
      at java.awt.dnd.DropTarget.drop(DropTarget.java:456)
      at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(SunDropTargetContextPeer.java:541)
      at sun.awt.X11.XDropTargetContextPeer.processDropMessage(XDropTargetContextPeer.java:184)
      at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(SunDropTargetContextPeer.java:855)
      at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(SunDropTargetContextPeer.java:779)
      at sun.awt.dnd.SunDropTargetEvent.dispatch(SunDropTargetEvent.java:48)
      at java.awt.Component.dispatchEventImpl(Component.java:4744)
      at java.awt.Container.dispatchEventImpl(Container.java:2293)
      at java.awt.Component.dispatchEvent(Component.java:4711)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4877)
      at java.awt.LightweightDispatcher.processDropTargetEvent(Container.java:4611)
      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4457)
      at java.awt.Container.dispatchEventImpl(Container.java:2279)
      at java.awt.Window.dispatchEventImpl(Window.java:2705)
      at java.awt.Component.dispatchEvent(Component.java:4711)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:746)
      at java.awt.EventQueue.access$400(EventQueue.java:97)
      at java.awt.EventQueue$3.run(EventQueue.java:697)
      at java.awt.EventQueue$3.run(EventQueue.java:691)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
      at java.awt.EventQueue$4.run(EventQueue.java:719)
      at java.awt.EventQueue$4.run(EventQueue.java:717)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:716)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:220)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:135)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:123)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:119)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:111)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
      STATUS:Failed.Applet thread threw exception: java.lang.NullPointerException
      result: Failed. Execution failed: Applet thread threw exception: java.lang.NullPointerException

      Validation:
      8b108(64bit) on win8-x64: have not this issue.
      8b108(32bit) on oel6.4-redhat-x86: have not this issue.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pchelko Petr Pchelko (Inactive)
              Reporter:
              tolli Tony Li (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: