Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 36987 invoked from network); 5 Oct 2006 12:01:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Oct 2006 12:01:20 -0000 Received: (qmail 16763 invoked by uid 500); 5 Oct 2006 12:01:19 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 16651 invoked by uid 500); 5 Oct 2006 12:01:18 -0000 Mailing-List: contact harmony-commits-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-commits@incubator.apache.org Received: (qmail 16582 invoked by uid 99); 5 Oct 2006 12:01:18 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Oct 2006 05:01:18 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.237.227.198] ([209.237.227.198:57929] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id C9/04-20288-1F3F4254 for ; Thu, 05 Oct 2006 05:00:58 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 901F27142D7 for ; Thu, 5 Oct 2006 05:00:19 -0700 (PDT) Message-ID: <33117265.1160049619587.JavaMail.root@brutus> Date: Thu, 5 Oct 2006 05:00:19 -0700 (PDT) From: "Oleg Khaschansky (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Created: (HARMONY-1723) [classlib][swing/beans] TransferHandlerTest failure. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [classlib][swing/beans] TransferHandlerTest failure. ---------------------------------------------------- Key: HARMONY-1723 URL: http://issues.apache.org/jira/browse/HARMONY-1723 Project: Harmony Issue Type: Bug Components: Classlib Reporter: Oleg Khaschansky Unit test TransferHandlerTest.testCreateTransferable fails. Evaluation: The reason is an IntrospectionException while executing getPropertyDescriptor method from the TransferHandler class: It tries to get the PropertyDescriptor for the class JButton and property name "insets", but fails because there's no setInsets method. So, flavors array stays uninitialized and getTransferDataFlavors method returns null which is a cause of a NPE. The fix for this issue includes also a fix for the difference of PropertyDescriptor behavior from RI. Consider the following code: new PropertyDescriptor(propertyName, c.getClass(), "1", null); This code will always throw IntrospectionException on Harmony, but will return the valid property descriptor with the getter method on RI. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira