javax.ejb.FinderException

Exception executing finder 'findByAuthor': java.sql.SQLException: No data found

Solutions on the web27

  • via Oracle Community by 843798, 11 months ago
    Exception executing finder 'findByAuthor': java.sql.SQLException: No data found
  • via Google Groups by Jason Rosenberg, 1 year ago
    Exception executing finder: java.lang.NullPointerException
  • Exception executing finder: java.lang.NullPointerException
  • Stack trace

    • javax.ejb.FinderException: Exception executing finder 'findByAuthor': java.sql.SQLException: No data found at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:6207) at sun.jdbc.odbc.JdbcOdbc.SQLGetDataInteger(JdbcOdbc.java:3166) at sun.jdbc.odbc.JdbcOdbcResultSet.getDataInteger(JdbcOdbcResultSet.java:5333) at sun.jdbc.odbc.JdbcOdbcResultSet.getInt(JdbcOdbcResultSet.java:550) at weblogic.jdbc.jts.ResultSet.getInt(ResultSet.java:141) at com.jimdl.testejb.BookBean_18i6h__WebLogic_CMP_RDBMS.__WL_loadFromRS(BookBean_18i6h__WebLogic_CMP_RDBMS.java:352) at com.jimdl.testejb.BookBean_18i6h__WebLogic_CMP_RDBMS.__WL_loadGroupByIndex(BookBean_18i6h__WebLogic_CMP_RDBMS.java:346) at weblogic.ejb20.cmp11.rdbms.PersistenceManagerImpl.loadBeanFromRS(PersistenceManagerImpl.java:396) at weblogic.ejb20.manager.DBManager.getBeanFromRS(DBManager.java:1131) at weblogic.ejb20.manager.BaseEntityManager.getBeanFromRS(BaseEntityManager.java:532) at weblogic.ejb20.cmp11.rdbms.PersistenceManagerImpl.getBeanFromRS(PersistenceManagerImpl.java:165) at com.jimdl.testejb.BookBean_18i6h__WebLogic_CMP_RDBMS.ejbFindByAuthor(BookBean_18i6h__WebLogic_CMP_RDBMS.java:615) at java.lang.reflect.Method.invoke(Native Method) at weblogic.ejb20.cmp11.rdbms.PersistenceManagerImpl.collectionFinder(PersistenceManagerImpl.java:356) at weblogic.ejb20.manager.BaseEntityManager.collectionFinder(BaseEntityManager.java:983) at weblogic.ejb20.manager.BaseEntityManager.collectionFinder(BaseEntityManager.java:955) at weblogic.ejb20.internal.EntityEJBHome.finder(EntityEJBHome.java:559) at com.jimdl.testejb.BookBean_18i6h_HomeImpl.findByAuthor(BookBean_18i6h_HomeImpl.java:130) at com.jimdl.testejb.BookBean_18i6h_HomeImpl_WLSkel.invoke(Unknown Source) at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362) at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114) at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313) at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:821) at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308) at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189) at weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:109) at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:263) at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:230) at com.jimdl.testejb.BookBean_18i6h_HomeImpl_WLStub.findByAuthor(Unknown Source) at EntityClient.main(EntityClient.java:26)

    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

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.