dev@glassfish.java.net

Re: quicklook failure in amx_tests

From: Jennifer Chou <jennifer.chou_at_oracle.com>
Date: Tue, 15 Jun 2010 15:38:15 +0100

Seems like the amx test is creating a null monitoringService but I can't
see exactly where.

On 6/15/2010 3:20 PM, Bobby Bissett wrote:
> From createChildTest:
>
> java.lang.reflect.UndeclaredThrowableException
> at $Proxy24.createChild(Unknown Source)
> at
> amxtest.AMXConfigProxyTests.createChildTest(AMXConfigProxyTests.java:468)
> Caused by: java.lang.Exception: java.lang.Throwable
> at
> org.glassfish.admin.amx.impl.mbean.AMXImplBase.handleException(AMXImplBase.java:983)
>
> at
> org.glassfish.admin.amx.impl.mbean.AMXImplBase.handleInvokeThrowable(AMXImplBase.java:1011)
>
> at
> org.glassfish.admin.amx.impl.mbean.AMXImplBase.invoke(AMXImplBase.java:1054)
>
> at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
>
> at
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
> at
> javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1427)
>
> at
> javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
>
> at
> javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265)
>
> at
> javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1360)
>
> at
> javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
>
> at
> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
> at sun.rmi.transport.Transport$1.run(Transport.java:159)
> at java.security.AccessController.doPrivileged(Native Method)
> at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
> at
> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
> at
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
>
> at
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
>
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>
> at java.lang.Thread.run(Thread.java:637)
> Caused by: java.lang.Throwable
> at
> org.glassfish.admin.amx.impl.config.AMXConfigImpl.createChildren(AMXConfigImpl.java:553)
>
> at
> org.glassfish.admin.amx.impl.config.AMXConfigImpl.createChild(AMXConfigImpl.java:650)
>
> at
> org.glassfish.admin.amx.impl.mbean.AMXImplBase.invoke(AMXImplBase.java:1039)
>
> ... 21 more
> Caused by: java.lang.RuntimeException:
> org.jvnet.hk2.config.TransactionFailure: Constraints for this bean
> violated.
> Message = monitoringService may not be null
> at
> org.jvnet.hk2.config.WriteableView.canCommit(WriteableView.java:306)
> at org.jvnet.hk2.config.Transaction.canCommit(Transaction.java:95)
> at org.jvnet.hk2.config.Transaction.commit(Transaction.java:114)
> at org.jvnet.hk2.config.ConfigSupport._apply(ConfigSupport.java:173)
> at org.jvnet.hk2.config.ConfigSupport.apply(ConfigSupport.java:130)
> at
> org.glassfish.admin.amx.impl.config.AMXConfigImpl.createChildren(AMXConfigImpl.java:548)
>
> ... 27 more
> Caused by: java.lang.Exception: Constraints for this bean violated.
> Message = monitoringService may not be null
> ... 33 more
> ... Removed 30 stack frames
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>