STS freeze during build workspace on startup - eclipse

I am running Spring STS 3.4.0 on Mac OS 10.8 with Tomcat 7, maven 3.1.1 installed, but almost everytime I start STS, try to open any project it freezes while building workspace at exactly 42%. By checking the log file, I found the following:
Can someone please tell me what is wrong and how I can possibly fix this problem?
Note: I don't have any firewall
Thanks
!ENTRY org.eclipse.m2e.logback.appender 2 0 2014-02-09 16:04:41.657
!MESSAGE Failed to retrieve plugin descriptor for
org.apache.maven.plugins:maven-eclipse-plugin:2.9: Plugin
org.apache.maven.plugins:maven-eclipse-plugin:2.9 or one of its
dependencies could not be resolved: Failed to read artifact descriptor
for org.apache.maven.plugins:maven-eclipse-plugin:jar:2.9
!ENTRY org.eclipse.m2e.logback.appender 2 0 2014-02-09 16:04:41.695
!MESSAGE Failed to retrieve plugin descriptor for
org.codehaus.mojo:exec-maven-plugin:1.2.1: Plugin
org.codehaus.mojo:exec-maven-plugin:1.2.1 or one of its dependencies
could not be resolved: Failed to read artifact descriptor for
org.codehaus.mojo:exec-maven-plugin:jar:1.2.1
!ENTRY org.eclipse.m2e.logback.appender 2 0 2014-02-09 16:04:42.178
!MESSAGE Failed to retrieve plugin descriptor for
org.apache.maven.plugins:maven-eclipse-plugin:2.9: Plugin
org.apache.maven.plugins:maven-eclipse-plugin:2.9 or one of its
dependencies could not be resolved: Failed to read artifact descriptor
for org.apache.maven.plugins:maven-eclipse-plugin:jar:2.9
!ENTRY org.eclipse.m2e.logback.appender 2 0 2014-02-09 16:04:42.194
!MESSAGE Failed to retrieve plugin descriptor for
org.codehaus.mojo:exec-maven-plugin:1.2.1: Plugin
org.codehaus.mojo:exec-maven-plugin:1.2.1 or one of its dependencies
could not be resolved: Failed to read artifact descriptor for
org.codehaus.mojo:exec-maven-plugin:jar:1.2.1
!ENTRY org.eclipse.m2e.logback.appender 2 0 2014-02-09 16:04:44.447
!MESSAGE Using platform encoding (US-ASCII actually) to copy filtered
resources, i.e. build is platform dependent!
!ENTRY org.eclipse.m2e.logback.appender 2 0 2014-02-09 16:04:44.525
!MESSAGE Using platform encoding (US-ASCII actually) to copy filtered
resources, i.e. build is platform dependent! !SESSION 2014-02-09
16:21:47.448 -----------------------------------------------
eclipse.buildId=3.4.0.201310051614-RELEASE-e43 java.version=1.7.0_45
java.vendor=Oracle Corporation BootLoader constants: OS=macosx,
ARCH=x86_64, WS=cocoa, NL=en_US Framework arguments: -product
org.springsource.sts.ide -keyring /Users/mkm/.eclipse_keyring
-showlocation Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.springsource.sts.ide -keyring
/Users/mkm/.eclipse_keyring -showlocation
!ENTRY org.eclipse.jface 2 0 2014-02-09 16:22:07.157 !MESSAGE
Keybinding conflicts occurred. They may interfere with normal
accelerator operation. !SUBENTRY 1 org.eclipse.jface 2 0 2014-02-09
16:22:07.157 !MESSAGE A conflict occurred for COMMAND+SHIFT+F10:
Binding(COMMAND+SHIFT+F10,
ParameterizedCommand(Command(org.jboss.tools.common.ui.RegisterAsService,Register
As Service, Adds class name to META-INF/services/%serviceType% file
after service type is selected in the dialog from types extended and
implemented by the class.,
Category(org.eclipse.ui.category.file,File,null,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler#241a8926,
,,true),null), org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system) Binding(COMMAND+SHIFT+F10,
ParameterizedCommand(Command(org.eclipse.ui.window.showSystemMenu,Show
System Menu, Show the system menu,
Category(org.eclipse.ui.category.window,Window,null,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler#4a22304e,
,,true),null), org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,cocoa,system)

Related

Eclipse error - Creating directories for C:\WINDOWS\system32\config\systemprofile failed

Things have been going fine in my localhost Adobe Experience Manager 6.5.3 development environment, but suddenly I'm unable to push commits. After doing some digging, I found the following in my error log (see below). I've tried various fixes, but can't figure out what it is.
I'm also getting a "Problem Occurred" error with the message below, which I think is related:
Publishing failed
Could not publish to the server.
unknown type: 0,date,dd.MM.yyyy\ HH:mm:ss.SSS
Failed publishing path=/conf, result=JcrResult[ success:false, exception: org.apache.sling.ide.transport.RepositoryException - javax.jcr.nodetype.ConstraintViolationException: Item is protected]
Has anyone run into this before and, if so, how did you fix it? Thanks.
eclipse.buildId=4.18.0.I20201202-1800
java.version=11.0.10
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
!ENTRY org.eclipse.jface 2 0 2021-06-05 00:14:42.561
!MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2021-06-05 00:14:42.561
!MESSAGE A conflict occurred for CTRL+SHIFT+T:
Binding(CTRL+SHIFT+T,
ParameterizedCommand(Command(org.eclipse.jdt.ui.navigate.open.type,Open Type,
Open a type in a Java editor,
Category(org.eclipse.ui.category.navigate,Navigate,null,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler#43d2c8e3,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(CTRL+SHIFT+T,
ParameterizedCommand(Command(org.eclipse.lsp4e.symbolinworkspace,Go to Symbol in Workspace,
,
Category(org.eclipse.lsp4e.category,Language Servers,null,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler#8bb5c2a,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
!ENTRY org.eclipse.m2e.logback.appender 4 0 2021-06-05 00:14:56.710
!MESSAGE Cannot save config file 'FileBasedConfig[C:\WINDOWS\system32\config\systemprofile\.config\jgit\config]'
!STACK 0
java.io.IOException: Creating directories for C:\WINDOWS\system32\config\systemprofile\.config\jgit failed
at org.eclipse.jgit.util.FileUtils.mkdirs(FileUtils.java:411)
at org.eclipse.jgit.internal.storage.file.LockFile.lock(LockFile.java:130)
at org.eclipse.jgit.storage.file.FileBasedConfig.save(FileBasedConfig.java:219)
at org.eclipse.jgit.util.FS$FileStoreAttributes.saveToConfig(FS.java:735)
at org.eclipse.jgit.util.FS$FileStoreAttributes.lambda$4(FS.java:424)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
!ENTRY org.eclipse.core.net 4 0 2021-06-05 00:14:59.729
!MESSAGE WinHttp.GetProxyForUrl for pac failed with error 'The proxy auto-configuration script could not be downloaded
' #12167.

Eclipse does not restart in Ubuntu

I have Ubuntu 16.04 and Eclipse Oxygen 3.A installed on my machine. The Eclipse restart does not work. Eclipse closes but does not start again neither by 'Restart' menu nor if an application requires a restart.
Update: I cleared .metadata/.log and then restarted Eclipse from the menu. As usual Eclipse closed down but did not start again. I had to start it by clicking on the icon on my taskbar. Below is the logs generated when I started Eclipse.
!SESSION 2018-08-19 20:44:55.135 -----------------------------------------------
eclipse.buildId=4.7.3.M20180330-0640
java.version=1.8.0_181
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_IN
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product
!ENTRY org.eclipse.ui 2 0 2018-08-19 20:45:05.372
!MESSAGE Warnings while parsing the images from the 'org.eclipse.ui.commandImages' extension point.
!SUBENTRY 1 org.eclipse.ui 2 0 2018-08-19 20:45:05.372
!MESSAGE Cannot bind to an undefined command: plug-in='org.eclipse.lsp4e', id='org.eclipse.lsp4e.togglehighlight'
!ENTRY com.genuitec.eclipse.theming.ui 1 0 2018-08-19 20:45:08.115
!MESSAGE A DevStyle Theme is being activated on this workspace; preparing colors and configuration
!ENTRY com.genuitec.eclipse.theming.ui 1 0 2018-08-19 20:45:09.652
!MESSAGE DevStyle has archived current color configurations to alternate preferences - will be restored when switching out of the DevStyle Theme
!ENTRY com.genuitec.eclipse.patches 2 0 2018-08-19 20:45:13.331
!MESSAGE Patches instrumentation extension PerformanceJavaNavigatorContentProviderPatch ([31078] [Angular] Webclipse UI freezes constantly after closing/reopening Angular 2 projects) has not weaved class org.eclipse.jdt.internal.ui.navigator.JavaNavigatorContentProvider.
The issue was that the path set for --launcher.library argument in eclipse.ini file was incorrect. I found it out by comparing the ini files from another installation. The path for this argument was set as a relative path which I replaced with an absolute path as below.
/home/<username>/.p2/pool/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.700.v20180518-1200

Eclipse IDE crashes on Windows 10 before setting up workspace

I have the Eclipse IDE on my Windows 10, 64 bit, computer. When I open it, it crashes before opening the work space setup screen, and makes an error file in it's configuration file. The file says:
!SESSION 2017-09-29 19:39:18.799 -----------------------------------------------
eclipse.buildId=M20110210-1200
java.version=9
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product -clean
!ENTRY org.eclipse.equinox.simpleconfigurator 4 0 2017-09-29 19:39:19.975
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: The bundle "org.eclipse.equinox.simpleconfigurator_1.0.200.v20100503 [1]" could not be resolved. Reason: Missing Constraint: Bundle-RequiredExecutionEnvironment: CDC-1.1/Foundation-1.1,J2SE-1.4
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1317)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1301)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:319)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:374)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1067)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:561)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:546)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:459)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:440)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)
!ENTRY org.eclipse.osgi 4 0 2017-09-29 19:39:20.003
!MESSAGE Bundle initial#reference:file:plugins/org.eclipse.equinox.simpleconfigurator_1.0.200.v20100503.jar/ was not resolved.
!ENTRY org.eclipse.osgi 2 0 2017-09-29 19:39:20.021
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2017-09-29 19:39:20.022
!MESSAGE Bundle org.eclipse.equinox.simpleconfigurator_1.0.200.v20100503 [1] was not resolved.
!SUBENTRY 2 org.eclipse.equinox.simpleconfigurator 2 0 2017-09-29 19:39:20.022
!MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: CDC-1.1/Foundation-1.1,J2SE-1.4
!ENTRY org.eclipse.osgi 4 0 2017-09-29 19:39:20.055
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
I have tried many solutions to similar problems, but none of them worked.
Any and all help would greatly be appreciated, thanks!
It looks like you are using an old version of Eclipse with Java 9. This old version of Eclipse does not understand Java 9 and fails to start. You will have to change to Java 8 to run this version of Eclipse.
Eclipse Oxygen.1a (4.7.1a) due for release on 11 October (2017) is the first release of Eclipse that fully supports Java 9.

Apps script on eclipse : Error reading contents of project from Drive;

I'm trying to use the google apps script plugin for eclipse (https://developers.google.com/eclipse/docs/apps_script) When I follow the directions and try to import an apps script project, The import wizard does not appear to populate, and I end up with the error in the title . The logs have the following:
!SESSION 2017-09-06 20:41:42.028 -----------------------------------------------
eclipse.buildId=4.6.3.M20170301-0400
java.version=1.8.0_131
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86_64 -data file:/E:/EclipsePortable/Data/workspace/
!ENTRY org.eclipse.ui.navigator 2 0 2017-09-06 20:41:46.917
!MESSAGE Can't find Navigator Content Descriptor with id: org.eclipse.jst.servlet.ui.EnhancedJavaRendering
!ENTRY com.google.gdt.eclipse.drive 1 0 2017-09-06 20:42:16.644
!MESSAGE Connected to Drive service at https://www.googleapis.com/
!ENTRY com.google.gdt.eclipse.drive 4 0 2017-09-06 20:43:23.266
!MESSAGE Error reading contents of project from Drive; see Error Log.
!STACK 0
java.lang.NullPointerException
at com.google.gdt.eclipse.drive.wizards.ScriptProjectImportWizard$2.run(ScriptProjectImportWizard.java:162)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
How can I get this working?
From https://developers.google.com/eclipse/
The Google Plugin for Eclipse is deprecated and will be removed in January 2018. Migrate to Cloud Tools for Eclipse and/or the GWT Eclipse Plugin as soon as possible to avoid disruption.

eclipse cdt tools installing error

I am trying to install the CDT plugin on an exisitng 32-bit installation of Eclipse on Ubuntu Jaunty. I've tried both web-update and standalone-package install and both fail with the following error-
Application Started: 4000
!SESSION 2009-10-05 21:24:55.947 -----------------------------------------------
eclipse.buildId=I20090611-1540
java.version=1.6.0_16
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86 -consolelog -debug
!ENTRY org.eclipse.equinox.p2.touchpoint.eclipse 4 0 2009-10-05 21:25:28.172
!MESSAGE Error while loading manipulator.
!STACK 0
java.lang.IllegalStateException: !fwConfigLocation.equals(fwPersistentDataLocation)
!fwConfigLocation=/opt/eclipse-galileo/configuration
,fwPersistentDataLocation=/opt/eclipse-galileo/plugins/configuration
at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.checkConsistencyOfFwConfigLocAndFwPersistentDataLoc(EquinoxManipulatorImpl.java:65)
at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.loadWithoutFwPersistentData(EquinoxManipulatorImpl.java:360)
at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.load(EquinoxManipulatorImpl.java:331)
at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.loadDelegate(LazyManipulator.java:50)
at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.getConfigData(LazyManipulator.java:108)
at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.UninstallBundleAction.uninstallBundle(UninstallBundleAction.java:74)
at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.UninstallBundleAction.execute(UninstallBundleAction.java:29)
at org.eclipse.equinox.internal.p2.engine.ParameterizedProvisioningAction.execute(ParameterizedProvisioningAction.java:35)
at org.eclipse.equinox.internal.provisional.p2.engine.Phase.mainPerform(Phase.java:129)
at org.eclipse.equinox.internal.provisional.p2.engine.Phase.perform(Phase.java:72)
at org.eclipse.equinox.internal.provisional.p2.engine.PhaseSet.perform(PhaseSet.java:44)
at org.eclipse.equinox.internal.provisional.p2.engine.Engine.perform(Engine.java:54)
at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProvisioningUtil.performProvisioningPlan(ProvisioningUtil.java:389)
at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProfileModificationOperation.doExecute(ProfileModificationOperation.java:61)
at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProvisioningOperation.execute(ProvisioningOperation.java:37)
at org.eclipse.equinox.internal.provisional.p2.ui.ProvisioningOperationRunner$1.run(ProvisioningOperationRunner.java:94)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!ENTRY org.eclipse.equinox.p2.engine 4 4 2009-10-05 21:25:28.201
!MESSAGE An error occurred while uninstalling
!SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2009-10-05 21:25:28.202
!MESSAGE session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Uninstall, operand=[R]org.eclipse.ant.ui 3.4.0.v20090520 --> [R]org.eclipse.ant.ui 3.4.1.v20090901_r351, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.UninstallBundleAction).
!SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2009-10-05 21:25:28.202
!MESSAGE Error while loading manipulator.
!STACK 0
java.lang.IllegalStateException: Error while loading manipulator.
at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.loadDelegate(LazyManipulator.java:54)
at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.getConfigData(LazyManipulator.java:108)
at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.UninstallBundleAction.uninstallBundle(UninstallBundleAction.java:74)
at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.UninstallBundleAction.execute(UninstallBundleAction.java:29)
at org.eclipse.equinox.internal.p2.engine.ParameterizedProvisioningAction.execute(ParameterizedProvisioningAction.java:35)
at org.eclipse.equinox.internal.provisional.p2.engine.Phase.mainPerform(Phase.java:129)
at org.eclipse.equinox.internal.provisional.p2.engine.Phase.perform(Phase.java:72)
at org.eclipse.equinox.internal.provisional.p2.engine.PhaseSet.perform(PhaseSet.java:44)
at org.eclipse.equinox.internal.provisional.p2.engine.Engine.perform(Engine.java:54)
at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProvisioningUtil.performProvisioningPlan(ProvisioningUtil.java:389)
at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProfileModificationOperation.doExecute(ProfileModificationOperation.java:61)
at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProvisioningOperation.execute(ProvisioningOperation.java:37)
at org.eclipse.equinox.internal.provisional.p2.ui.ProvisioningOperationRunner$1.run(ProvisioningOperationRunner.java:94)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
This may be related to bug 285743: as explained in this thread
What happens is that P2 fails to correctly setup osgi.install.area, because it doesn't strip 'plugins' part from the path. I saw this happen when eclipse.ini file in target directory didn't have '-startup' option in it.
Take a look into your eclipse.ini file if it contains -startup option like this:
-startup
plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
Note: if this is the case, you can refer to "proper" eclipse.ini to avoid any settings-related problem (for eclipse3.4 or 3.5.x): see "good" eclipse.ini.

Categories