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

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

Solutions on the web

via Oracle Community by 843798, 1 year ago
Exception executing finder 'findByAuthor': java.sql.SQLException: No data found
via Oracle Community by 843829, 1 year ago
Problem in findByPrimaryKey while preparing or executing statement: 'weblogic.jdbc.rmi.SerialPreparedStatement@353cde': [java] java.sql.SQLException: No data found [java] java.sql.SQLException: No data found [java]
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 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 undefined.EntityClient.main(EntityClient.java:26)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.