JDK-8022120 : JCK test api/javax_xml/crypto/dsig/TransformService/index_ParamMethods fails
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.xml.crypto
  • Affected Version: 8
  • Priority: P1
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2013-08-02
  • Updated: 2017-02-22
  • Resolved: 2013-08-06
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 Other
8 b103Fixed openjdk7uFixed
Related Reports
Relates :  
Description
The JCK (JCK8b28) test api/javax_xml/crypto/dsig/TransformService/index_ParamMethods has started to fail since jdk8b100 with error:

java.lang.ClassCastException: parent must be of type DOMStructure
	at org.jcp.xml.dsig.internal.dom.ApacheTransform.marshalParams(ApacheTransform.java:95)
	at org.jcp.xml.dsig.internal.dom.DOMXPathTransform.marshalParams(DOMXPathTransform.java:94)
	at javasoft.sqe.tests.api.javax.xml.crypto.dsig.TransformService.ParamMethodsTests.ParamMethods2003(ParamMethodsTests.java:124)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:491)
	at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:405)
	at javasoft.sqe.jck.lib.XMLDSigProviderTest.invokeTestCase(XMLDSigProviderTest.java:105)
	at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:194)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:491)
	at com.sun.jck.lib.ExecJCKTestSameJVMCmd$Version2Test.execute(ExecJCKTestSameJVMCmd.java:488)
	at com.sun.jck.lib.ExecJCKTestSameJVMCmd$StandardTest.run(ExecJCKTestSameJVMCmd.java:436)
	at com.sun.jck.lib.ExecJCKTestSameJVMCmd.execute(ExecJCKTestSameJVMCmd.java:258)
	at com.sun.jck.lib.ExecJCKTestSameJVMCmd.run(ExecJCKTestSameJVMCmd.java:161)
	at com.sun.javatest.agent.Agent$Task.executeCommand(Agent.java:845)
	at com.sun.javatest.agent.Agent$Task.execute(Agent.java:789)
	at com.sun.javatest.agent.Agent$Task.handleRequest(Agent.java:645)
	at com.sun.javatest.agent.Agent.handleRequestsUntilClosed(Agent.java:416)
	at com.sun.javatest.agent.Agent.access$000(Agent.java:60)
	at com.sun.javatest.agent.Agent$1.run(Agent.java:282)
	at java.lang.Thread.run(Thread.java:724)
Comments
JCK test fix. --SQE OK
06-08-2013

The tests are expecting NullPointerException to be thrown if the parent parameter is null. New code pulled in as part of 80115547 caused a regression.
02-08-2013

Where can I get the source for ParamMethodsTests?
02-08-2013