Forum Discussion

M_McDonald's avatar
M_McDonald
Super Contributor
15 years ago

[SOLVED]Build Query button not working when using jTDS SSO connection

I am able to successfully use jTDS SSO in a JDBC connection now, but when I use this connection in a JDBC Request step I am unable to open the "Build SQL Query" window.

In the soapUI error.log file I see the following after clicking the button:

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.eviware.soapui.impl.wsdl.teststeps.datasource.DBConnectionAndQueryWizard.l(SourceFile:1433)
at com.eviware.soapui.impl.wsdl.teststeps.datasource.DBConnectionAndQueryWizard.configureBuilderQuery(SourceFile:308)
at com.eviware.soapui.impl.wsdl.panels.teststeps.ProJdbcRequestTestStepDesktopPanel.doQueryBuilder(SourceFile:714)
at com.eviware.soapui.impl.wsdl.panels.teststeps.ProJdbcRequestTestStepDesktopPanel$BuildQueryWizardAction.actionPerformed(SourceFile:476)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.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 javax.swing.JComponent.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 java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(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)


I can, however, use the request by just typing the SQL directly into the "SQL Query" field.

The "Test Connection" button also does not work for this connection; I see a dialog box that says it can't get the connection with an NPE.