[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-6692) [tester] http connection should not be done in main thread
Brian Fitzpatrick (JIRA)
jira-events at lists.jboss.org
Fri Jul 23 14:02:33 EDT 2010
[ https://jira.jboss.org/browse/JBIDE-6692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12540818#action_12540818 ]
Brian Fitzpatrick commented on JBIDE-6692:
------------------------------------------
Plus, when I try it in the tooling with your example, it's not taking a long time at all... It's failing and dumping a message in the log...
ENTRY org.jboss.tools.ws.ui 4 0 2010-07-23 11:58:51.194
!MESSAGE No message
!STACK 0
javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: Problem parsing 'http://www.webservicex.net/sunsetriseservice.asmx'.: org.xml.sax.SAXParseException: The element type "br" must be terminated by the matching end-tag "</br>".
at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(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:131)
at org.jboss.tools.ws.ui.views.WSDLBrowseDialog$4.widgetDefaultSelected(WSDLBrowseDialog.java:311)
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)
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.ui.internal.Workbench.runEventLoop(Workbench.java:2629)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2593)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
Caused by: org.xml.sax.SAXParseException: The element type "br" must be terminated by the matching end-tag "</br>".
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:239)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:283)
... 40 more
> [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
More information about the jbosstools-issues
mailing list