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: Thu Mar 22 19:56:23 GMT 2018

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

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