java.sql.SQLException

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web14096

  • via Oracle Community by 3004, 1 year ago
    [Microsoft][SQLServer JDBC Driver][SQLServer]sp_cursorclose: The cursor identifier value provided (abcdef0) is not valid.
  • via Oracle Community by 3004, 1 year ago
    [Microsoft][SQLServer JDBC Driver][SQLServer]sp_cursorclose: The cursor identifier value provided (abcdef0) is not valid.
  • via Oracle Community by 3004, 1 year ago
    [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]sp_cursorclose: The cursor identifier value provided (abcdef0) is not valid.
  • Stack trace

    • java.sql.SQLException: [Microsoft][SQLServer JDBC Driver][SQLServer]sp_cursorclose: The cursor identifier value provided (abcdef0) 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.schema.dict.AbstractDictionary.isClosed(AbstractDictionary.java:1901) at com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.getConnectionFromFactory(SQLExecutionManagerImpl.java:185) at com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.getConnection(SQLExecutionManagerImpl.java:146) at com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.prepareStatementInternal(SQLExecutionManagerImpl.java:778) at com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executePreparedQueryInternal(SQLExecutionManagerImpl.java:741) at com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executeQueryInternal(SQLExecutionManagerImpl.java:673) at com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executeQuery(SQLExecutionManagerImpl.java:354) at com.solarmetric.kodo.impl.jdbc.ormapping.ClassMapping.selectPrimaryMappings(ClassMapping.java:1804) at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.executeQuery(JDBCStoreManager.java:1086) 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:125)

    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’re the first here who have seen this exception.