Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » org.eclipse.ui
org.eclipse.ui [message #1823858] Fri, 03 April 2020 07:19 Go to next message
Akila Loganathan is currently offline Akila LoganathanFriend
Messages: 1
Registered: April 2020
Junior Member
I am facing java.lang.nullpointerException error while trying to create a project after launching a new instance of eclipse from within eclipse.



java.lang.NullPointerException
at org.eclipse.swt.widgets.Control.internal_new_GC(Control.java:2178)
at org.eclipse.swt.graphics.GC.<init>(GC.java:174)
at org.eclipse.swt.graphics.GC.<init>(GC.java:135)
at org.eclipse.swt.custom.CLabel.getTotalSize(CLabel.java:271)
at org.eclipse.swt.custom.CLabel.computeSize(CLabel.java:145)
at org.eclipse.jface.action.StatusLine$StatusLineLayout.computeSize(StatusLine.java:153)
at org.eclipse.swt.widgets.Composite.computeSize(Composite.java:226)
at org.eclipse.swt.widgets.Control.computeSize(Control.java:900)
at org.eclipse.e4.ui.workbench.renderers.swt.TrimBarLayout.computeSize(TrimBarLayout.java:176)
at org.eclipse.e4.ui.workbench.renderers.swt.TrimBarLayout.access$0(TrimBarLayout.java:175)
at org.eclipse.e4.ui.workbench.renderers.swt.TrimBarLayout$TrimLine.addControl(TrimBarLayout.java:49)
at org.eclipse.e4.ui.workbench.renderers.swt.TrimBarLayout.computeSize(TrimBarLayout.java:138)
at org.eclipse.swt.widgets.Composite.computeSize(Composite.java:226)
at org.eclipse.e4.ui.workbench.renderers.swt.TrimmedPartLayout.layout(TrimmedPartLayout.java:131)
at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1264)
at org.eclipse.swt.widgets.Composite.setLayoutDeferred(Composite.java:1140)
at org.eclipse.swt.widgets.Display.runDeferredLayouts(Display.java:4115)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3699)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1170)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1059)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:667)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:597)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
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:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:656)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:592)
at org.eclipse.equinox.launcher.Main.run(Main.java:1498)
at org.eclipse.equinox.launcher.Main.main(Main.java:1471)
Re: org.eclipse.ui [message #1823895 is a reply to message #1823858] Fri, 03 April 2020 14:07 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3796
Registered: July 2009
Senior Member

It looks like you are far past the "newcomer" area of issues. You might try asking in the PDE forum, since you're in a runtime workbench launch: https://www.eclipse.org/forums/index.php/f/14/

Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:ECLIPSE LOG ERROR
Next Topic:Properties window on high dpi desktop
Goto Forum:
  


Current Time: Thu Aug 13 18:21:35 GMT 2020

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

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

Back to the top