java.sql.SQLException

[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]The cursor was not declared.

Samebug tips0

There are no available Samebug tips.

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

Solutions on the web334

  • via by 3004,
  • via by Frank Brouwer,
  • via Stack Overflow by MMRUser
    ,
  • Stack trace

    • java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]The cursor was not declared. at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source) 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.openCursor(UnknownSource) at com.microsoft.jdbc.sqlserver.SQLServerImplStatement.execute(UnknownSource) at com.microsoft.jdbc.base.BaseStatement.commonExecute(Unknown Source) at com.microsoft.jdbc.base.BaseStatement.executeQueryInternal(UnknownSource) at com.microsoft.jdbc.base.BasePreparedStatement.executeQuery(UnknownSource) at com.solarmetric.jdbc.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:353) at com.solarmetric.jdbc.PoolConnection$PoolPreparedStatement.executeQuery(PoolConnection.java:333) at com.solarmetric.jdbc.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:351) at com.solarmetric.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.executeQuery(LoggingConnectionDecorator.java:704) at com.solarmetric.jdbc.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:351) at kodo.jdbc.runtime.JDBCStoreManager$CancelPreparedStatement.executeQuery(JDBCStoreManager.java:1706) at com.solarmetric.jdbc.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:338) at kodo.jdbc.runtime.JDBCStoreManager.getResultInternal(JDBCStoreManager.java:1010) at kodo.jdbc.runtime.JDBCStoreManager.getResult(JDBCStoreManager.java:983) at kodo.jdbc.runtime.AbstractSelectResultObjectProvider.open(AbstractSelectResultObjectProvider.java:84) at com.solarmetric.rop.EagerResultList.<init>(EagerResultList.java:22) at kodo.jdbc.runtime.JDBCFetchConfigurationImpl.newResultList(JDBCFetchConfigurationImpl.java:137) at kodo.runtime.CopyOnWriteFetchConfiguration.newResultList(CopyOnWriteFetchConfiguration.java:217) at kodo.query.AbstractQuery.executeWithMap(AbstractQuery.java:854) at kodo.query.AbstractQuery.executeWithArray(AbstractQuery.java:770) at kodo.query.AbstractQuery.execute(AbstractQuery.java:746) at com.correlat.intranet.news.NewsItemPeer.findActiveByAge(NewsItemPeer.java:60) at com.correlat.intranet.news.swing.JNewsFilterList$1.getMatchingObjects(JNewsFilterList.java:24) at com.correlat.intranet.swing.binding.KodoListFilter.getMatchingObjects(KodoListFilter.java:24) at com.correlat.intranet.swing.content.DefaultJContentList$FilterQuery.getMatchingObjects(DefaultJContentList.java:314) at com.correlat.intranet.swing.content.DefaultJContentList$FilterQuery.doQuery(DefaultJContentList.java:309) at com.correlat.intranet.swing.content.DefaultJContentList$FilterQueryList.setQuery(DefaultJContentList.java:331) at com.correlat.intranet.swing.content.DefaultJContentList.applyFilter(DefaultJContentList.java:260) at com.correlat.intranet.swing.JMainFrame.setContentList(JMainFrame.java:302) at com.correlat.intranet.swing.navigation.action.GlobalNavigateAction.actionPerformed(GlobalNavigateAction.java:35) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(UnknownSource) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.JToggleButton$ToggleButtonModel.setPressed(Unknown Source) at javax.swing.AbstractButton.doClick(Unknown Source) at javax.swing.AbstractButton.doClick(Unknown Source) at com.correlat.intranet.news.swing.action.NewsAddAction.actionPerformed(NewsAddAction.java:23) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(UnknownSource) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.JToggleButton$ToggleButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at net.sundog.swing.WaitCursorEventQueue.dispatchEvent(WaitCursorEventQueue.java:21) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)

    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

    rprp
    1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,