Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse wouldn't start
Eclipse wouldn't start [message #1822565] Tue, 10 March 2020 05:13 Go to next message
Adam Huang is currently offline Adam HuangFriend
Messages: 2
Registered: March 2020
Junior Member
Hi everyone,

My Eclipse used to run just fine, but after two months of holiday, it just wouldn't start. This is my .log, any advice is appreciated, thank you very much.

!SESSION 2020-03-10 18:06:54.531 -----------------------------------------------
eclipse.buildId=4.10.0.I20181206-0815
java.version=1.8.0_241
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_NZ
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

!ENTRY org.eclipse.egit.core 1 0 2020-03-10 18:07:01.712
!MESSAGE Using Apache MINA sshd as ssh client.

!ENTRY org.eclipse.jface 2 0 2020-03-10 18:07:02.807
!MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2020-03-10 18:07:02.807
!MESSAGE A conflict occurred for CTRL+F4:
Binding(CTRL+F4,
ParameterizedCommand(Command(org.eclipse.ui.file.close,Close,
Close the active editor,
Category(org.eclipse.ui.category.file,File,null,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@5e584389,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(CTRL+F4,
ParameterizedCommand(Command(org.scala.tools.eclipse.search.commands.OpenTypeHierarchy,Open Type Hierarchy,
Open Type Hierarchy,
Category(org.scala.tools.eclipse.search.commands,Search - Scala,Search - Scala,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@42491839,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)

!ENTRY org.eclipse.osgi 4 0 2020-03-10 18:07:38.550
!MESSAGE Application error
!STACK 1
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Unknown Source)
at java.util.ArrayList.grow(Unknown Source)
at java.util.ArrayList.ensureExplicitCapacity(Unknown Source)
at java.util.ArrayList.ensureCapacityInternal(Unknown Source)
at java.util.ArrayList.add(Unknown Source)
at org.eclipse.jface.text.TextPresentation.addStyleRange(TextPresentation.java:230)
at org.eclipse.wst.sse.ui.internal.rules.PresentationCollector.add(PresentationCollector.java:65)
at org.eclipse.wst.sse.ui.internal.provisional.style.AbstractLineStyleProvider.prepareTextRegions(AbstractLineStyleProvider.java:352)
at org.eclipse.wst.sse.ui.internal.provisional.style.AbstractLineStyleProvider.prepareRegions(AbstractLineStyleProvider.java:249)
at org.eclipse.wst.sse.ui.internal.rules.StructuredDocumentDamagerRepairer.createPresentation(StructuredDocumentDamagerRepairer.java:43)
at org.eclipse.wst.sse.ui.internal.provisional.style.StructuredPresentationReconciler.createPresentation(StructuredPresentationReconciler.java:724)
at org.eclipse.wst.sse.ui.internal.provisional.style.StructuredPresentationReconciler.processDamage(StructuredPresentationReconciler.java:870)
at org.eclipse.wst.sse.ui.internal.provisional.style.StructuredPresentationReconciler$InternalListener.inputDocumentChanged(StructuredPresentationReconciler.java:271)
at org.eclipse.wst.sse.ui.internal.provisional.style.StructuredPresentationReconciler.install(StructuredPresentationReconciler.java:600)
at org.eclipse.wst.sse.ui.internal.StructuredTextViewer.updateHighlighter(StructuredTextViewer.java:987)
at org.eclipse.wst.sse.ui.internal.StructuredTextViewer.setDocument(StructuredTextViewer.java:865)
at org.eclipse.jface.text.source.SourceViewer.setDocument(SourceViewer.java:613)
at org.eclipse.ui.texteditor.AbstractTextEditor.initializeSourceViewer(AbstractTextEditor.java:3970)
at org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:3440)
at org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:64)
at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:451)
at org.eclipse.wst.sse.ui.StructuredTextEditor.createPartControl(StructuredTextEditor.java:1566)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:156)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor.createPartControl(CompatibilityEditor.java:102)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:367)
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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:1001)
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:966)

!ENTRY org.eclipse.e4.ui.workbench 4 0 2020-03-10 18:07:40.304
!MESSAGE
!STACK 0
java.lang.NullPointerException
at org.eclipse.jface.resource.JFaceResources.getResources(JFaceResources.java:212)
at org.eclipse.jface.resource.JFaceResources.getResources(JFaceResources.java:230)
at org.eclipse.ui.part.WorkbenchPart.dispose(WorkbenchPart.java:103)
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart.dispose(PackageExplorerPart.java:481)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.invalidate(CompatibilityPart.java:264)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.destroy(CompatibilityPart.java:424)
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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:1001)
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:966)
at org.eclipse.e4.core.internal.di.InjectorImpl.disposed(InjectorImpl.java:462)
at org.eclipse.e4.core.internal.di.Requestor.disposed(Requestor.java:159)
at org.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjectionListener.update(ContextObjectSupplier.java:81)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:114)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.handleInvalid(TrackableComputationExt.java:77)
at org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:187)
at org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:172)
at org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:172)
at org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:172)
at org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:172)
at org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.dispose(EclipseContextOSGi.java:102)
at org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.bundleChanged(EclipseContextOSGi.java:144)
at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:911)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:233)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:233)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:140)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:132)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:194)
at org.eclipse.osgi.container.Module.publishEvent(Module.java:483)
at org.eclipse.osgi.container.Module.doStop(Module.java:641)
at org.eclipse.osgi.container.Module.stop(Module.java:505)
at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:207)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:213)
at java.lang.Thread.run(Unknown Source)
Re: Eclipse wouldn't start [message #1822616 is a reply to message #1822565] Tue, 10 March 2020 14:00 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3912
Registered: July 2009
Senior Member

You seem to have left open an editor and running out of memory on startup. How much physical memory is there on the system, and what's the maximum set for Eclipse to use when you start it?

Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Eclipse wouldn't start [message #1822642 is a reply to message #1822616] Tue, 10 March 2020 16:59 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 31640
Registered: July 2009
Senior Member
If there isn't already a line like -Xmx2048 in the eclipse.ini add one or make the value bigger on the line that's there.

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Eclipse wouldn't start [message #1822644 is a reply to message #1822642] Tue, 10 March 2020 17:07 Go to previous messageGo to next message
Adam Huang is currently offline Adam HuangFriend
Messages: 2
Registered: March 2020
Junior Member
Nitin Dahyabhai wrote on Tue, 10 March 2020 14:00
You seem to have left open an editor and running out of memory on startup. How much physical memory is there on the system, and what's the maximum set for Eclipse to use when you start it?


Hi, Nitin
Thanks for the reply, problem is solved after setting the memory to 2048mb


Ed Merks wrote on Tue, 10 March 2020 16:59
If there isn't already a line like -Xmx2048 in the eclipse.ini add one or make the value bigger on the line that's there.


Thank you Ed, your method works, now I can start Eclipse again :D

[Updated on: Tue, 10 March 2020 17:12]

Report message to a moderator

Re: Eclipse wouldn't start [message #1822648 is a reply to message #1822644] Tue, 10 March 2020 18:12 Go to previous messageGo to next message
Tauno Voipio is currently offline Tauno VoipioFriend
Messages: 609
Registered: August 2014
Senior Member
Is the OP attempting to run a recent plug-in in a 32 bit system?

--

Tauno Voipio
Re: Eclipse wouldn't start [message #1822654 is a reply to message #1822648] Tue, 10 March 2020 20:29 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 31640
Registered: July 2009
Senior Member
No, given we see this in the log:

!MESSAGE Application error
!STACK 1
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Unknown Source)

I would say it runs, but it runs out of space.


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Arduino with Python test script
Next Topic:Tabs in files
Goto Forum:
  


Current Time: Sat Dec 05 09:39:49 GMT 2020

Powered by FUDForum. Page generated in 0.03241 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top