Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 95763 invoked from network); 11 Sep 2006 13:17:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Sep 2006 13:17:31 -0000 Received: (qmail 52122 invoked by uid 500); 11 Sep 2006 13:17:26 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 52079 invoked by uid 500); 11 Sep 2006 13:17:26 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 52040 invoked by uid 99); 11 Sep 2006 13:17:26 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Sep 2006 06:17:26 -0700 X-ASF-Spam-Status: No, hits=2.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of alexey.a.petrenko@gmail.com designates 66.249.82.228 as permitted sender) Received: from [66.249.82.228] (HELO wx-out-0506.google.com) (66.249.82.228) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Sep 2006 06:17:25 -0700 Received: by wx-out-0506.google.com with SMTP id s13so1587896wxc for ; Mon, 11 Sep 2006 06:17:05 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tf4KWVYk66dIojZKoHsztJI4wQbjZEDiKXPzSJlNjRqfl8/Ed0NUgnWOAZh977n3fZ5as0cmJEwt5LDh4C4rEkzGTWCcq+oVT1j16ipGk00kwrn2kaxko+4NMQwECJcEe/j0qMczV+JegDEAT5DZ7+qjrR0lR8xFw2AgwChZ+2s= Received: by 10.70.96.3 with SMTP id t3mr6176434wxb; Mon, 11 Sep 2006 06:17:04 -0700 (PDT) Received: by 10.70.36.14 with HTTP; Mon, 11 Sep 2006 06:17:04 -0700 (PDT) Message-ID: Date: Mon, 11 Sep 2006 17:17:04 +0400 From: "Alexey Petrenko" To: harmony-dev@incubator.apache.org Subject: Re: [classlib][awt] Can't start any AWT app after recent(9/9/06-11/9/06) changes in java.awt In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 : > 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 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: harmony-dev-unsubscribe@incubator.apache.org > For additional commands, e-mail: harmony-dev-help@incubator.apache.org > > -- Alexey A. Petrenko Intel Middleware Products Division --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org For additional commands, e-mail: harmony-dev-help@incubator.apache.org