Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: STS Extensions tab stopped functioning

  1. #1

    Default STS Extensions tab stopped functioning

    After I installed Groovy and Grails support and restarted STS 2.3.0 the Extensions tab on the Dashboard no longer works. It looks like the image in the attachment to this post. Basically, the message "Sorry, there are no available connectors, please try again later" is all there is. And later never comes.

    Any thoughts?

    Brian Gardner
    Attached Images Attached Images

  2. #2
    Join Date
    Feb 2010
    Posts
    15

    Default

    Brian, are you behind a proxy?

  3. #3

    Default

    Yes, but I was behind a proxy before, when I installed the Groovy and Grails support, and the Extensions window worked fine. No other changes have occurred to the proxy settings. It disappeared after I restarted, meaning that something changed in the install. I can connect to update sites fine.

    Brian

  4. #4
    Join Date
    Aug 2004
    Location
    Duesseldorf, Germany
    Posts
    1,210

    Default

    Brian,

    can you check your error log to see if there is something interesting when you open the Extension Tab?

    Regards, Christian
    Christian Dupuis
    SpringSource, a division of VMware
    Lead, SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/cdupuis

  5. #5

    Default

    Thanks for chiming in, Christian. I have an error from the CST viewer. It sounds like this:

    Code:
    eclipse.buildId=2.3.0.200912171331-RELEASE
    java.version=1.6.0_13
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Framework arguments:  -product com.springsource.sts.ide
    Command-line arguments:  -os win32 -ws win32 -arch x86 -product com.springsource.sts.ide
    
    
    Error
    Fri Feb 12 11:03:01 EST 2010
    Error updating CST Viewer
    
    java.lang.NullPointerException
    	at org.codehaus.groovy.eclipse.cstviewer.CSTViewPart$1.partBroughtToTop(CSTViewPart.java:53)
    	at org.eclipse.ui.internal.PartListenerList$2.run(PartListenerList.java:87)
    	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    	at org.eclipse.core.runtime.Platform.run(Platform.java:888)
    	at org.eclipse.ui.internal.PartListenerList.fireEvent(PartListenerList.java:57)
    	at org.eclipse.ui.internal.PartListenerList.firePartBroughtToTop(PartListenerList.java:85)
    	at org.eclipse.ui.internal.PartService.firePartBroughtToTop(PartService.java:208)
    	at org.eclipse.ui.internal.WorkbenchPagePartList.firePartBroughtToTop(WorkbenchPagePartList.java:76)
    	at org.eclipse.ui.internal.WorkbenchPagePartList.fireActiveEditorChanged(WorkbenchPagePartList.java:52)
    	at org.eclipse.ui.internal.PartList.setActiveEditor(PartList.java:162)
    	at org.eclipse.ui.internal.WorkbenchPage.makeActiveEditor(WorkbenchPage.java:1277)
    	at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3524)
    	at org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:3071)
    	at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:279)
    	at org.eclipse.ui.internal.EditorPane.requestActivation(EditorPane.java:98)
    	at org.eclipse.ui.internal.PartPane.setFocus(PartPane.java:325)
    	at org.eclipse.ui.internal.EditorPane.setFocus(EditorPane.java:127)
    	at org.eclipse.ui.internal.PartStack.presentationSelectionChanged(PartStack.java:846)
    	at org.eclipse.ui.internal.PartStack.access$1(PartStack.java:829)
    	at org.eclipse.ui.internal.PartStack$1.selectPart(PartStack.java:139)
    	at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:133)
    	at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:270)
    	at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:279)
    	at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1)
    	at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$2.handleEvent(DefaultTabFolder.java:87)
    	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
    	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
    	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:770)
    	at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3256)
    	at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2045)
    	at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:323)
    	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880)
    	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
    	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    	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:368)
    	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:559)
    	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    	at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
    Could this be the culprit?

    Brian

  6. #6
    Join Date
    Aug 2004
    Location
    Duesseldorf, Germany
    Posts
    1,210

    Default

    Hi Brian,

    honestly I don't know if this can be the root cause. Could you close the CST viewer and retry?

    Christian
    Christian Dupuis
    SpringSource, a division of VMware
    Lead, SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/cdupuis

  7. #7

    Default

    Christian,

    Now we're getting somewhere. I closed the CTS window (I really didn't know what it does anyway), opened the Dashboard, hit the Extensions tab and got the following:

    Code:
    eclipse.buildId=2.3.0.200912171331-RELEASE
    java.version=1.6.0_13
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Framework arguments:  -product com.springsource.sts.ide
    Command-line arguments:  -os win32 -ws win32 -arch x86 -product com.springsource.sts.ide
    
    
    Error
    Fri Feb 12 12:16:33 EST 2010
    Unexpected exception: IO failure: cannot load discovery directory
    
    org.eclipse.core.runtime.CoreException: IO failure: cannot load discovery directory
    	at org.eclipse.mylyn.internal.discovery.core.model.RemoteBundleDiscoveryStrategy.performDiscovery(RemoteBundleDiscoveryStrategy.java:120)
    	at org.eclipse.mylyn.internal.discovery.core.model.ConnectorDiscovery.performDiscovery(ConnectorDiscovery.java:108)
    	at org.eclipse.mylyn.internal.discovery.ui.wizards.DiscoveryViewer$16.run(DiscoveryViewer.java:1431)
    	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
    Caused by: java.net.ConnectException: Connection timed out: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:519)
    	at org.eclipse.mylyn.internal.commons.net.MonitoredRequest.connect(MonitoredRequest.java:97)
    	at org.eclipse.mylyn.internal.commons.net.PollingProtocolSocketFactory.createSocket(PollingProtocolSocketFactory.java:54)
    	at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
    	at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
    	at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
    	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
    	at org.eclipse.mylyn.commons.net.WebUtil$2.execute(WebUtil.java:319)
    	at org.eclipse.mylyn.commons.net.WebUtil$2.execute(WebUtil.java:1)
    	at org.eclipse.mylyn.internal.commons.net.MonitoredRequest.call(MonitoredRequest.java:51)
    	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    	at java.lang.Thread.run(Thread.java:619)
    Updates work, so my Internet and proxy settings are fine, as far as I can tell.

    Brian

  8. #8
    Join Date
    Feb 2010
    Posts
    2

    Default

    Did you ever find the cause of this?

    Yesterday installed STS 2.3.0 for the first time, and get exactly the same message (Sorry, there are no available connectors. Please try again later). Likewise am also behind a proxy, however my eclipse proxy settings are correct (can connect to internet using eclipse, updates work etc). I have tried all the different Network Connections settings (Manual, direct etc.) combinations and even tried setting the proxy as a System property (in STS.ini) but still no joy.

  9. #9
    Join Date
    Feb 2010
    Posts
    2

    Default

    Solved by setting all the parameters as described below (sts.ini)
    http://wiki.eclipse.org/ECF_Filetran...NTLMv2_Proxies

    Additionally.. More info/tips on this here.
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=281472
    Last edited by steveyLb; Feb 26th, 2010 at 04:11 AM.

  10. #10
    Join Date
    Aug 2004
    Location
    Duesseldorf, Germany
    Posts
    1,210

    Default

    steveyLb,

    thanks for sharing your solution. That is very helpful for others that might run into this issue.

    Christian
    Christian Dupuis
    SpringSource, a division of VMware
    Lead, SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/cdupuis

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •