java.sql.SQLException

[Microsoft][SQLServer JDBC Driver][SQLServer]sp_cursorclose: The cursor identifier value provided (abcdef5) is not valid.

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 web39

  • via Unknown by 3004,
  • via Unknown by 3004,
  • Stack trace

    • java.sql.SQLException: [Microsoft][SQLServer JDBC Driver][SQLServer]sp_cursorclose: The cursor identifier value provided (abcdef5) is not valid. at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(UnknownSource) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(UnknownSource) at com.microsoft.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(UnknownSource) at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSCursorRequest.closeCursor(UnknownSource) at com.microsoft.jdbc.sqlserver.tds.TDSCursorRequest.completeRowProcessing(Unknown Source) at com.microsoft.jdbc.sqlserver.SQLServerImplResultSet.close(UnknownSource) at com.microsoft.jdbc.base.BaseResultSet.close(Unknown Source) at com.microsoft.jdbc.base.BaseStatement.close(Unknown Source) at com.microsoft.jdbc.base.BasePreparedStatement.close(Unknown Source) at com.solarmetric.datasource.StatementWrapper.close(StatementWrapper.java:201) at com.solarmetric.datasource.PreparedStatementCache$CachePreparedStatement.destroy(PreparedStatementCache.java:278) at com.solarmetric.datasource.PreparedStatementCache$CachePreparedStatement.close(PreparedStatementCache.java:365) at com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.close(SQLExecutionManagerImpl.java:997) at com.solarmetric.kodo.impl.jdbc.ormapping.LobMapping.load(LobMapping.java:73) at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.load(JDBCStoreManager.java:455) at com.solarmetric.kodo.runtime.StateManagerImpl.loadFields(StateManagerImpl.java:2280) at com.solarmetric.kodo.runtime.StateManagerImpl.checkDefaultFetchGroup(StateManagerImpl.java:2213) at com.solarmetric.kodo.runtime.StateManagerImpl.loadInitialState(StateManagerImpl.java:222) at com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectByIdFilter(PersistenceManagerImpl.java:1310) at com.solarmetric.kodo.runtime.PersistenceManagerImpl.getObjectById(PersistenceManagerImpl.java:1228) at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.createFromResultSet(JDBCStoreManager.java:917) at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager$3.getResultObject(JDBCStoreManager.java:1096) at com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.instantiateRow(LazyResultList.java:187) at com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.get(LazyResultList.java:146) at java.util.AbstractList$Itr.next(AbstractList.java:416) at com.solarmetric.kodo.runtime.objectprovider.ResultListIterator.next(ResultListIterator.java:49) at com.solarmetric.kodo.impl.jdbc.runtime.ResultListFactory.createResultList(ResultListFactory.java:91) at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.executeQuery(JDBCStoreManager.java:1088) at com.solarmetric.kodo.impl.jdbc.query.JDBCQuery.executeQuery(JDBCQuery.java:106) at com.solarmetric.kodo.query.QueryImpl$DatastoreQueryExecutor.executeQuery(QueryImpl.java:1547) at com.solarmetric.kodo.query.QueryImpl.executeQueryWithMap(QueryImpl.java:668) at com.solarmetric.kodo.query.QueryImpl.executeWithMap(QueryImpl.java:533) at com.solarmetric.kodo.query.QueryImpl.execute(QueryImpl.java:483) at com.ipacs.als.test.Test.main(Test.java:95)

    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

    We couldn't find other users who have seen this exception.