[
https://jira.jboss.org/browse/JBIDE-6692?page=com.atlassian.jira.plugin.s...
]
Lukas Jungmann commented on JBIDE-6692:
---------------------------------------
re suggestion - I think it would be good to have a modal progress dialog tied to the
tester view, so the rest of the IDE is not affected by this eventually long running
operation; it does not necessarily have to be cancelable; a timeout would also work as a
simple solution but the former one would be better
re the error in the log - could be caused by some network issue on my end (refreshing IP?)
but instead of the stacktrace we should show some error message, ie "Specified URL
does not contain valid WSDL file" or sth like that
[tester] http connection should not be done in main thread
----------------------------------------------------------
Key: JBIDE-6692
URL:
https://jira.jboss.org/browse/JBIDE-6692
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Webservices
Affects Versions: 3.2.0.M2
Reporter: Lukas Jungmann
Assignee: Brian Fitzpatrick
Priority: Critical
Fix For: 3.2.x
-open WebService tester view
-click on the "Get from WSDL" button
-click on the "URL..." button
-type in some wrong URL (ie:
http://www.webservicex.net/sunsetriseservice.asmx) in the
dialog and press OK
=> IDE becomes unusable for quite big amount of time - seems to be frozen but thread
dump says:
"main" prio=10 tid=0x081e8000 nid=0x1289 runnable [0xbfaee000]
java.lang.Thread.State: RUNNABLE
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
- locked <0x430bff98> (a java.io.BufferedInputStream)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:687)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1072)
- locked <0x430af9e0> (a sun.net.www.protocol.http.HttpURLConnection)
at java.net.URL.openStream(URL.java:1010)
at com.ibm.wsdl.util.StringUtils.getContentAsInputStream(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at org.jboss.tools.ws.ui.utils.TesterWSDLUtils.readWSDLURL(TesterWSDLUtils.java:113)
at org.jboss.tools.ws.ui.views.WSDLBrowseDialog.validate(WSDLBrowseDialog.java:492)
at org.jboss.tools.ws.ui.views.WSDLBrowseDialog.access$0(WSDLBrowseDialog.java:487)
at org.jboss.tools.ws.ui.views.WSDLBrowseDialog$1.modifyText(WSDLBrowseDialog.java:170)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:173)
...
at org.eclipse.swt.widgets.Combo.setText(Combo.java:2197)
at
org.jboss.tools.ws.ui.views.WSDLBrowseDialog$4.widgetDefaultSelected(WSDLBrowseDialog.java:306)
at
org.jboss.tools.ws.ui.views.WSDLBrowseDialog$4.widgetSelected(WSDLBrowseDialog.java:291)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3552)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3171)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at
org.jboss.tools.ws.ui.views.JAXRSWSTestView2$4.widgetSelected(JAXRSWSTestView2.java:367)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)ncher.java:110)
...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira