When I try to start Eclipse Juno on Windows 7 a messagebox saying "An error occured. See the log file" appears and eclipse won't start. I tried either renaming my workspace folder or change eclipse workspace settings stored in eclipse_root_folder\configuration.settings\org.eclipse.core.net.prefs but it doesn't work. I have been using this for 2 months and this didn't happen before. Any solution?
!SESSION 2013-03-11 15:17:16.709 -----------------------------------------------
eclipse.buildId=M20120914-1800
java.version=1.6.0_25
java.vendor=Sun Microsystems Inc.
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.osgi 4 0 2013-03-11 15:17:20.919
!MESSAGE Application error
!STACK 1
java.lang.NoSuchMethodError: sun.misc.ProxyGenerator$ConstantPool.seTReadOnly()V
at sun.misc.ProxyGenerator.generateClassFile(Unknown Source)
at sun.misc.ProxyGenerator.generateProxyClass(Unknown Source)
at java.lang.reflect.Proxy.getProxyClass(Unknown Source)
at java.lang.reflect.Proxy.newProxyInstance(Unknown Source)
at sun.reflect.annotation.AnnotationParser.annotationForMap(Unknown Source)
at sun.reflect.annotation.AnnotationParser.parseAnnotation(Unknown Source)
at sun.reflect.annotation.AnnotationParser.parseAnnotations2(Unknown Source)
at sun.reflect.annotation.AnnotationParser.parseAnnotations(Unknown Source)
at java.lang.Class.initAnnotationsIfNecessary(Unknown Source)
at java.lang.Class.getAnnotation(Unknown Source)
at sun.reflect.annotation.AnnotationType.<init>(Unknown Source)
at sun.reflect.annotation.AnnotationType.getInstance(Unknown Source)
at sun.reflect.annotation.AnnotationParser.parseAnnotation(Unknown Source)
at sun.reflect.annotation.AnnotationParser.parseAnnotations2(Unknown Source)
at sun.reflect.annotation.AnnotationParser.parseAnnotations(Unknown Source)
at java.lang.Class.initAnnotationsIfNecessary(Unknown Source)
at java.lang.Class.getAnnotation(Unknown Source)
at sun.reflect.annotation.AnnotationType.<init>(Unknown Source)
at sun.reflect.annotation.AnnotationType.getInstance(Unknown Source)
at sun.reflect.annotation.AnnotationParser.parseAnnotation(Unknown Source)
at sun.reflect.annotation.AnnotationParser.parseAnnotations2(Unknown Source)
at sun.reflect.annotation.AnnotationParser.parseAnnotations(Unknown Source)
at java.lang.Class.initAnnotationsIfNecessary(Unknown Source)
at java.lang.Class.getAnnotation(Unknown Source)
at sun.reflect.annotation.AnnotationType.<init>(Unknown Source)
at sun.reflect.annotation.AnnotationType.getInstance(Unknown Source)
at sun.reflect.annotation.AnnotationParser.parseAnnotation(Unknown Source)
at sun.reflect.annotation.AnnotationParser.parseAnnotations2(Unknown Source)
at sun.reflect.annotation.AnnotationParser.parseAnnotations(Unknown Source)
at java.lang.reflect.Field.declaredAnnotations(Unknown Source)
at java.lang.reflect.Field.getAnnotation(Unknown Source)
at java.lang.reflect.AccessibleObject.isAnnotationPresent(Unknown Source)
at org.eclipse.e4.core.internal.di.InjectorImpl.processFields(InjectorImpl.java:617)
at org.eclipse.e4.core.internal.di.InjectorImpl.processClass(InjectorImpl.java:575)
at org.eclipse.e4.core.internal.di.InjectorImpl.processClass(InjectorImpl.java:568)
at org.eclipse.e4.core.internal.di.InjectorImpl.processClassHierarchy(InjectorImpl.java:556)
at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:87)
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:319)
at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:240)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:161)
at org.eclipse.e4.core.services.translation.TranslationProviderFactory.bundleTranslationService(TranslationProviderFactory.java:34)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultHeadlessContext(E4Application.java:417)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultContext(E4Application.java:434)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:182)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:557)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
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:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
I have the latest version of java
/eclipsepath/eclipse.exe -clean [this isn't working]
I haven't made any changes on my pc
Eclipse stores a copy of your project in it's cache. It can happen when Eclipse crashes (that happens) that this cache is corrupted and thus Eclipse won't start again. Starting with '--clean' somethimes fixes this but not always.
In my experience one solution is to delete the project's cache. Look for the '.metadata' folder in your workspace and delete it while Eclipse is NOT running (make a backup just in case). Then launch Eclipse again.
You may loose your Run Configurations preferences which you can then restore from your backup copy of ".metadata/.plugins/org.eclipse.debug.core/.launches".
Try to execute following line in command prompt:
/eclipsepath/eclipse.exe -clean
When even "clean" command fails, I have had good results with
eclipse -clean -cleanPersistedState
Apart from that, I'd use FileMon by SysInternals (or ProcMon, or similar utility) to try and see what operation exactly is failing, or where is Eclipse looking for its data.
eclipse.buildId=M20120914-1800 java.version=1.6.0_25 java.vendor=Sun
Microsystems Inc. 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
No you don't have latest version of java, your eclipse is using java 1.6, Latest java is 1.8
There seems to be some mismatch ie. OS is win32 and arch is x86_64. Make sure that if OS is 32 bit, Java and Eclipse is also 32 bit
Are you sure you downloaded the Eclipse/ JAVA version for the right processor architecture?
Looks like try to run a mixture of 32-bit and 64-bit applications on your system, maybe you updated your eclipse/ java/ etc. or added some new library?
You're probably not using the version of Java that you think you are. You need to specify to Eclipse what JVM to use, via eclipse.ini. Otherwise it can pick up unintended versions from your system path.
in your files manager do the following thing.
rm YOUR_WORKSPACE/.metadata/.plugins/org.eclipse.core.resources/.snap
rm /home/anoop/workspace2/.metadata/.plugins/org.eclipse.core.resources/.snap
Run the following command in terminal
/full/path/to/second/eclipse -clean
--clean helped me when i restart after the eclipse crashed.
Have you tried a restore of your computer to yesterday? It's certainly not as elegant as some of these other answers, but I bet something changed that you're just not thinking about (or noticing - background update, perhaps?), and a restore will fix whatever that was.
Related
I use the IDE eclipse everyday. Today it decided to not work for me, and I have work to do and really need it to.. If anyone could help, that'd be great.
When I startup eclipse it pops up an error message leading me to this error.
!SESSION 2016-05-14 09:11:04.108 -----------------------------------------------
eclipse.buildId=4.5.2.M20160212-1500
java.version=1.8.0_25
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.java.product -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.java.product -data C:\Users\STATION8\Desktop\Development\Minecraft\Tripex Development -product org.eclipse.epp.package.java.product
!ENTRY org.eclipse.egit.ui 2 0 2016-05-14 09:35:37.423
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\STATION8'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!ENTRY org.eclipse.osgi 4 0 2016-05-14 09:39:07.119
!MESSAGE Shutdown error
!STACK 1
java.lang.InterruptedException
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireInterruptibly(Unknown Source)
at java.util.concurrent.locks.ReentrantLock.lockInterruptibly(Unknown Source)
at org.eclipse.osgi.container.SystemModule.waitForStop(SystemModule.java:119)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle.waitForStop(EquinoxBundle.java:259)
at org.eclipse.osgi.launch.Equinox.waitForStop(Equinox.java:181)
at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:436)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:254)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
I'm running Eclipse Luna on a Mac (Yosemite).
Been using Eclipse for a few months now, when I open Eclipse this morning however I get a popup after the splash screen with "An error has occurred, see the log file."
What I've tried:
Ran Eclipse with -clean argument
I have no .snap file in the resources metadata folder to delete
Completely removed my workspace (well, renamed it)
It doesn't get past the splash screen though.
Here's the log file in case it's helpful:
!SESSION 2015-06-18 07:55:02.645
----------------------------------------------- eclipse.buildId=4.4.2.M20150204-1700 java.version=1.7.0_67
java.vendor=Oracle Corporation BootLoader constants: OS=macosx,
ARCH=x86_64, WS=cocoa, NL=en_US Framework arguments: -product
org.eclipse.epp.package.java.product -keyring
/Users/ralph/.eclipse_keyring -showlocation Command-line arguments:
-os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.java.product -keyring
/Users/ralph/.eclipse_keyring -showlocation
!ENTRY org.eclipse.osgi 4 0 2015-06-18 07:55:06.268 !MESSAGE
Application error !STACK 1 java.lang.ClassFormatError: Invalid pc in LineNumberTable in class file org/eclipse/swt/widgets/Button
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.defineClass(ModuleClassLoader.java:272)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.defineClass(ClasspathManager.java:632)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findClassImpl(ClasspathManager.java:588)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClassImpl(ClasspathManager.java:550)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:527)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:324)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:320)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:395)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:345)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:337)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2570)
at java.lang.Class.getMethod0(Class.java:2813)
at java.lang.Class.getMethod0(Class.java:2822)
at java.lang.Class.getMethod(Class.java:1663)
at org.eclipse.ui.internal.WorkbenchPlugin.getSplashShell(WorkbenchPlugin.java:1346)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:114)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
Did you kill the jvm process with the task manager?? If you do, maybe your workspace has been corrupted. You have to make a new workspace. It happened to me several times.
According to this stackoverflow question, they were able to fix a similar problem by switching JDK versions. Have you recently installed a new JDK?
i've a problem with eclipse on windows. Eclipse is crashing after opening a file. See details:
im using eclipse PDT (PHP Developer Tools) helios 64-Bit BuildId 20100617-1415.
Im using a Windows 7 64-Bit 4GB RAM 3,00 GHZ DualCore. Here my Javaversion:
JAVA_VERSION="1.7.0"
OS_NAME="Windows"
OS_VERSION="5.2"
OS_ARCH="amd64"
SOURCE=" .:6c778574d873 corba:e2f0036f712a deploy:ff2d46573ceb hotspot:6c6a2299029a hotspot/make/closed:80b9d510a421 hotspot/src/closed:634748630fb2 hotspot/test/closed:c481bad2398f install:0c651f8a91c5 jaxp:114654a331e2 jaxws:81a1b110f70c jdk:d19a89fdfb9b jdk/make/closed:b5692ae0a608 jdk/src/closed:191255f238f8 jdk/test/closed:436a6034af75 langtools:4d0807934c30 pubs:d1669b0287b0 sponsors:b93d7ce5ce71"
BUILD_TYPE=commercial
I used the Windows Offline (64-Bit) Download-Link from this Java Site:
http://www.java.com/de/download/manual.jsp.
I've created a new Project in Windows, then i copied the code in Windows-Explorer in the workspace/project-folder and execute the refresh-command over the whole project.
When i'm trying to open a file in the project, eclipse says no response. So that i only can kill the process. The last time i get a errormessage:
!SESSION 2014-04-02 12:39:23.739 -----------------------------------------------
eclipse.buildId=I20100608-0911
java.version=1.7.0_51
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
Framework arguments: -product org.eclipse.epp.package.php.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.php.product
!ENTRY org.eclipse.core.jobs 4 2 2014-04-02 12:52:55.074
!MESSAGE An internal error occurred during: "Validating Stadtbäckerei am Gänsemarkt - Hamburg".
!STACK 0
java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:188)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:580)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:550)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:481)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassName(ClasspathManager.java:460)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:447)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:188)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:580)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:550)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:481)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassName(ClasspathManager.java:460)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:447)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
!ENTRY org.eclipse.ui 4 0 2014-04-02 12:53:35.607
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.OutOfMemoryError: PermGen space
!SESSION 2014-04-02 12:55:16.688 -----------------------------------------------
eclipse.buildId=I20100608-0911
java.version=1.7.0_51
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
Framework arguments: -product org.eclipse.epp.package.php.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.php.product
!ENTRY org.eclipse.core.resources 2 10035 2014-04-02 12:55:22.296
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
!SESSION Wed Apr 02 13:52:19 CEST 2014 -----------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2014-04-02 13:52:19.445
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.OutOfMemoryError: PermGen space
Can someone help me? I want to work with eclipse, but it seems that i've to use an other IDE for Webdeveloping.
Your JVM has exhausted the limit on Permanent Generation (PermGen) memory (which is not the general heap). Please see http://wiki.eclipse.org/IRC_FAQ#I.27m_having_memory.2C_heap.2C_or_permgen_problems.2C_what_can_I_do.3F , https://wiki.eclipse.org/FAQ_How_do_I_increase_the_permgen_size_available_to_Eclipse%3F , and http://eclipsenuggets.blogspot.com/2007/10/does-your-eclipse-3.html .
I'm trying to run my bundle as OSGI framework but i got the following output and i don't know where is the mistake:
!SESSION 2013-06-25 13:28:45.073 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_21
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -dev file:C:/Users/HP/workspace/.metadata/.plugins/org.eclipse.pde.core/OSGi Framework/dev.properties -os win32 -ws win32 -arch x86 -consoleLog -console
!ENTRY org.eclipse.osgi 4 0 2013-06-25 13:28:51.609
!MESSAGE Could not find bundle: org.eclipse.equinox.console
!STACK 0
org.osgi.framework.BundleException: Could not find bundle: org.eclipse.equinox.console
at org.eclipse.osgi.framework.internal.core.ConsoleManager.checkForConsoleBundle(ConsoleManager.java:211)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:297)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
> ss OUTPUT:
id State Bundle
0 ACTIVE org.eclipse.osgi_3.8.2.v20130124-134944
2 ACTIVE org.hamcrest.core_1.1.0.v20090501071000
3 ACTIVE org.junit_4.10.0.v4_10_0_v20120426-0900
4 ACTIVE org.apache.felix.gogo.command_0.8.0.v201108120515
5 ACTIVE org.apache.felix.gogo.runtime_0.8.0.v201108120515
6 ACTIVE org.eclipse.equinox.console_1.0.0.v20120522-1841
7 ACTIVE org.apache.felix.gogo.shell_0.8.0.v201110170705
9 ACTIVE inotify-bundle-core-conf_1.0.0.qualifier
It seems like you are running Eclipse Juno, which comes bundled with OSGi v3.8, which does not uses the Eclipse in built console, but the console is now contained it's own bundle. You need to add that bundle. That is what your OSGi is complaining about. You also need to add some felix bundle to get the new console run.
In all, at a minimum, you need to select following bundles in your OSGi run configuration:
- org.eclipse.osgi
- org.eclipse.equinox.console
- org.apache.felix.gogo.runtime
- org.apache.felix.gogo.shell
Or, if you want to use the eclipse built in console, you can enable it by passing following VM arguments:
-Dosgi.console.enable.builtin=true
I faced same issue. Was just about to download ggts again. But just deleting. Metadata folder from workspace solved it. But after that u have to import and set all configuration again.
Hi
I am running Eclipse Helios on Win XP.
When I start it today, I get a message telling that Eclipse can not be started.
Here is the content of the log file that was generated:
!SESSION 2011-03-24 19:28:51.296 -----------------------------------------------
eclipse.buildId=M20100909-0800
java.version=1.6.0_22
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=iw_IL
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.java.product
!ENTRY org.eclipse.core.resources 2 10035 2011-03-24 19:28:52.609
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
!ENTRY org.eclipse.ui.workbench 4 0 2011-03-24 19:29:02.281
!MESSAGE Widget disposed too early!
!STACK 0
java.lang.RuntimeException: Widget disposed too early!
at org.eclipse.ui.internal.WorkbenchPartReference$1.widgetDisposed(WorkbenchPartReference.java:172)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:123)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1058)
at org.eclipse.swt.widgets.Widget.release(Widget.java:808)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:872)
at org.eclipse.swt.widgets.Widget.release(Widget.java:811)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:872)
at org.eclipse.swt.widgets.Widget.release(Widget.java:811)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:872)
at org.eclipse.swt.widgets.Widget.release(Widget.java:811)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:872)
at org.eclipse.swt.widgets.Canvas.releaseChildren(Canvas.java:167)
at org.eclipse.swt.widgets.Decorations.releaseChildren(Decorations.java:773)
at org.eclipse.swt.widgets.Shell.releaseChildren(Shell.java:1267)
at org.eclipse.swt.widgets.Widget.release(Widget.java:811)
at org.eclipse.swt.widgets.Widget.dispose(Widget.java:446)
at org.eclipse.swt.widgets.Decorations.dispose(Decorations.java:447)
at org.eclipse.swt.widgets.Shell.dispose(Shell.java:714)
at org.eclipse.jface.window.Window.close(Window.java:335)
at org.eclipse.jface.window.ApplicationWindow.close(ApplicationWindow.java:307)
at org.eclipse.ui.internal.WorkbenchWindow.hardClose(WorkbenchWindow.java:1735)
at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:734)
at org.eclipse.ui.internal.WorkbenchWindow.access$0(WorkbenchWindow.java:710)
at org.eclipse.ui.internal.WorkbenchWindow$5.run(WorkbenchWindow.java:826)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:824)
at org.eclipse.ui.internal.Workbench$65.runWithException(Workbench.java:3639)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
at org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
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)
!ENTRY org.eclipse.osgi 4 0 2011-03-24 19:29:02.812
!MESSAGE Application error
!STACK 1
org.eclipse.swt.SWTError: No more handles
at org.eclipse.swt.SWT.error(SWT.java:4109)
at org.eclipse.swt.SWT.error(SWT.java:3998)
at org.eclipse.swt.SWT.error(SWT.java:3969)
at org.eclipse.swt.internal.ImageList.copyWithAlpha(ImageList.java:175)
at org.eclipse.swt.internal.ImageList.set(ImageList.java:405)
at org.eclipse.swt.internal.ImageList.add(ImageList.java:66)
at org.eclipse.swt.widgets.ToolItem.updateImages(ToolItem.java:935)
at org.eclipse.swt.widgets.ToolItem.setImage(ToolItem.java:708)
at org.eclipse.ui.internal.PerspectiveBarContributionItem.fill(PerspectiveBarContributionItem.java:87)
at org.eclipse.jface.action.ToolBarManager.update(ToolBarManager.java:353)
at org.eclipse.ui.internal.PerspectiveBarManager.addItem(PerspectiveBarManager.java:189)
at org.eclipse.ui.internal.PerspectiveSwitcher.addPerspectiveShortcut(PerspectiveSwitcher.java:262)
at org.eclipse.ui.internal.PerspectiveSwitcher.access$1(PerspectiveSwitcher.java:254)
at org.eclipse.ui.internal.PerspectiveSwitcher$ChangeListener.perspectiveOpened(PerspectiveSwitcher.java:163)
at org.eclipse.ui.internal.PerspectiveListenerList$7.run(PerspectiveListenerList.java:192)
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.PerspectiveListenerList.fireEvent(PerspectiveListenerList.java:58)
at org.eclipse.ui.internal.PerspectiveListenerList.firePerspectiveOpened(PerspectiveListenerList.java:190)
at org.eclipse.ui.internal.WorkbenchWindow.firePerspectiveOpened(WorkbenchWindow.java:1499)
at org.eclipse.ui.internal.WorkbenchPage$17.runWithException(WorkbenchPage.java:3222)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
at org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
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)
Any idea how to solve it?
Thanks
Avishay
This problem occurs with XUL Runner runtime environment versions later than 1.9.0.x, for example, version 1.9.1.
You can determine the configured version of XUL Runner runtime environment by running the following command:
xulrunner -v
Edit the eclipse.ini file.
Locate the -vmargs line and add a new line to specify the version of the XUL Runner runtime environment using this syntax:
-Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner-1.9.x.x
For me, increasing --launcher.XXMaxPermSize
256m to 512m in eclipse.ini worked.
This issue came once Eclipse loaded with many plugins and features due to which Eclipse needed extra space while loading these new plugins/features during startup.
All the bugs reporting this kind of message (like bug 260772 or bug 239681) mention XulRunner: you wouldn't have installed it recently?
Eclipse/SWT 3.4 supports any
mozilla/seamonkey/xulrunner/firefox-iff-dynamically-linked >= mozilla 1.4.
Starting with FireFox3, a private xulrunner is shipped with FireFox for its use, however this is not a full install that the Browser can be pointed at independent of the FireFox that it came with.
But if the FireFox is dynamically linked, then the Browser can use it (the FireFox), and the fact that a private xulrunner is being used by the FireFox to do its work is just an
implementation detail that the Browser doesn't know/care about.
If you have xulrunner 1.9~b5+nobinonly-0ubuntu3 installed - then Eclipse 3.4 doesn't work - and it doesn't seem to matter what versions of FireFox you install or uninstall
The other cause is related to some workspace corruption, which might explain why the OP balderman comments:
I found a way to start eclipse by commenting out the line: RECENT_WORKSPACES=bla bla in the file org.eclipse.ui.ide.prefs: as the question "How to delete obsolete workspace in RAD?", that don't actually delete a workspace, but allows to skip one which could have some kind of corruption issue.
Do you get:
org.eclipse.swt.SWTError: No more handles
Every time you start?
This means Eclipse is running out of operating system resources, do you have many other applications open? Try shutting down some other applications you have running.
If you DON'T have many other applications running you may want to consider looking at sleak, the eclipse plug-in that monitors handle usage of eclipse and eclipse RCPs.
Are you running plain Eclipse, or have you installed many plug-ins? I'd be very surprised if vanilla Eclipse ran out of handles...it's more likely to be caused by a plug-in (in my experience anyway).
backup "..\.metadata.plugins\org.eclipse.core.resources" forler
empty "..\.metadata.plugins\org.eclipse.core.resources\.safetable\org.eclipse.core.resources" file
run Flex. Your project list will be empty
close Flex
restore "..\.metadata.plugins\org.eclipse.core.resources" folder(overwrite all)
run Flex.