Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Apereo Issues by Jason Elwood, 2 years ago
Exception occurred trying to unregister the MBean
via Apereo Issues by Jason Elwood, 1 year ago
Exception occurred trying to unregister the MBean
via Java.net JIRA by Bhavanishankar, 1 year ago
Exception occurred trying to unregister the MBean
java.lang.IllegalArgumentException: Object name cannot be null	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.unregisterMBean(DefaultMBeanServerInterceptor.java:363)	at com.sun.jmx.mbeanserver.JmxMBeanServer.unregisterMBean(JmxMBeanServer.java:550)	at net.sf.ehcache.distribution.jgroups.JGroupsCacheReceiver.dispose(JGroupsCacheReceiver.java:94)	at net.sf.ehcache.distribution.jgroups.JGroupsCacheManagerPeerProvider.shutdownCachePeer(JGroupsCacheManagerPeerProvider.java:205)	at net.sf.ehcache.distribution.jgroups.JGroupsCacheManagerPeerProvider.dispose(JGroupsCacheManagerPeerProvider.java:197)	at net.sf.ehcache.CacheManager.shutdown(CacheManager.java:1430)	at org.springframework.cache.ehcache.EhCacheManagerFactoryBean.destroy(EhCacheManagerFactoryBean.java:165)	at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:238)	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:510)	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:486)	at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:742)	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:455)	at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1090)	at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1064)	at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:1010)	at org.springframework.context.support.AbstractApplicationContext.destroy(AbstractApplicationContext.java:998)	at org.jasig.portal.shell.PortalShell.main(PortalShell.java:95)