Name: aaR10208 Date: 06/27/2003
Filed By : J2SE-SQA [###@###.###
JDK : JRE1.5.0-b09, b08 (passed in b07 in the same mode)
JCK : JCK1.4a-runtime
Platform[s] : Windows 2000 Pro,
switch/Mode : Plugin/IE6.0 (JRE) (passed in OtherJVM mode)
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Falling test[s]:
api/javax_swing/plaf/basic/BasicComboPopup/ListMouseMotionHandler/index.html#public
api/javax_swing/plaf/basic/BasicComboPopup/ListDataHandler/index.html#public
api/javax_swing/plaf/basic/BasicFileChooserUI/CancelSelectionAction/index.html#public
api/javax_swing/plaf/basic/BasicComboBoxUI/index.html#protected
api/javax_swing/plaf/basic/BasicFileChooserUI/index.html#protected
api/javax_swing/plaf/basic/BasicInternalFrameUI/index.html#protected
api/javax_swing/plaf/basic/BasicDirectoryModel/index.html#protected
These 7 tests fail on Windows 2000 Pro with plugin/IE6.0 and j2re-1.5.0-b09 installed, but pass in OtherJVM mode.
These tests are mentioned in jck1.5 KFL list, but they are supplied with a bugid (4869855) which describes other symptom.
For these failures the NPE is thrown from the sun.font.CMap.initialize() method, not from BasicPopupMenuUI$MouseGrabber.grabWindow.
Test source location:
=====================
/java/re/jck/1.4a/archive/fcs/binaries/JCK-runtime-14a/tests/api/javax_swing/plaf/basic/*
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results/tiger/b09/jck14a/win32/win2000_smp_plugin_ie6.0_linux-22/workDir/api/javax_swing/plaf/basic/BasicComboPopup/ListMouseMotionHandler/index_public.jtr
/net/jtgb4u4c.sfbay/export/sail15/results/tiger/b09/jck14a/win32/win2000_smp_plugin_ie6.0_linux-22/workDir/api/javax_swing/plaf/basic/BasicComboPopup/ListDataHandler/index_public.jtr
/net/jtgb4u4c.sfbay/export/sail15/results/tiger/b09/jck14a/win32/win2000_smp_plugin_ie6.0_linux-22/workDir/api/javax_swing/plaf/basic/BasicFileChooserUI/CancelSelectionAction/index_public.jtr
/net/jtgb4u4c.sfbay/export/sail15/results/tiger/b09/jck14a/win32/win2000_smp_plugin_ie6.0_linux-22/workDir/api/javax_swing/plaf/basic/BasicComboBoxUI/index_protected.jtr
/net/jtgb4u4c.sfbay/export/sail15/results/tiger/b09/jck14a/win32/win2000_smp_plugin_ie6.0_linux-22/workDir/api/javax_swing/plaf/basic/BasicFileChooserUI/index_protected.jtr
/net/jtgb4u4c.sfbay/export/sail15/results/tiger/b09/jck14a/win32/win2000_smp_plugin_ie6.0_linux-22/workDir/api/javax_swing/plaf/basic/BasicInternalFrameUI/index_protected.jtr
/net/jtgb4u4c.sfbay/export/sail15/results/tiger/b09/jck14a/win32/win2000_smp_plugin_ie6.0_linux-22/workDir/api/javax_swing/plaf/basic/BasicDirectoryModel/index_protected.jtr
How to reproduce:
=================
1. Install j2re1.5.0 on Windows 2000 box.
2. Run the test using JavaTest.
Test output:
============
----------ref:(2/137)----------
Executing command via 127.0.0.1,port=4427,localport=1944
====== ListMouseMotionHandler0001 ====== public void mouseMoved(MouseEvent e)
----------log:(54/3513)----------
java.lang.NullPointerException
at sun.font.CMap.initialize(Unknown Source)
at sun.font.TrueTypeGlyphMapper.<init>(Unknown Source)
at sun.font.TrueTypeFont.getMapper(Unknown Source)
at sun.font.FileFontStrike.<init>(Unknown Source)
at sun.font.FileFont.createStrike(Unknown Source)
at sun.font.Font2D.getStrike(Unknown Source)
at sun.font.Font2D.getStrike(Unknown Source)
at sun.font.CompositeStrike.getStrikeForSlot(Unknown Source)
at sun.font.CompositeStrike.getFontMetrics(Unknown Source)
at sun.font.FontDesignMetrics.initMatrixAndMetrics(Unknown Source)
at sun.font.FontDesignMetrics.<init>(Unknown Source)
at sun.font.FontDesignMetrics.<init>(Unknown Source)
at sun.awt.SunToolkit.getFontMetrics(Unknown Source)
at sun.awt.windows.WToolkit.getFontMetrics(Unknown Source)
at javax.swing.plaf.basic.BasicLabelUI.getPreferredSize(Unknown Source)
at javax.swing.JComponent.getPreferredSize(Unknown Source)
at javax.swing.plaf.basic.BasicComboBoxRenderer.getPreferredSize(Unknown Source)
at javax.swing.plaf.basic.BasicComboBoxUI.getSizeForComponent(Unknown Source)
at javax.swing.plaf.basic.BasicComboBoxUI.getDisplaySize(Unknown Source)
at javax.swing.plaf.basic.BasicComboBoxUI.getMinimumSize(Unknown Source)
at javax.swing.plaf.basic.BasicComboBoxUI.getPreferredSize(Unknown Source)
at javax.swing.JComponent.getPreferredSize(Unknown Source)
at java.awt.BorderLayout.preferredLayoutSize(Unknown Source)
at java.awt.Container.preferredSize(Unknown Source)
at java.awt.Container.getPreferredSize(Unknown Source)
at javax.swing.JComponent.getPreferredSize(Unknown Source)
at javax.swing.JRootPane$RootLayout.preferredLayoutSize(Unknown Source)
at java.awt.Container.preferredSize(Unknown Source)
at java.awt.Container.getPreferredSize(Unknown Source)
at javax.swing.JComponent.getPreferredSize(Unknown Source)
at java.awt.BorderLayout.preferredLayoutSize(Unknown Source)
at java.awt.Container.preferredSize(Unknown Source)
at java.awt.Container.getPreferredSize(Unknown Source)
at java.awt.Window.pack(Unknown Source)
at javasoft.sqe.tests.api.javax.swing.plaf.basic.BasicComboPopup.ListMouseMotionHandler.publicTests.ListMouseMotionHandler0001(publicTests.java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd$Version2Test.execute(ExecJCKTestSameJVMCmd.java:372)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd$StandardTest.run(ExecJCKTestSameJVMCmd.java:317)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd.execute(ExecJCKTestSameJVMCmd.java:194)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd.run(ExecJCKTestSameJVMCmd.java:125)
at com.sun.javatest.agent.Agent$Task.executeCommand(Agent.java:818)
at com.sun.javatest.agent.Agent$Task.execute(Agent.java:749)
at com.sun.javatest.agent.Agent$Task.handleRequest(Agent.java:607)
at com.sun.javatest.agent.Agent.handleRequestsUntilClosed(Agent.java:376)
at com.sun.javatest.agent.Agent.access$000(Agent.java:42)
at com.sun.javatest.agent.Agent$1.run(Agent.java:254)
at java.lang.Thread.run(Unknown Source)
ListMouseMotionHandler0001: Failed. Test case throws exception: java.lang.NullPointerException
result: Failed. test cases: 1; all failed; first test case failure: ListMouseMotionHandler0001
test result: Failed. test cases: 1; all failed; first test case failure: ListMouseMotionHandler0001
Specific machine info:
======================
Hostname: linux-22
OS: Windows 2000 Pro
======================================================================
- relates to
-
JDK-4869855 method MenuSelectionManager.setSelectedPath() throws NPE
- Closed