JDK-4911005 : REGRESSION: 3 JCK1.5-runtime api/java_beans/Introspector/.. tests fail
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.beans
  • Affected Version: 5.0
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic,linux,windows_2003
  • CPU: generic,x86
  • Submitted: 2003-08-22
  • Updated: 2003-08-22
  • Resolved: 2003-08-22
Related Reports
Duplicate :  
Description

Name: mmR10223			Date: 08/22/2003


Filed By       : J2SE-SQA [###@###.###
JDK            : JDK1.5.0-b15 (pass using JDK1.5.0-b14, JDK1.4.2-b28)
JCK            : JCK1.5-runtime
Platform[s]    : all
switch/Mode    : default
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Falling test[s]: 
        api/java_beans/Introspector/descriptions.html#Introspector [Introspector0023, Introspector0025, Introspector0026, Introspector0035, Introspector0043, Introspector0045, Introspector0053, Introspector0055]
        api/java_beans/Introspector/descriptions.html#Introspector12 [Introspector0097, Introspector0094, Introspector0093, Introspector0088, Introspector0087]
	api/java_beans/Introspector/descriptions.html#flush [Introspector0601, Introspector0606, Introspector0607]
	

Test source location:
=====================
/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-5/tests/api/java_beans/Introspector/IntrospectorTests.java
/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-5/tests/api/java_beans/Introspector/Introspector12Tests.java
/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-5/tests/api/java_beans/Introspector/flushTests.java

jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b15/jck15/linux/suse8.0_gnome_server_linux-2/workDir/api/java_beans/Introspector/descriptions_Introspector.jtr
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b15/jck15/linux/suse8.0_gnome_server_linux-2/workDir/api/java_beans/Introspector/descriptions_Introspector12.jtr
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b15/jck15/linux/suse8.0_gnome_server_linux-2/workDir/api/java_beans/Introspector/descriptions_flush.jtr

How to reproduce:
=================
Run the following script (you may need to change its variables)
 
--- script start ---
#!/bin/bash

JCK="/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15"
JDK="/java/re/jdk/1.5.0/promoted/latest/binaries/solaris-sparc"
CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
 
 
$JDK/bin/java $switches -cp $CLASSPATH javasoft.sqe.tests.api.java.beans.Introspector.IntrospectorTests -TestCaseID Introspector0023 Introspector0025 Introspector0026 Introspector0035 Introspector0043 Introspector0045 Introspector0053 Introspector0055

--- script end ---

Test output:
=====javasoft.sqe.tests.api.java.beans.util.BadStatus: Assert failed: "PropertyDescriptor is non-null"
        at javasoft.sqe.tests.api.java.beans.Introspector.IntrospectorTests.assertIdentity(IntrospectorTests.java:317)
        at javasoft.sqe.tests.api.java.beans.Introspector.IntrospectorTests.checkPD(IntrospectorTests.java:218)
        at javasoft.sqe.tests.api.java.beans.Introspector.IntrospectorTests.Introspector0023(IntrospectorTests.java:915)
        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:399)
        at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
        at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
        at javasoft.sqe.tests.api.java.beans.Introspector.IntrospectorTests.main(IntrospectorTests.java:354)
Introspector0023: Failed. Test case throws exception: javasoft.sqe.tests.api.java.beans.util.BadStatus: Assert failed: "PropertyDescriptor is non-null"
java.lang.NullPointerException
        at javasoft.sqe.tests.api.java.beans.Introspector.IntrospectorTests.checkESD(IntrospectorTests.java:184)
        at javasoft.sqe.tests.api.java.beans.Introspector.IntrospectorTests.Introspector0025(IntrospectorTests.java:974)
        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:399)
        at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
        at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
        at javasoft.sqe.tests.api.java.beans.Introspector.IntrospectorTests.main(IntrospectorTests.java:354)
Introspector0025: Failed. Test case throws exception: java.lang.NullPointerException
javasoft.sqe.tests.api.java.beans.util.BadStatus: Assert failed: "defaultPropertyIndex >= 0"
        at javasoft.sqe.tests.api.java.beans.Introspector.IntrospectorTests.assertIdentity(IntrospectorTests.java:317)
        at javasoft.sqe.tests.api.java.beans.Introspector.IntrospectorTests.Introspector0026(IntrospectorTests.java:1011)
        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:399)
        at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
        at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
        at javasoft.sqe.tests.api.java.beans.Introspector.IntrospectorTests.main(IntrospectorTests.java:354)
Introspector0026: Failed. Test case throws exception: javasoft.sqe.tests.api.java.beans.util.BadStatus: Assert failed: "defaultPropertyIndex >= 0"
java.lang.NullPointerException
        at javasoft.sqe.tests.api.java.beans.Introspector.IntrospectorTests.checkESD(IntrospectorTests.java:184)
        at javasoft.sqe.tests.api.java.beans.Introspector.IntrospectorTests.Introspector0035(IntrospectorTests.java:1222)
        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:399)
        at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
        at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
        at javasoft.sqe.tests.api.java.beans.Introspector.IntrospectorTests.main(IntrospectorTests.java:354)
Introspector0035: Failed. Test case throws exception: java.lang.NullPointerException
javasoft.sqe.tests.api.java.beans.util.BadStatus: Assert failed: "setter is non-null"
        at javasoft.sqe.tests.api.java.beans.Introspector.IntrospectorTests.assertIdentity(IntrospectorTests.java:317)
        at javasoft.sqe.tests.api.java.beans.Introspector.IntrospectorTests.checkPD(IntrospectorTests.java:228)
        at javasoft.sqe.tests.api.java.beans.Introspector.IntrospectorTests.Introspector0043(IntrospectorTests.java:1431)
        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:399)
        at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
        at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
        at javasoft.sqe.tests.api.java.beans.Introspector.IntrospectorTests.main(IntrospectorTests.java:354)
Introspector0043: Failed. Test case throws exception: javasoft.sqe.tests.api.java.beans.util.BadStatus: Assert failed: "setter is non-null"
java.lang.NullPointerException
        at javasoft.sqe.tests.api.java.beans.Introspector.IntrospectorTests.checkESD(IntrospectorTests.java:184)
        at javasoft.sqe.tests.api.java.beans.Introspector.IntrospectorTests.Introspector0045(IntrospectorTests.java:1490)
        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:399)
        at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
        at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
        at javasoft.sqe.tests.api.java.beans.Introspector.IntrospectorTests.main(IntrospectorTests.java:354)
Introspector0045: Failed. Test case throws exception: java.lang.NullPointerException
javasoft.sqe.tests.api.java.beans.util.BadStatus: Assert failed: "setter is non-null"
        at javasoft.sqe.tests.api.java.beans.Introspector.IntrospectorTests.assertIdentity(IntrospectorTests.java:317)
        at javasoft.sqe.tests.api.java.beans.Introspector.IntrospectorTests.checkPD(IntrospectorTests.java:228)
        at javasoft.sqe.tests.api.java.beans.Introspector.IntrospectorTests.Introspector0053(IntrospectorTests.java:1674)
        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:399)
        at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
        at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
        at javasoft.sqe.tests.api.java.beans.Introspector.IntrospectorTests.main(IntrospectorTests.java:354)
Introspector0053: Failed. Test case throws exception: javasoft.sqe.tests.api.java.beans.util.BadStatus: Assert failed: "setter is non-null"
java.lang.NullPointerException
        at javasoft.sqe.tests.api.java.beans.Introspector.IntrospectorTests.checkESD(IntrospectorTests.java:184)
        at javasoft.sqe.tests.api.java.beans.Introspector.IntrospectorTests.Introspector0055(IntrospectorTests.java:1733)
        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:399)
        at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
        at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
        at javasoft.sqe.tests.api.java.beans.Introspector.IntrospectorTests.main(IntrospectorTests.java:354)
Introspector0055: Failed. Test case throws exception: java.lang.NullPointerException
STATUS:Failed.test cases: 8; all failed; first test case failure: Introspector0023
=======

Specific machine info:
======================
Hostname: linux-19
OS: Windows 2003
Hostname: linux-2
OS: Suse Linux 8.2 (GNOME2)
Hostname: linux-8
OS: Solaris 10 (sparc) (GNOME)



======================================================================