Announcement Announcement Module
Collapse
No announcement yet.
Latest Toolsuite hang on startup Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Latest Toolsuite hang on startup

    I tried to remove a spring configuration file from a config set in STS 2.3.1-RELEASE (Kubuntu 64 bit, all updates to IDE and OS installed). This hung the IDE for over 15 minutes (would not exit) so I was forced to kill it (the progress indicator just said "refreshing workspace").
    Subsequently STS now will not start at all, I am about to remove my workspace and try again. If that doesn't work I'll have to completely remove and re-install.
    I have attached a thread dump, here's the Java and OS details:

    java version "1.6.0_17"
    Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
    Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode)

    Linux wombat 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 04:38:19 UTC 2010 x86_64 GNU/Linux

  • #2
    Hi,

    there is one interesting thread in your thread dump:

    Code:
    "Worker-0" prio=10 tid=0x00007fd9141ac000 nid=0xc26 in Object.wait() [0x00007fd90acb1000]
       java.lang.Thread.State: WAITING (on object monitor)
    	at java.lang.Object.wait(Native Method)
    	- waiting on <0x00007fd998d1ad30> (a org.eclipse.ui.internal.UISynchronizer)
    	at java.lang.Object.wait(Object.java:485)
    	at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:140)
    	- locked <0x00007fd998d1ad30> (a org.eclipse.ui.internal.UISynchronizer)
    	at org.eclipse.swt.widgets.Display.syncExec(Display.java:4113)
    	at org.eclipse.equinox.internal.security.ui.storage.DefaultPasswordProvider.getPassword(DefaultPasswordProvider.java:47)
    	at org.eclipse.equinox.internal.security.storage.PasswordProviderModuleExt.getPassword(PasswordProviderModuleExt.java:35)
    	at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getModulePassword(SecurePreferencesRoot.java:254)
    	at org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getPassword(SecurePreferencesRoot.java:219)
    	at org.eclipse.equinox.internal.security.storage.SecurePreferences.get(SecurePreferences.java:262)
    	at org.eclipse.equinox.internal.security.storage.SecurePreferencesWrapper.get(SecurePreferencesWrapper.java:106)
    	at org.eclipse.core.internal.net.ProxyType.loadProxyAuth(ProxyType.java:529)
    	at org.eclipse.core.internal.net.ProxyType.createProxyData(ProxyType.java:148)
    	at org.eclipse.core.internal.net.ProxyType.getProxyData(ProxyType.java:137)
    	at org.eclipse.core.internal.net.ProxyManager.migrateInstanceScopePreferences(ProxyManager.java:452)
    	at org.eclipse.core.internal.net.ProxyManager.checkMigrated(ProxyManager.java:417)
    	- locked <0x00007fd9991dfd08> (a org.eclipse.core.internal.net.ProxyManager)
    	at org.eclipse.core.internal.net.ProxyManager.initialize(ProxyManager.java:276)
    	at org.eclipse.core.internal.net.Activator.start(Activator.java:179)
    	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
    	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
    	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)
    	at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)
    	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:408)
    	at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
    	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)
    	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:211)
    	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:381)
    	at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:33)
    	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:454)
    	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
    	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
    	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
    	- locked <0x00007fd9432e4b18> (a org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader)
    	at java.lang.Class.forName0(Native Method)
    	at java.lang.Class.forName(Class.java:169)
    	at org.eclipse.jsch.internal.core.JSchCorePlugin.start(JSchCorePlugin.java:161)
    	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
    	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
    	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)
    	at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)
    	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:408)
    	at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
    	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)
    	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:211)
    	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:381)
    	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:457)
    	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
    	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
    	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    	at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:326)
    	at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:231)
    	at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1193)
    	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:160)
    	at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:874)
    	at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
    	at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
    	at org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.addModifyListener(PreferenceServiceRegistryHelper.java:90)
    	at org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.getModifyListeners(PreferenceServiceRegistryHelper.java:186)
    	at org.eclipse.core.internal.preferences.PreferencesService.firePreApplyEvent(PreferencesService.java:436)
    	at org.eclipse.core.internal.preferences.PreferencesService.applyPreferences(PreferencesService.java:120)
    	at org.eclipse.core.internal.resources.ProjectPreferences.read(ProjectPreferences.java:233)
    	at org.eclipse.core.internal.resources.ProjectPreferences.updatePreferences(ProjectPreferences.java:301)
    	at org.eclipse.core.internal.resources.File.updateMetadataFiles(File.java:405)
    	at org.eclipse.core.internal.localstore.RefreshLocalVisitor.visit(RefreshLocalVisitor.java:306)
    	at org.eclipse.core.internal.localstore.UnifiedTree.accept(UnifiedTree.java:107)
    	at org.eclipse.core.internal.localstore.FileSystemResourceManager.refreshResource(FileSystemResourceManager.java:784)
    	at org.eclipse.core.internal.localstore.FileSystemResourceManager.refresh(FileSystemResourceManager.java:768)
    	at org.eclipse.core.internal.localstore.FileSystemResourceManager.refreshRoot(FileSystemResourceManager.java:815)
    	at org.eclipse.core.internal.localstore.FileSystemResourceManager.refresh(FileSystemResourceManager.java:761)
    	at org.eclipse.core.internal.resources.Resource.refreshLocal(Resource.java:1528)
    	at org.eclipse.core.internal.refresh.RefreshJob.runInWorkspace(RefreshJob.java:166)
    	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
    	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    Do you have a custom proxy configuration in the STS/Eclipse settings?

    Christian

    Comment


    • #3
      Thanks for the prompt reply. There are no proxy configuration settings - it is set up as a "direct" connection.
      In the end I had to completely un-install and re-install the whole of STS. Luckily all my projects were imported Maven projects in an external-to-workspace directory so not too much of a big deal.
      Looking good so far...

      Comment


      • #4
        further STS problems

        I've now installed STS 2.3.2-RELEASE, but there are problems.
        Getting this on startup in the package explorer view:

        java.lang.NullPointerException
        at org.eclipse.jst.j2ee.internal.common.J2EEVersionUt il.convertVersionStringToInt(J2EEVersionUtil.java: 207)
        at org.eclipse.jst.j2ee.project.JavaEEProjectUtilitie s.isJEEComponent(JavaEEProjectUtilities.java:451)
        at org.eclipse.jst.j2ee.project.EarUtilities.getEARLi bDir(EarUtilities.java:357)
        at org.eclipse.jst.j2ee.internal.common.classpath.J2E EComponentClasspathContainer.getBaseEARLibRefs(J2E EComponentClasspathContainer.java:321)
        at org.eclipse.jst.j2ee.internal.common.classpath.J2E EComponentClasspathContainer.update(J2EEComponentC lasspathContainer.java:211)
        at org.eclipse.jst.j2ee.internal.common.classpath.J2E EComponentClasspathContainer.install(J2EEComponent ClasspathContainer.java:351)
        at org.eclipse.jst.j2ee.internal.common.classpath.J2E EComponentClasspathInitializer.initialize(J2EEComp onentClasspathInitializer.java:47)
        at org.eclipse.jdt.internal.core.JavaModelManager.ini tializeContainer(JavaModelManager.java:2648)
        at org.eclipse.jdt.internal.core.JavaModelManager.get ClasspathContainer(JavaModelManager.java:1813)
        at org.eclipse.jdt.core.JavaCore.getClasspathContaine r(JavaCore.java:2652)
        at org.eclipse.jdt.internal.core.JavaProject.resolveC lasspath(JavaProject.java:2584)
        at org.eclipse.jdt.internal.core.JavaProject.resolveC lasspath(JavaProject.java:2685)
        at org.eclipse.jdt.internal.core.JavaProject.getResol vedClasspath(JavaProject.java:1872)
        at org.eclipse.jdt.internal.core.JavaModelManager.det ermineIfOnClasspath(JavaModelManager.java:997)
        at org.eclipse.jdt.internal.core.JavaModelManager.cre ate(JavaModelManager.java:893)
        at org.eclipse.jdt.core.JavaCore.create(JavaCore.java :2492)
        at org.eclipse.jdt.internal.ui.packageview.PackageExp lorerContentProvider.getHierarchicalPackagesInFold er(PackageExplorerContentProvider.java:451)
        at org.eclipse.jdt.internal.ui.packageview.PackageExp lorerContentProvider.getFolderContent(PackageExplo rerContentProvider.java:275)
        at org.eclipse.jdt.ui.StandardJavaElementContentProvi der.getChildren(StandardJavaElementContentProvider .java:192)
        at org.eclipse.jdt.internal.ui.packageview.PackageExp lorerContentProvider.getChildren(PackageExplorerCo ntentProvider.java:301)
        at org.eclipse.jface.viewers.AbstractTreeViewer.getRa wChildren(AbstractTreeViewer.java:1352)
        at org.eclipse.jface.viewers.TreeViewer.getRawChildre n(TreeViewer.java:390)
        at org.eclipse.jdt.internal.ui.viewsupport.ProblemTre eViewer.hasFilteredChildren(ProblemTreeViewer.java :255)
        at org.eclipse.jdt.internal.ui.viewsupport.ProblemTre eViewer.isExpandable(ProblemTreeViewer.java:244)
        at org.eclipse.jface.viewers.AbstractTreeViewer.isExp andable(AbstractTreeViewer.java:2109)
        at org.eclipse.jface.viewers.AbstractTreeViewer.updat ePlus(AbstractTreeViewer.java:2791)
        at org.eclipse.jface.viewers.TreeViewer.updatePlus(Tr eeViewer.java:847)
        at org.eclipse.jface.viewers.AbstractTreeViewer.creat eTreeItem(AbstractTreeViewer.java:828)
        at org.eclipse.jface.viewers.AbstractTreeViewer$1.run (AbstractTreeViewer.java:802)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(Bus yIndicator.java:70)
        at org.eclipse.jface.viewers.AbstractTreeViewer.creat eChildren(AbstractTreeViewer.java:776)
        at org.eclipse.jface.viewers.TreeViewer.createChildre n(TreeViewer.java:639)
        at org.eclipse.jface.viewers.AbstractTreeViewer.inter nalExpand(AbstractTreeViewer.java:1585)
        at org.eclipse.jface.viewers.AbstractTreeViewer.inter nalExpand(AbstractTreeViewer.java:1582)
        at org.eclipse.jface.viewers.AbstractTreeViewer.inter nalExpand(AbstractTreeViewer.java:1582)
        at org.eclipse.jface.viewers.AbstractTreeViewer.inter nalExpand(AbstractTreeViewer.java:1582)
        at org.eclipse.jface.viewers.AbstractTreeViewer.setSe lectionToWidget(AbstractTreeViewer.java:2463)
        at org.eclipse.jface.viewers.StructuredViewer.setSele ctionToWidget(StructuredViewer.java:1711)
        at org.eclipse.jface.viewers.AbstractTreeViewer.setSe lectionToWidget(AbstractTreeViewer.java:2903)
        at org.eclipse.jface.viewers.StructuredViewer.setSele ction(StructuredViewer.java:1667)
        at org.eclipse.jface.viewers.TreeViewer.setSelection( TreeViewer.java:1124)
        at org.eclipse.jdt.internal.ui.packageview.PackageExp lorerPart.showInput(PackageExplorerPart.java:1050)
        at org.eclipse.jdt.internal.ui.packageview.PackageExp lorerPart.editorActivated(PackageExplorerPart.java :999)
        at org.eclipse.jdt.internal.ui.packageview.PackageExp lorerPart.setLinkingEnabled(PackageExplorerPart.ja va:1271)
        at org.eclipse.jdt.internal.ui.packageview.PackageExp lorerPart.createPartControl(PackageExplorerPart.ja va:548)
        at org.eclipse.ui.internal.ViewReference.createPartHe lper(ViewReference.java:367)
        at org.eclipse.ui.internal.ViewReference.createPart(V iewReference.java:226)
        at org.eclipse.ui.internal.WorkbenchPartReference.get Part(WorkbenchPartReference.java:595)
        at org.eclipse.ui.internal.WorkbenchPage$ActivationLi st.setActive(WorkbenchPage.java:4212)
        at org.eclipse.ui.internal.WorkbenchPage$18.runWithEx ception(WorkbenchPage.java:3271)
        at org.eclipse.ui.internal.StartupThreading$StartupRu nnable.run(StartupThreading.java:31)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableL ock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessa ges(Synchronizer.java:134)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(D isplay.java:3468)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Di splay.java:3115)
        at org.eclipse.ui.application.WorkbenchAdvisor.openWi ndows(WorkbenchAdvisor.java:803)
        at org.eclipse.ui.internal.Workbench$28.runWithExcept ion(Workbench.java:1384)
        at org.eclipse.ui.internal.StartupThreading$StartupRu nnable.run(StartupThreading.java:31)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableL ock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessa ges(Synchronizer.java:134)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(D isplay.java:3468)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Di splay.java:3115)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench. java:2316)
        at org.eclipse.ui.internal.Workbench.access$4(Workben ch.java:2221)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench. java:500)
        at org.eclipse.core.databinding.observable.Realm.runW ithDefault(Realm.java:332)
        at org.eclipse.ui.internal.Workbench.createAndRunWork bench(Workbench.java:493)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Pl atformUI.java:149)
        at org.eclipse.ui.internal.ide.application.IDEApplica tion.start(IDEApplication.java:113)
        at org.eclipse.equinox.internal.app.EclipseAppHandle. run(EclipseAppHandle.java:194)
        at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.runApplication(EclipseAppLauncher.java: 110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.start(EclipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:368)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.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.ja va:514)
        at org.eclipse.equinox.launcher.Main.run(Main.java:13 11)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1 287)

        Comment


        • #5
          STS now will not start at all (after errors highlighted in previous post)

          In fact STS will not start at all now.
          I've attached the .log file from the latest run, going to have to remove my workspace (again) and see if that fixes it.

          Comment


          • #6
            Looks like you are getting a concurrent modification exception in the initialization of some of your jboss tools. Do you have jboss tools install separately?

            You could try the following:

            1. run with the -clean option. This will clear the configuration area and often avoids this kind of problem.
            2. (This one is a bit of a kludge, but it *may* work for you). Go to STS/configuration/org.eclipse.equinox.simpleconfigurator.
            3. make a backup of your bundles.info file
            4. edit bundles.info and delete any line that contains *jboss* in it. (this will remove all jboss plugins from the install)
            5. Restart. Does it work?
            6. If not, also delete the *org.eclipse.jst.j2ee* lines.
            7. Working now? It should since this is removing all of the plugins involved in the concurrent modification exception. But, you may receive some errors on startup since some plugins could not be started.
            8. Shut down, reinstate your original bundles.info.
            9. Restart again.

            Let me know if this works for you.

            Comment


            • #7
              Hi

              this happens because resource - snap. Try this it will work.

              cd to <workspace>\.metadata\.plugins\org.eclipse.core.re sources
              remove the file .snap

              let me know if this not work.

              placidus hoffman

              Comment

              Working...
              X