If variable is not used later in the code probably it will be better just to call constructor? Without assigning the value to the variable...
2006/9/11, Dmitry Durnev <[EMAIL PROTECTED]>:
I've already found the cause of the problem. In short: creation of system EventQueue was commented out in Toolkit constructor because of "the local variable is never read" compiler warning :) Variable itself is indeed not used, but the constructor call has some important side effects... Will file a JIRA and offer a patch:) On 9/11/06, Dmitry Durnev <[EMAIL PROTECTED]> wrote: > Hi all! > > After checking out the latest classlib from SVN I get this NPE on any > AWT app start: > > java.lang.NullPointerException > at java.awt.ToolkitImpl.getSystemEventQueueImpl(ToolkitImpl.java:525) > at java.awt.EventDispatchThread.runModalLoop(EventDispatchThread.java:58) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:47) > > Tried both with DRLVM and IBM j9 on Windows. > Anybody has the same problem? > I'll try to investigate it, but maybe somebody has an idea of what's going on? > > > Dmitry A. Durnev, > Intel Middleware Products Division > -- Dmitry A. Durnev, Intel Middleware Products Division --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Alexey A. Petrenko Intel Middleware Products Division --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
