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

Samebug tips

  1. ,

    Thrown when an application is trying to use or access an object whose reference equals to null. You are probably trying to use a reference that points to no location in memory as though it were referencing an object.

Solutions on the web

via clown by a1s
, 1 year ago
This exception has no message.
via Oracle Community by williamps, 1 year ago
via Google Groups by WaldGeist, 5 months ago
This exception has no message.
via GitHub by activeeon-bot
, 1 year ago
java.lang.NullPointerException: 	at java.util.Hashtable.put(Unknown Source)	at net.sf.hajdbc.management.DefaultMBeanRegistrar.createAttributes(DefaultMBeanRegistrar.java:134)	at net.sf.hajdbc.management.DefaultMBeanRegistrar.unregister(DefaultMBeanRegistrar.java:100)	at net.sf.hajdbc.sql.DatabaseClusterImpl.stop(DatabaseClusterImpl.java:796)	at net.sf.hajdbc.util.concurrent.LifecycleRegistry.get(LifecycleRegistry.java:86)	at net.sf.hajdbc.util.concurrent.LifecycleRegistry.get(LifecycleRegistry.java:34)	at net.sf.hajdbc.sql.CommonDataSource.getProxy(CommonDataSource.java:86)	at net.sf.hajdbc.sql.DataSource.getConnection(DataSource.java:60)	at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDataSource(PooledConnection.java:224)	at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:180)	at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:701)	at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:635)	at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:486)	at org.apache.tomcat.jdbc.pool.ConnectionPool.(ConnectionPool.java:144)	at org.apache.tomee.jdbc.TomEEDataSourceCreator.pool(TomEEDataSourceCreator.java:65)	at org.apache.openejb.resource.jdbc.pool.PoolDataSourceCreator.poolManaged(PoolDataSourceCreator.java:72)	at org.apache.openejb.resource.jdbc.DataSourceFactory.create(DataSourceFactory.java:115)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at org.apache.xbean.recipe.ReflectionUtil$StaticFactory.create(ReflectionUtil.java:998)	at org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276)	at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96)	at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61)	at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:49)	at org.apache.openejb.assembler.classic.Assembler.createResource(Assembler.java:2106)	at org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:490)	at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:409)	at org.apache.openejb.OpenEJB$Instance.(OpenEJB.java:148)	at org.apache.openejb.OpenEJB.init(OpenEJB.java:296)	at org.apache.tomee.catalina.TomcatLoader.initialize(TomcatLoader.java:246)	at org.apache.tomee.catalina.TomcatLoader.init(TomcatLoader.java:134)	at org.apache.tomee.catalina.ServerListener.lifecycleEvent(ServerListener.java:122)	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)	at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:110)	at org.apache.catalina.startup.Catalina.load(Catalina.java:640)	at org.apache.catalina.startup.Catalina.load(Catalina.java:665)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:281)	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455)