java.sql.SQLException

Exception #2503784

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web678

  • via Stack Overflow by Reticality
    ,
  • Stack trace

    • java.sql.SQLException at net.sf.hajdbc.sql.SQLExceptionFactory.createException(SQLExceptionFactory.java:51) at net.sf.hajdbc.sql.SQLExceptionFactory.createException(SQLExceptionFactory.java:35) at net.sf.hajdbc.AbstractExceptionFactory.createException(AbstractExceptionFactory.java:62) at net.sf.hajdbc.util.concurrent.LifecycleRegistry.get(LifecycleRegistry.java:95) 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.<init>(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.<init>(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) Caused by: 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.register(DefaultMBeanRegistrar.java:73) at net.sf.hajdbc.sql.DatabaseClusterImpl.start(DatabaseClusterImpl.java:755) at net.sf.hajdbc.util.concurrent.LifecycleRegistry.get(LifecycleRegistry.java:76) ... 41 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    JustinJustin
    2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    poroszdporoszd
    2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    19 more bugmates