java.lang.NullPointerException

hibernate.org | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    EJB3:->Connection error occured (Unable to access entity from client)

    Oracle Community | 9 years ago | 843830
    org.hibernate.exception.GenericJDBCException: could not load an entity: [com.dboys.ejb.entity.TblLogin#2]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.jboss.mx.loading.RepositoryClassLoader.findClass()
    2. JBoss Application Server J2SE
      RepositoryClassLoader.findClass
      1. org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:620)
      1 frame
    3. Java RT
      ClassLoader.loadClass
      1. java.lang.ClassLoader.loadClass(ClassLoader.java:289)
      1 frame
    4. JBoss Application Server J2SE
      RepositoryClassLoader.loadClass
      1. org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:464)
      2. org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
      2 frames
    5. Java RT
      ClassLoader.loadClassInternal
      1. java.lang.ClassLoader.loadClass(ClassLoader.java:235)
      2. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
      2 frames
    6. MySQL jdbc
      Connection.prepareStatement
      1. com.mysql.jdbc.PreparedStatement.<init>(PreparedStatement.java:147)
      2. com.mysql.jdbc.Connection.prepareStatement(Connection.java:1283)
      2 frames
    7. JBoss Application Server Connector
      WrappedConnection.prepareStatement
      1. org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.doPrepareStatement(BaseWrapperManagedConnection.java:349)
      2. org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.prepareStatement(BaseWrapperManagedConnection.java:344)
      3. org.jboss.resource.adapter.jdbc.WrappedConnection.prepareStatement(WrappedConnection.java:187)
      3 frames
    8. Hibernate
      QueryLoader.list
      1. org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:497)
      2. org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:415)
      3. org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
      4. org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1561)
      5. org.hibernate.loader.Loader.doQuery(Loader.java:661)
      6. org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
      7. org.hibernate.loader.Loader.doList(Loader.java:2145)
      8. org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029)
      9. org.hibernate.loader.Loader.list(Loader.java:2024)
      10. org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:392)
      10 frames
    9. Hibernate HQL/JP-QL Parser
      QueryTranslatorImpl.list
      1. org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:333)
      1 frame
    10. Hibernate
      QueryImpl.list
      1. org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
      2. org.hibernate.impl.SessionImpl.list(SessionImpl.java:1114)
      3. org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
      3 frames