java.lang.NullPointerException: name cannot be null

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 Oracle Community by srini6699, 1 year ago
name cannot be null
via jboss.org by Unknown author, 1 year ago
via jboss.org by Unknown author, 1 year ago
via Coderanch by Amit Chauhan, 1 year ago
via developpez.net by Unknown author, 2 years ago
java.lang.NullPointerException: name cannot be null
at javax.management.ObjectName.construct(ObjectName.java:405)
at javax.management.ObjectName.(ObjectName.java:1403)
at com.sun.enterprise.management.model.J2EEDomainMdl.handleNotification(J2EEDomainMdl.java:172)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor$ListenerWrapper.handleNotification(DefaultMBeanServerInterceptor.java:1732)
at javax.management.NotificationBroadcasterSupport.handleNotification(NotificationBroadcasterSupport.java:257)
at javax.management.NotificationBroadcasterSupport$SendNotifJob.run(NotificationBroadcasterSupport.java:322)
at javax.management.NotificationBroadcasterSupport$1.execute(NotificationBroadcasterSupport.java:307)
at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:229)
at javax.management.MBeanServerDelegate.sendNotification(MBeanServerDelegate.java:193)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.sendNotification(DefaultMBeanServerInterceptor.java:1524)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1501)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:963)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
at com.sun.enterprise.interceptor.DynamicInterceptor.registerMBean(DynamicInterceptor.java:259)
at com.sun.enterprise.admin.meta.MBeanRegistry.registerMBean(MBeanRegistry.java:801)
at com.sun.enterprise.admin.meta.MBeanRegistry.instantiateMBean(MBeanRegistry.java:849)
at com.sun.enterprise.management.util.J2EEManagementObjectManager.instantiateAndRegisterRuntimeMBean(J2EEManagementObjectManager.java:472)
at com.sun.enterprise.management.util.J2EEManagementObjectManager.createRARModuleMBean(J2EEManagementObjectManager.java:1416)
at com.sun.enterprise.server.ConnectorModuleLoader.createRootMBean(ConnectorModuleLoader.java:221)
at com.sun.enterprise.server.AbstractManager.loadOneSystemApp(AbstractManager.java:398)
at com.sun.enterprise.connectors.ConnectorServiceImpl.loadDeferredResourceAdapter(ConnectorServiceImpl.java:245)
at com.sun.enterprise.connectors.ConnectorServiceImpl.loadResourcesAndItsRar(ConnectorServiceImpl.java:213)
at com.sun.enterprise.connectors.ConnectorServiceImpl.checkAndLoadResource(ConnectorServiceImpl.java:196)
at com.sun.enterprise.naming.SerialContextProviderImpl.checkAndLoadResource(SerialContextProviderImpl.java:96)
at com.sun.enterprise.naming.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:77)
at com.sun.enterprise.naming.LocalSerialContextProviderImpl.lookup(LocalSerialContextProviderImpl.java:111)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.