another testcase failure

Kelly O'Hair kelly.ohair at oracle.com
Mon Oct 3 01:26:38 UTC 2011


This one failed on Solaris 10u6 sparc,  look familiar to anyone?

-kto


--------------------------------------------------
TEST: java/lang/management/PlatformLoggingMXBean/LoggingMXBeanTest.java
JDK under test: (/tmp/jprt/P1/001456.jprtadm/testproduct/solaris_sparc_5.10-product)
openjdk version "1.8.0-internal"
OpenJDK Runtime Environment (build 1.8.0-internal-201110030014.jprtadm.jdk-b00)
Java HotSpot(TM) Client VM (build 22.0-b03, mixed mode)

ACTION: build -- Passed. Build successful
REASON: User specified action: run build LoggingMXBeanTest 
TIME:   0.068 seconds
messages:
command: build LoggingMXBeanTest
reason: User specified action: run build LoggingMXBeanTest 
elapsed time (seconds): 0.068

ACTION: compile -- Passed. Compilation successful
REASON: .class file out of date or does not exist
TIME:   0.067 seconds
messages:
command: compile /tmp/jprt/P1/001456.jprtadm/source/test/java/lang/management/PlatformLoggingMXBean/LoggingMXBeanTest.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.067

ACTION: build -- Passed. All files up to date
REASON: Named class compiled on demand
TIME:   0.0 seconds
messages:
command: build LoggingMXBeanTest
reason: Named class compiled on demand
elapsed time (seconds): 0.0

ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.NullPointerException
REASON: User specified action: run main LoggingMXBeanTest 
TIME:   0.04 seconds
messages:
command: main LoggingMXBeanTest
reason: User specified action: run main LoggingMXBeanTest 
elapsed time (seconds): 0.04
STDOUT:
Test Logger Name retrieval (getLoggerNames)
  : Found new Logger : com.sun.management.Logger.Logger2
  : Found new Logger : com.sun.management.Logger
  : PASSED.
Test getLoggerLevel
  : Level for Logger com.sun.management.Logger : FINE
  : Level for Logger com.sun.management.Logger.Logger2 : 
  : Level for unknown logger : null
Test setLoggerLevel
  : Set Level for Logger com.sun.management.Logger to: INFO
  : Set Level for Logger com.sun.management.Logger.Logger2 to: SERVER
  : Set Level for Logger com.sun.management.Logger to: null
  : Set Level for unknown Logger to: FINE
      : IllegalArgumentException caught as expected
  : Set Level for Logger com.sun.management.Logger to: DUMMY
      : IllegalArgumentException caught as expected
Test getParentLoggerName
  : Parent Logger for com.sun.management.Logger.Logger2 : com.sun.management.Logger
  : Parent Logger for "" : 
  : Parent Logger for unknown logger : null
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
--------------------------------------------------





More information about the core-libs-dev mailing list