java.lang.NullPointerException

Oracle Community | 3004 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at com.solarmetric.kodo.impl.jdbc.runtime.DataSourceConnector.getConnection()
  2. com.solarmetric.kodo
    PersistenceManagerImpl.makePersistent
    1. com.solarmetric.kodo.impl.jdbc.runtime.DataSourceConnector.getConnection(DataSourceConnector.java:79)
    2. com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.getConnectionFromFactory(SQLExecutionManagerImpl.java:185)
    3. com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.getConnection(SQLExecutionManagerImpl.java:147)
    4. com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.prepareStatementInternal(SQLExecutionManagerImpl.java:745)
    5. com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executePreparedQueryInternal(SQLExecutionManagerImpl.java:697)
    6. com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executeQueryInternal(SQLExecutionManagerImpl.java:600)
    7. com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executeQuery(SQLExecutionManagerImpl.java:355)
    8. com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executeQuery(SQLExecutionManagerImpl.java:339)
    9. com.solarmetric.kodo.impl.jdbc.schema.DBSequenceFactory.getCurrentSequence(DBSequenceFactory.java:292)
    10. com.solarmetric.kodo.impl.jdbc.schema.DBSequenceFactory.updateSequence(DBSequenceFactory.java:256)
    11. com.solarmetric.kodo.impl.jdbc.schema.DBSequenceFactory.getNext(DBSequenceFactory.java:111)
    12. com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.newDataStoreId(JDBCStoreManager.java:598)
    13. com.solarmetric.kodo.runtime.PersistenceManagerImpl.makePersistentFilter(PersistenceManagerImpl.java:1418)
    14. com.solarmetric.kodo.runtime.PersistenceManagerImpl.makePersistent(PersistenceManagerImpl.java:1348)
    14 frames
  3. com.generator.ejb
    OrganizationBean.createCompany
    1. com.generator.ejb.organization.OrganizationBean.createCompany(OrganizationBean.java:62)
    1 frame
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:324)
    4 frames
  5. JBoss Application Server Server
    StatelessSessionContainer$ContainerInterceptor.invoke
    1. org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:629)
    1 frame
  6. JBoss Application Server Connector
    CachedConnectionInterceptor.invoke
    1. org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
    1 frame
  7. JBoss Application Server Server
    Container.invoke
    1. org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)
    2. org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
    3. org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:243)
    4. org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:104)
    5. org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:117)
    6. org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
    7. org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
    8. org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:322)
    9. org.jboss.ejb.Container.invoke(Container.java:674)
    9 frames
  8. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:324)
    4 frames
  9. org.jboss.mx
    ReflectedMBeanDispatcher.invoke
    1. org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    1 frame
  10. JBoss Application Server J2SE
    MBeanServerImpl.invoke
    1. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
    1 frame
  11. JBoss Application Server Server
    JRMPInvoker.invoke
    1. org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:359)
    1 frame
  12. Java RT
    TCPTransport.handleMessages
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:324)
    5. sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
    6. sun.rmi.transport.Transport$1.run(Transport.java:148)
    7. java.security.AccessController.doPrivileged(Native Method)
    8. sun.rmi.transport.Transport.serviceCall(Transport.java:144)
    9. sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
    9 frames