another testcase failure

Alan Bateman Alan.Bateman at
Mon Oct 3 02:33:11 UTC 2011

Kelly O'Hair wrote:
> This one failed on Solaris 10u6 sparc,  look familiar to anyone?
> java.lang.NullPointerException
> 	at LoggingMXBeanTest.checkAttributes(
> 	at LoggingMXBeanTest.main(
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> 	at java.lang.reflect.Method.invoke(
> 	at com.sun.javatest.regtest.MainAction$
> 	at
> 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.


More information about the core-libs-dev mailing list