Kelly O'Hair wrote:
This one failed on Solaris 10u6 sparc, look familiar to anyone?
STDERR:
java.lang.NullPointerException
at LoggingMXBeanTest.checkAttributes(LoggingMXBeanTest.java:220)
at LoggingMXBeanTest.main(LoggingMXBeanTest.java:61)
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:474)
at
com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:680)
at java.lang.Thread.run(Thread.java:722)
JavaTest Message: Test threw exception: java.lang.NullPointerException
JavaTest Message: shutting down test
TEST RESULT: Failed. Execution failed: `main' threw exception:
java.lang.NullPointerException
--------------------------------------------------
I saw this once too and found there is a bug open on it (7067691). I
think the issue is that the Loggers are being GC'ed with the result that
getLogger returns null causing the failure you observed. It's not
Solaris specific but rather it's just that the loggers were GC'ed at the
wrong time. It's possible that some of the other logging tests need to
be fixed for the same issue.
-Alan.