Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » JFace Dialog ExceptionInInitializerError
JFace Dialog ExceptionInInitializerError [message #465938] Fri, 23 December 2005 15:32
Eclipse UserFriend
Originally posted by:

I'm running standalone application in eclipse v3.1.

--- a single class that extends a JFace Dialog.

i'm getting the following exception:

Caused by: java.lang.NullPointerException
at org.eclipse.jface.dialogs.Dialog.<clinit>(
Exception in thread "main"

the problem seems to be that when calling:
new ImageRegistry(getResources(Display.getCurrent()));

Display.getCurrent() returns null value.

why isn't there a current display set, and how can i fix this ?

Previous Topic:Modeless shell problem on linux
Next Topic:JFace dialog without Ok/Cancel buttons
Goto Forum:

Current Time: Wed Aug 21 09:02:35 GMT 2019

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

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

Back to the top