ContributionsMost RecentMost LikesSolutionsRe: NullPointerException when trying to view Soap Call in TestCase LogLooks like that worked, thanks! mikeNullPointerException when trying to view Soap Call in TestCase LogsoapUI Pro 2.0.1 When double clicking or right-click->View Message Exchange nothing is displayed and the error log contains: Thu Jan 17 12:30:37 PST 2008:ERROR:java.lang.NullPointerException java.lang.NullPointerException at com.eviware.soapui.impl.coverage.CoverageConfig. (SourceFile:49) at com.eviware.soapui.impl.coverage.inspector.CoverageInspector. (SourceFile:56) at com.eviware.soapui.impl.coverage.inspector.MessageExchangeRequestCoverageInspector. (SourceFile:28) at com.eviware.soapui.impl.coverage.inspector.CoverageInspectorFactory.createRequestInspector(SourceFile:46) at com.eviware.soapui.impl.wsdl.panels.request.components.RequestMessageXmlEditor. (RequestMessageXmlEditor.java:55) at com.eviware.soapui.impl.wsdl.support.MessageExchangeRequestMessageEditor. (MessageExchangeRequestMessageEditor.java:33) at com.eviware.soapui.impl.wsdl.support.MessageExchangeRequestMessageEditor. (MessageExchangeRequestMessageEditor.java:28) at com.eviware.soapui.impl.wsdl.teststeps.actions.ShowMessageExchangeAction.buildRequestTab(ShowMessageExchangeAction.java:200) at com.eviware.soapui.impl.wsdl.teststeps.actions.ShowMessageExchangeAction.buildContent(ShowMessageExchangeAction.java:106) at com.eviware.soapui.impl.wsdl.teststeps.actions.ShowMessageExchangeAction.buildFrame(ShowMessageExchangeAction.java:86) at com.eviware.soapui.impl.wsdl.teststeps.actions.ShowMessageExchangeAction.actionPerformed(ShowMessageExchangeAction.java:74) at com.eviware.soapui.support.action.swing.DefaultActionList.performDefaultAction(DefaultActionList.java:107) at com.eviware.soapui.impl.wsdl.panels.testcase.TestRunLog$LogListMouseListener.mouseClicked(TestRunLog.java:224) at java.awt.AWTEventMulticaster.mouseClicked(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) Thu Jan 17 12:30:37 PST 2008:ERROR:java.lang.NullPointerException java.lang.NullPointerException at com.eviware.soapui.impl.coverage.CoverageConfig. (SourceFile:49) at com.eviware.soapui.impl.coverage.inspector.CoverageInspector. (SourceFile:56) at com.eviware.soapui.impl.coverage.inspector.MessageExchangeRequestCoverageInspector. (SourceFile:28) at com.eviware.soapui.impl.coverage.inspector.CoverageInspectorFactory.createRequestInspector(SourceFile:46) at com.eviware.soapui.impl.wsdl.panels.request.components.RequestMessageXmlEditor. (RequestMessageXmlEditor.java:55) at com.eviware.soapui.impl.wsdl.support.MessageExchangeRequestMessageEditor. (MessageExchangeRequestMessageEditor.java:33) at com.eviware.soapui.impl.wsdl.support.MessageExchangeRequestMessageEditor. (MessageExchangeRequestMessageEditor.java:28) at com.eviware.soapui.impl.wsdl.teststeps.actions.ShowMessageExchangeAction.buildRequestTab(ShowMessageExchangeAction.java:200) at com.eviware.soapui.impl.wsdl.teststeps.actions.ShowMessageExchangeAction.buildContent(ShowMessageExchangeAction.java:106) at com.eviware.soapui.impl.wsdl.teststeps.actions.ShowMessageExchangeAction.buildFrame(ShowMessageExchangeAction.java:86) at com.eviware.soapui.impl.wsdl.teststeps.actions.ShowMessageExchangeAction.actionPerformed(ShowMessageExchangeAction.java:74) at com.eviware.soapui.support.action.swing.DefaultActionList.performDefaultAction(DefaultActionList.java:107) at com.eviware.soapui.impl.wsdl.panels.testcase.TestRunLog$LogListMouseListener.mouseClicked(TestRunLog.java:224) at java.awt.AWTEventMulticaster.mouseClicked(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) Re: GroovyDataSource and readLine issuesInteresting, that did work. Wonder why... mikeRe: GroovyDataSource and readLine issuesFrom the GroovyDataSource pane just hit the run button and say 10 iterations and look at the values produced. The text file would have lines line: string1 string2 string3 ... So one would expect the values displayed to be string1, string2, ... but instead you get string1 then string1000 or something. Very strange. mikeRe: Getting at the script in a GroovyDataSourceRad, thanks!GroovyDataSource and readLine issuesI have a Groovy DataSource with the following script. The script does not perform as one would expect. Instead each call to readLine() reads a line at some random spot way down the file (assuming the file is large enough). The expected result would be the first line, then the second, etc. Could this be an issue with Groovy? Or something else? The work around is to say "readLines()" and store the result in context. However, for large files this uses alot of memory. // Read values from a text file. if(context["peach"] == null) { context["peach"] = new File("c:/strings.txt").newInputStream() } result["value1"] = context["peach"].readLine() // endRe: Swing NPE using SOAPUI PRO 2.0I'm also running into this error quite a bit now. Looking forward to 2.0.1 mike Thu Jan 10 20:14:25 PST 2008:ERROR:Exception during TestCase Execution java.lang.NullPointerException at javax.swing.BufferStrategyPaintManager.copyArea(Unknown Source) at javax.swing.RepaintManager.copyArea(Unknown Source) at javax.swing.JViewport.blitDoubleBuffered(Unknown Source) at javax.swing.JViewport.windowBlitPaint(Unknown Source) at javax.swing.JViewport.setViewPosition(Unknown Source) at javax.swing.JViewport.scrollRectToVisible(Unknown Source) at javax.swing.JComponent.scrollRectToVisible(Unknown Source) at javax.swing.JList.ensureIndexIsVisible(Unknown Source) at com.eviware.soapui.impl.wsdl.panels.testcase.TestRunLog.addTestStepResult(TestRunLog.java:287) at com.eviware.soapui.impl.wsdl.panels.testcase.WsdlTestCaseDesktopPanel$InternalTestRunListener.afterStep(WsdlTestCaseDesktopPanel.java:408) at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.run(WsdlTestCaseRunner.java:190) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)Getting at the script in a GroovyDataSourceI'd like to get and then set the script in a GroovyDataSource but after reflecting the class and poking about I'm still not certain how to do this. mikehttp://www.soapui.org/apidocs not uptodateI've noticed there are classes missing from the api documentation provided at http://www.soapui.org/apidocs. An example is WsdlDataSourceTestStep and com.eviware.soapui.impl.wsdl.teststeps.datasource.*. Is there someplace I can look for more uptodate API documentation? mikeRe: Set the TestRequest field data sourceYup, you got it. I had started looking into the that but was hoping there would be an easier way. Guess I will start down that path. thanks, mike