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

Samebug tips

  1. ,
    Expert tip

    If you're not using yet, consider using the SQLServerDataSource to set your server configurations. Also, check if the server is accepting TCP/IP connections and if there's no firewall blocking the connections.

Solutions on the web

via Stack Overflow by Tom
, 1 year ago
via Coderanch by raj jaiswal, 1 year ago
The port number 1433/TestDb is not valid.
via Stack Overflow by VVP
, 3 months ago
The TCP/IP connection to the host 10.17.193.240, port 1433 has failed. Error: "Connection refused: no further information. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".
via hibernate.org by Unknown author, 2 years ago
via Stack Overflow by valepu
, 2 years ago
com.microsoft.sqlserver.jdbc.SQLServerException: The index 1 is out of range.	at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(Unknown Source)	at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.setterGetParam(Unknown Source)	at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.setByte(Unknown Source)	at View.ViewLogic.getQuery3Results(ViewLogic.java:1170)	at View.ViewLogic.handleGenerateQuery3Button(ViewLogic.java:1641)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at sun.reflect.misc.Trampoline.invoke(Unknown Source)	at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at sun.reflect.misc.MethodUtil.invoke(Unknown Source)	at javafx.fxml.FXMLLoader$MethodHandler.invoke(Unknown Source)	at javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(Unknown Source)	at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)	at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)	at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)	at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)	at com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)	at com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)	at javafx.event.Event.fireEvent(Unknown Source)	at javafx.scene.Node.fireEvent(Unknown Source)	at javafx.scene.control.Button.fire(Unknown Source)	at com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(Unknown Source)	at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(Unknown Source)	at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(Unknown Source)	at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(Unknown Source)	at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)	at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)	at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)	at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)	at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)	at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)	at com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)	at com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)	at javafx.event.Event.fireEvent(Unknown Source)	at javafx.scene.Scene$MouseHandler.process(Unknown Source)	at javafx.scene.Scene$MouseHandler.access$1500(Unknown Source)	at javafx.scene.Scene.impl_processMouseEvent(Unknown Source)	at javafx.scene.Scene$ScenePeerListener.mouseEvent(Unknown Source)	at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(Unknown Source)	at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(Unknown Source)	at java.security.AccessController.doPrivileged(Native Method)	at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$354(Unknown Source)	at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(Unknown Source)	at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(Unknown Source)	at com.sun.glass.ui.View.handleMouseEvent(Unknown Source)	at com.sun.glass.ui.View.notifyMouse(Unknown Source)	at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)	at com.sun.glass.ui.win.WinApplication.lambda$null$148(Unknown Source)	at java.lang.Thread.run(Unknown Source)