Name: icR10030 Date: 03/21/2002
Filed By : J2SE-SQA [###@###.###
JDK : jdk1.4.1-b06
JCK : JCK1.4
Platform[s] : Solaris 8 x86
switch/Mode : -client -Xmixed
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Failing Test : api/javax_swing/JPasswordField/descriptions.html#setgetXXX
Test source location:
=====================
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/javax_swing/JPasswordField/setgetXXXTests.java
jtr file location:
==================
/net/jtgb4u4c.eng/export/sail15/results/hopper/b06/jck14/x86/sol8_x86_smp_plugin_ns6.2_linux-6/workDir/api/javax_swing/JPasswordField/descriptions_setgetXXX.jtr
How to reproduce:
=================
--------Script START---------------------
#!/bin/sh
JCK=/net/linux-15/export/home/java/jck1.4/JCK-runtime-14
export JCK
CLASSPATH="${JCK}/classes:${JCK}/javatest.jar"
export CLASSPATH
JAVA_HOME=/net/linux-15/export/home/java/jdk1.4.1/x86/
export JAVA_HOME
$JAVA_HOME/bin/java -version
$JAVA_HOME/bin/java -cp ${JCK}/classes:${JCK}/javatest.jar -Xfuture -client -Xmixed javasoft.sqe.tests.api.javax.swing.JPasswordField.setgetXXXTests -TestCaseID JPasswordField3014 JPasswordField3015
--------Script END----------------------
Test output:
============
java version "1.4.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b06)
Java HotSpot(TM) Client VM (build 1.4.1-beta-b06, mixed mode)
java.io.IOException: Failed to get selection targets
at sun.awt.datatransfer.ClipboardTransferable.getClipboardFormats(Native Method)
at sun.awt.datatransfer.ClipboardTransferable.<init>(ClipboardTransferable.java:64)
at sun.awt.datatransfer.SunClipboard.getContents(SunClipboard.java:80)
at javax.swing.TransferHandler$TransferAction.actionPerformed(TransferHandler.java:811)
at javax.swing.text.JTextComponent.invokeAction(JTextComponent.java:1183)
at javax.swing.text.JTextComponent.paste(JTextComponent.java:1161)
at javasoft.sqe.tests.api.javax.swing.JPasswordField.setgetXXXTests.JPasswordField3014(setgetXXXTests.java:238)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:397)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:193)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:125)
at javasoft.sqe.tests.api.javax.swing.JPasswordField.setgetXXXTests.main(setgetXXXTests.java:24)
JPasswordField3014: Failed. Test case throws exception: java.io.IOException: Failed to get selection targets
java.io.IOException: Failed to get selection targets
at sun.awt.datatransfer.ClipboardTransferable.getClipboardFormats(Native Method)
at sun.awt.datatransfer.ClipboardTransferable.<init>(ClipboardTransferable.java:64)
at sun.awt.datatransfer.SunClipboard.getContents(SunClipboard.java:80)
at javax.swing.TransferHandler$TransferAction.actionPerformed(TransferHandler.java:811)
at javax.swing.text.JTextComponent.invokeAction(JTextComponent.java:1183)
at javax.swing.text.JTextComponent.paste(JTextComponent.java:1161)
at javasoft.sqe.tests.api.javax.swing.JPasswordField.setgetXXXTests.JPasswordField3015(setgetXXXTests.java:260)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:397)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:193)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:125)
at javasoft.sqe.tests.api.javax.swing.JPasswordField.setgetXXXTests.main(setgetXXXTests.java:24)
JPasswordField3015: Failed. Test case throws exception: java.io.IOException: Failed to get selection targets
====== JPasswordField3014 ====== public void cut()
====== JPasswordField3015 ====== public void copy()
STATUS:Failed.tests: 2; failed: 2; first test case failure: JPasswordField3014
Specific Machine Info:
======================
Hostname: linux-6
Os: Solaris 8 x86
======================================================================