-
Bug
-
Resolution: Fixed
-
P3
-
6
-
b43
-
generic
-
generic
-
Verified
The test does new ImmutableDescriptor(null) and expects an IllegalArgumentException.
IAE was the exception thrown up to b38.
With b39, we receive NPE.
Test output is:
Negative cases for constructor ImmutableDescriptor(Map<String,?> fields)
(TEST) null - null
(ERROR) Did not receive IllegalArgumentException; got in place java.lang.NullPointerException
java.lang.NullPointerException
at javax.management.ImmutableDescriptor.<init>(ImmutableDescriptor.java:90)
at javasoft.sqe.tests.api.javax.management.foundation.ImmutableDescriptor.ConstructorTest.doConstructorTest_6(ConstructorTest.java:441)
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:585)
at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
at javasoft.sqe.tests.api.javax.management.foundation.ImmutableDescriptor.ConstructorTest.main(ConstructorTest.java:36)
###@###.### 2005-06-08 07:53:48 GMT
IAE was the exception thrown up to b38.
With b39, we receive NPE.
Test output is:
Negative cases for constructor ImmutableDescriptor(Map<String,?> fields)
(TEST) null - null
(ERROR) Did not receive IllegalArgumentException; got in place java.lang.NullPointerException
java.lang.NullPointerException
at javax.management.ImmutableDescriptor.<init>(ImmutableDescriptor.java:90)
at javasoft.sqe.tests.api.javax.management.foundation.ImmutableDescriptor.ConstructorTest.doConstructorTest_6(ConstructorTest.java:441)
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:585)
at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
at javasoft.sqe.tests.api.javax.management.foundation.ImmutableDescriptor.ConstructorTest.main(ConstructorTest.java:36)
###@###.### 2005-06-08 07:53:48 GMT