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

merlin b45: throw "java.awt.dnd.InvalidDnDOperationException"

XMLWordPrintable

    • beta
    • sparc
    • solaris_7
    • Verified

      With Merlin b44 and b45, run jColorChooser test in GlobalSuite framework in
      ar locale, click (drag and drop) the buttons which reflect the background
      color changing will lead the exception thrown. The test was failed with
      java.awt.dnd.InvalidDnDOperationException thrown, the log is attached as below.

      Same test was executed in he locale, the same exception was thrown in b44, but not in b45.
       
      In addition, the message "Couldn't flush system prefs:java.util.prefs.BackingStoreException:
      Couldn't get file lock." was also thrown (bug 4398496).

      ==================================================================================================
      #Test Results (version 2)
      #Mon Dec 18 12:36:05 PST 2000
      #checksum:44bc9f46f447f419
      #-----testdescription-----
      $file=/home/lz113471/i18n_ws/GlobalSuite/test/font-render/swing/two/jColorChooser.java
      $root=/home/lz113471/i18n_ws/GlobalSuite
      keywords=manual
      library=../..
      run=USER_SPECIFIED build TestTemplate\nUSER_SPECIFIED applet/manual=yesno jColorChooser.html\n
      source=jColorChooser.java
      title=

      #-----environment-----

      #-----testresult-----
      description=file:///home/lz113471/i18n_ws/GlobalSuite/test/font-render/swing/two/jColorChooser.java
      end=Mon Dec 18 12:36:05 PST 2000
      environment=regtest
      execStatus=Failed. Execution failed: Execution failed
      javatestOS=SunOS 5.8 (sparc)
      javatestVersion=JT_2.1.4b05
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages build build applet
      start=Mon Dec 18 12:32:55 PST 2000
      status=Failed. Execution failed: Execution failed
      test=test/font-render/swing/two/jColorChooser.java
      work=/home/lz113471/i18n_ws/GlobalSuite/JTwork/test/font-render/swing/two

      #section:script_messages
      ----------messages:(1/84)----------
      JDK under test: java full version "1.4.0beta-b45" (/usr/local/java/jdk1.4/solsparc)

      #section:build
      ----------messages:(3/114)----------
      command: build TestTemplate
      reason: User specified action: run build TestTemplate
      elapsed time (seconds): 0.022
      result: Passed. No need to compile: TestTemplate.java

      #section:build
      ----------messages:(3/100)----------
      command: build jColorChooser
      reason: Named class compiled on demand
      elapsed time (seconds): 0.0050
      result: Passed. No need to compile: jColorChooser.java

      #section:applet
      ----------messages:(3/142)----------
      command: applet jColorChooser.html
      reason: User specified action: run applet/manual=yesno jColorChooser.html
      elapsed time (seconds): 187.843
      ----------System.out:(5/254)----------
      ar_EG.predefined.html.SimpleHtml:SimpleHtml
      ar_EG.core.Timezone.TimezoneGermany:TimezoneGermany
      ar_EG.predefined.plain.SimpleChar:SimpleChar
      ar_EG.predefined.plain.SimpleSenetence:SimpleSenetence
      ar_EG.font-render.swing-two.RenderResource:RenderResource
      ----------System.err:(63/4591)----------
      Warning: Missing charsets in String to FontSet conversion
      Warning: Cannot convert string "-monotype-arial-regular-r-normal--*-140-*-*-p-*-iso8859-1" to type FontStruct
      Warning: Cannot convert string "-monotype-shayyal-medium-r-normal--*-140-*-*-m-*-iso8859-6" to type FontStruct
      Warning: Missing charsets in String to FontSet conversion
      Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.
      Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.
      Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.
      Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.
      Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.
      java.awt.dnd.InvalidDnDOperationException: Drag and drop in progress
      at sun.awt.dnd.SunDragSourceContextPeer.setDragDropInProgress(SunDragSourceContextPeer.java:264)
      at java.awt.dnd.DragSource.startDrag(DragSource.java:243)
      at java.awt.dnd.DragSource.startDrag(DragSource.java:366)
      at java.awt.dnd.DragGestureEvent.startDrag(DragGestureEvent.java:187)
      at javax.swing.TransferHandler$DragHandler.dragGestureRecognized(TransferHandler.java:601)
      at java.awt.dnd.DragGestureRecognizer.fireDragGestureRecognized(DragGestureRecognizer.java:335)
      at javax.swing.TransferHandler$SwingDragGestureRecognizer.gestured(TransferHandler.java:653)
      at javax.swing.TransferHandler.exportAsDrag(TransferHandler.java:130)
      at javax.swing.plaf.basic.BasicColorChooserUI$1.mousePressed(BasicColorChooserUI.java:117)
      at java.awt.Component.processMouseEvent(Component.java:4854)
      at java.awt.Component.processEvent(Component.java:4683)
      at java.awt.Container.processEvent(Container.java:1269)
      at java.awt.Component.dispatchEventImpl(Component.java:3455)
      at java.awt.Container.dispatchEventImpl(Container.java:1331)
      at java.awt.Component.dispatchEvent(Component.java:3322)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3089)
      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2807)
      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2771)
      at java.awt.Container.dispatchEventImpl(Container.java:1305)
      at java.awt.Window.dispatchEventImpl(Window.java:1250)
      at java.awt.Component.dispatchEvent(Component.java:3322)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:437)
      at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:140)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:126)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:121)
      at java.awt.Dialog.show(Dialog.java:466)
      at javax.swing.ColorChooserDialog.show(JColorChooser.java:643)
      at javax.swing.JColorChooser.showDialog(JColorChooser.java:124)
      at jColorChooser.actionPerformed(jColorChooser.java:51)
      at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1605)
      at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1659)
      at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
      at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:251)
      at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:247)
      at java.awt.Component.processMouseEvent(Component.java:4857)
      at java.awt.Component.processEvent(Component.java:4683)
      at java.awt.Container.processEvent(Container.java:1269)
      at java.awt.Component.dispatchEventImpl(Component.java:3455)
      at java.awt.Container.dispatchEventImpl(Container.java:1331)
      at java.awt.Component.dispatchEvent(Component.java:3322)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3089)
      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2812)
      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2771)
      at java.awt.Container.dispatchEventImpl(Container.java:1305)
      at java.awt.Window.dispatchEventImpl(Window.java:1250)
      at java.awt.Component.dispatchEvent(Component.java:3322)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:437)
      at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:140)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:126)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:121)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
      STATUS:Failed.Applet thread threw exception: java.awt.dnd.InvalidDnDOperationException: Drag and drop in progress
      Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.
      result: Failed. Execution failed: Execution failed


      test result: Failed. Execution failed: Execution failed

            tprinzing Tim Prinzing (Inactive)
            lzhanorcl Lichun Zhan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: