com.microsoft.sqlserver.jdbc.SQLServerException: The index 1 is out of range.

blogspot.com | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Knowledge is Here...: June 2015

    blogspot.com | 6 months ago
    com.microsoft.sqlserver.jdbc.SQLServerException: The index 1 is out of range.
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    org.springframework.dao.TransientDataAccessResourceException: PreparedStatementCallback;

    Stack Overflow | 6 years ago | kiran kumar
    org.springframework.dao.TransientDataAccessResourceException: PreparedStatementCallback; SQL [ select id from employeerole where username = kiran and pin is NULL]; The index 1 is out of range.; nested exception is com.microsoft.sqlserver.jdbc.SQLServerException: The index 1 is out of range.
  4. 0

    jPersist / Discussion / Help:Database.deleteObject

    sourceforge.net | 1 year ago
    jpersist.JPersistException: The index 1 is out of range.

    4 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.microsoft.sqlserver.jdbc.SQLServerException

      The index 1 is out of range.

      at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError()
    2. com.microsoft.sqlserver
      SQLServerPreparedStatement.setString
      1. com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:171)
      2. com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.setterGetParam(SQLServerPreparedStatement.java:700)
      3. com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.setValue(SQLServerPreparedStatement.java:709)
      4. com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.setString(SQLServerPreparedStatement.java:1034)
      4 frames
    3. org.eclipse.birt
      Statement.setString
      1. org.eclipse.birt.report.data.oda.jdbc.Statement.setString(Statement.java:649)
      1 frame
    4. DTP ODA Consumer Helper Component Plug-in
      OdaQuery.setString
      1. org.eclipse.datatools.connectivity.oda.consumer.helper.OdaQuery.setString(OdaQuery.java:738)
      1 frame
    5. BIRT Data Engine
      PreparedOdaDSQuery.execute
      1. org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.doSetString(PreparedStatement.java:4310)
      2. org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.setString(PreparedStatement.java:3919)
      3. org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.setParameterValue(PreparedStatement.java:3134)
      4. org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.setParameterValue(PreparedStatement.java:3070)
      5. org.eclipse.birt.data.engine.executor.DataSourceQuery.setInputParameterBinding(DataSourceQuery.java:1161)
      6. org.eclipse.birt.data.engine.executor.DataSourceQuery.addParameterDefns(DataSourceQuery.java:595)
      7. org.eclipse.birt.data.engine.executor.DataSourceQuery.prepare(DataSourceQuery.java:290)
      8. org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery$OdaDSQueryExecutor.prepareOdiQuery(PreparedOdaDSQuery.java:442)
      9. org.eclipse.birt.data.engine.impl.QueryExecutor.prepareExecution(QueryExecutor.java:341)
      10. org.eclipse.birt.data.engine.impl.PreparedQuery.doPrepare(PreparedQuery.java:455)
      11. org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.produceQueryResults(PreparedDataSourceQuery.java:190)
      12. org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.execute(PreparedDataSourceQuery.java:178)
      13. org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery.execute(PreparedOdaDSQuery.java:145)
      13 frames
    6. BIRT Data Adapter
      DataRequestSessionImpl.execute
      1. org.eclipse.birt.report.data.adapter.impl.DataRequestSessionImpl.execute(DataRequestSessionImpl.java:624)
      1 frame
    7. org.eclipse.birt
      BirtDocumentProcessor.handleGetPageAll
      1. org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExecuteQuery(DteDataEngine.java:152)
      2. org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:267)
      3. org.eclipse.birt.report.engine.executor.ExecutionContext.executeQuery(ExecutionContext.java:1939)
      4. org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:80)
      5. org.eclipse.birt.report.engine.executor.DataItemExecutor.execute(DataItemExecutor.java:75)
      6. org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43)
      7. org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
      8. org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:34)
      9. org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:65)
      10. org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:92)
      11. org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100)
      12. org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:180)
      13. org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)
      14. org.eclipse.birt.report.service.ReportEngineService.runAndRenderReport(ReportEngineService.java:937)
      15. org.eclipse.birt.report.service.BirtViewerReportService.runAndRenderReport(BirtViewerReportService.java:973)
      16. org.eclipse.birt.report.service.actionhandler.BirtGetPageAllActionHandler.__execute(BirtGetPageAllActionHandler.java:131)
      17. org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(AbstractBaseActionHandler.java:90)
      18. org.eclipse.birt.report.soapengine.processor.AbstractBaseDocumentProcessor.__executeAction(AbstractBaseDocumentProcessor.java:47)
      19. org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.executeAction(AbstractBaseComponentProcessor.java:143)
      20. org.eclipse.birt.report.soapengine.processor.BirtDocumentProcessor.handleGetPageAll(BirtDocumentProcessor.java:183)
      20 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    9. org.eclipse.birt
      BirtSoapBindingImpl.getUpdatedObjects
      1. org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.process(AbstractBaseComponentProcessor.java:112)
      2. org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingImpl.getUpdatedObjects(BirtSoapBindingImpl.java:66)
      2 frames
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    11. Axis Web Services
      AxisServlet.doPost
      1. org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
      2. org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
      3. org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
      4. org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
      5. org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
      6. org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
      7. org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
      8. org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
      9. org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
      9 frames
    12. org.eclipse.birt
      BirtSoapMessageDispatcherServlet.doPost
      1. org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doPost(BirtSoapMessageDispatcherServlet.java:265)
      1 frame
    13. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      1 frame
    14. Axis Web Services
      AxisServletBase.service
      1. org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
      1 frame
    15. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      1 frame
    16. org.eclipse.birt
      BirtSoapMessageDispatcherServlet.service
      1. org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122)
      1 frame
    17. org.eclipse.equinox
      ProxyServlet.service
      1. org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
      2. org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
      3. org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:126)
      4. org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60)
      4 frames
    18. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      1 frame
    19. Jetty Http Service
      HttpServerManager$InternalHttpServiceServlet.service
      1. org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:318)
      1 frame
    20. Jetty Server
      SelectChannelEndPoint.run
      1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
      3. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
      4. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
      5. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      6. org.mortbay.jetty.Server.handle(Server.java:322)
      7. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
      8. org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:939)
      9. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
      10. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
      11. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
      12. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
      12 frames
    21. Jetty Util
      QueuedThreadPool$PoolThread.run
      1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
      1 frame