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

the test tool jdktester will down when running 'Swing Tester'...

XMLWordPrintable

    • sparc
    • solaris_8

      Hercule li (5/22/00)

      The test tool JDKTester will down when testing 'Swing Tester'.

      The output message is like,

      >>>java.awt.AWTException: cannot open XIM
      >>> at sun.awt.motif.X11InputMethod.<init>(X11InputMethod.java:148)
      >>> at
      >>>sun.awt.motif.X11InputMethodDescriptor.createInputMethod(X11InputMethodDescri>>>ptor.java:78)
      >>> at >>>sun.awt.im.InputContext.getInputMethodInstance(InputContext.java:686)
      >>> at sun.awt.im.InputContext.getInputMethod(InputContext.java:636)
      >>> at sun.awt.im.InputContext.dispatchEvent(InputContext.java:188)
      >>> at >>>sun.awt.im.InputMethodContext.dispatchEvent(InputMethodContext.java:177)
      >>> at java.awt.Component.dispatchEventImpl(Component.java:2570)
      >>> at java.awt.Container.dispatchEventImpl(Container.java:1227)
      >>> at java.awt.Window.dispatchEventImpl(Window.java:912)
      >>> at java.awt.Component.dispatchEvent(Component.java:2540)
      >>> at java.awt.EventQueue.dispatchEvent(EventQueue.java:323)
      >>> at >>>java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103)
      >>> at >>>java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
      >>> at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)
      >>>#
      >>># An unexpected exception has been detected in native code outside the VM.
      >>># Program counter=0xf7b46660
      >>>#
      >>>wizard:/home/hl108890/qa/jdktest/build 16 %


      This phenomenon only appears in jdk1.4 ,build 14 solaris platform (I tested in
      2.7 and 2.8), and will NOT appear in jdk1.4 build 14 win 2000 platform , and jdk1.3 FCS solaris platform (2.8)

      2.8 --- SunOS wizard 5.8 s28_33 sun4u sparc SUNW,Ultra-30
      2.7 --- SunOS jasmine 5.7 Generic_106541-02 sun4u sparc SUNW,Ultra-60

      Maybe sometimes , the failed message is not like above, but i am sure
      it will be failed in Solaris platform, and it is easy to reproduce.
      Kewin (khuang) got same failed result .

      The operation steps is like
      1. start up JDKTester
      2. choose Swing Tester
      3. choose Aoto test

      ---- end of hercule li (5/22/00)




      hercule.li@prc 2000-05-23

      The similar phenomenon happened when i tested 'Text Drawer' and 'Stree Tester'
      in Solaris 2.7 .

      When I ran test tool in Solaris 2.6, the test tool would down at once.

      2.6 --- SunOS unicorn.prc.sun.com 5.6 Generic_105181-05 sun4u sparc SUNW,Ultra-1

      ---------- end of hercule.li@prc 2000-05-23



      Reproducible in
      Build: merlin b22
      Platform: Solaris 8
      Encodings: zh and zh.GBK

      As stated above, the output message are different. The output message I got by following "The operation steps is like",

      JDK I18n/L10n Test Suite 1.0 Copyright (c) 1997 TDC - Sun Microsystems, Inc.
       ÕýÔÚ³õʼ»¯....×°Ôع¤¾ß......Íê±Ï!
      Exception occurred during event dispatching:
      java.lang.NullPointerException
              at javax.swing.BoxLayout.checkRequests(BoxLayout.java:363)
              at javax.swing.BoxLayout.minimumLayoutSize(BoxLayout.java:216)
              at java.awt.Container.minimumSize(Container.java:884)
              at java.awt.Container.getMinimumSize(Container.java:868)
              at javax.swing.JComponent.getMinimumSize(JComponent.java:1131)
              at javax.swing.BoxLayout.checkRequests(BoxLayout.java:360)
              at javax.swing.BoxLayout.minimumLayoutSize(BoxLayout.java:216)
              at java.awt.Container.minimumSize(Container.java:884)
              at java.awt.Container.getMinimumSize(Container.java:868)
              at javax.swing.JComponent.getMinimumSize(JComponent.java:1131)
              at javax.swing.BoxLayout.checkRequests(BoxLayout.java:360)
              at javax.swing.BoxLayout.layoutContainer(BoxLayout.java:292)
              at java.awt.Container.layout(Container.java:702)
              at java.awt.Container.doLayout(Container.java:692)
              at java.awt.Container.validateTree(Container.java:766)
              at java.awt.Container.validateTree(Container.java:773)
              at java.awt.Container.validateTree(Container.java:773)
              at java.awt.Container.validateTree(Container.java:773)
              at java.awt.Container.validateTree(Container.java:773)
              at java.awt.Container.validateTree(Container.java:773)
              at java.awt.Container.validate(Container.java:744)
              at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:317)
              at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:118)
              at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:353)
              at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:127)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:117)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:96)
      java.lang.NullPointerException
              at javax.swing.SizeRequirements.calculateAlignedPositions(SizeRequirements.java:329)
              at javax.swing.BoxLayout.layoutContainer(BoxLayout.java:313)
              at java.awt.Container.layout(Container.java:702)
              at java.awt.Container.doLayout(Container.java:692)
              at java.awt.Container.validateTree(Container.java:766)
              at java.awt.Container.validate(Container.java:744)
              at tools.swingtester.JComboBoxesPanel.setTestContent(JComboBoxesPanel.java:78)
              at tools.swingtester.SwingTesterFrame.setTestContent(SwingTesterFrame.java:339)
              at tools.swingtester.SwingTesterFrame.configure(SwingTesterFrame.java:292)
              at tools.swingtester.SwingTester.configure(SwingTester.java:127)
              at tools.swingtester.SwingTester.doTest(SwingTester.java:321)
              at tools.swingtester.SwingTester.autotest(SwingTester.java:183)
              at tools.utility.TestDriver.run(TestDriver.java:206)
              at java.lang.Thread.run(Thread.java:488)

      ------------ben.pagatpatan@Eng 2000-07-17

            ehawkessunw Eric Hawkes (Inactive)
            hlisunw Hercule Li (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: