Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Null pointer closing a dialog when pressing keys
Null pointer closing a dialog when pressing keys [message #448050] Wed, 29 December 2004 11:26 Go to next message
Juan is currently offline JuanFriend
Messages: 12
Registered: July 2009
Junior Member
Hi,

I'm using Eclipse 3.1 M3. I open a dialog, and then, while presing
several keys, I close it (using window widget), I get the following
exception:

java.lang.NullPointerException
at org.eclipse.swt.custom.CLabel.findMnemonic(CLabel.java:194)
at org.eclipse.swt.custom.CLabel.onMnemonic(CLabel.java:334)
at org.eclipse.swt.custom.CLabel$3.keyTraversed(CLabel.java:126 )
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:221)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:800)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:824)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:809)
at org.eclipse.swt.widgets.Control.traverse(Control.java:2740)
at org.eclipse.swt.widgets.Control.translateMnemonic(Control.ja va:2581)
at org.eclipse.swt.widgets.Composite.translateMnemonic(Composit e.java:544)
at org.eclipse.swt.widgets.Composite.translateMnemonic(Composit e.java:549)
at org.eclipse.swt.widgets.Composite.translateMnemonic(Composit e.java:549)
at org.eclipse.swt.widgets.Composite.translateMnemonic(Composit e.java:549)
at org.eclipse.swt.widgets.Composite.translateMnemonic(Composit e.java:549)
at org.eclipse.swt.widgets.Composite.translateMnemonic(Composit e.java:549)
at org.eclipse.swt.widgets.Composite.translateMnemonic(Composit e.java:549)
at org.eclipse.swt.widgets.Control.translateMnemonic(Control.ja va:2599)
at org.eclipse.swt.widgets.Display.translateMnemonic(Display.ja va:3214)
at org.eclipse.swt.widgets.Display.filterMessage(Display.java:7 62)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2444)

Have you faced this problem before ? Any comment would be really welcome.

Regards,
Re: Null pointer closing a dialog when pressing keys [message #448117 is a reply to message #448050] Mon, 03 January 2005 15:34 Go to previous messageGo to next message
Juan is currently offline JuanFriend
Messages: 12
Registered: July 2009
Junior Member
An autoreply: downgrading back to 3.0.1 solves the problem, so I'll stick to
it until a new stable version is released.

Regards,

- Juan

"Juan" <juan00045@hotmail.com> escribi
Re: Null pointer closing a dialog when pressing keys [message #448755 is a reply to message #448117] Thu, 13 January 2005 19:43 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
Hi Juan,

This is fixed in the 3.1 stream (see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=77948 ), so it should be safe
for you to get a recent integration build if you want to keep up with the
current stream.

Grant

"Juan" <juan00045@hotmail.com> wrote in message
news:crbof9$snm$1@www.eclipse.org...
> An autoreply: downgrading back to 3.0.1 solves the problem, so I'll stick
to
> it until a new stable version is released.
>
> Regards,
>
> - Juan
>
> "Juan" <juan00045@hotmail.com> escribi
Previous Topic:Table Widget
Next Topic:Tooltip for propertySheet entries
Goto Forum:
  


Current Time: Thu Nov 21 14:04:43 GMT 2019

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

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

Back to the top