Return-Path: X-Original-To: apmail-flex-issues-archive@minotaur.apache.org Delivered-To: apmail-flex-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D0CFB10F39 for ; Thu, 12 Sep 2013 01:55:51 +0000 (UTC) Received: (qmail 82585 invoked by uid 500); 12 Sep 2013 01:55:51 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 82563 invoked by uid 500); 12 Sep 2013 01:55:51 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 82555 invoked by uid 99); 12 Sep 2013 01:55:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Sep 2013 01:55:51 +0000 Date: Thu, 12 Sep 2013 01:55:51 +0000 (UTC) From: "Justin Mclean (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLEX-33722) Dragging a row with an itemRenderer which extends DefaultGridItemRenderer causes null pointer in mx.utils::MatrixUtil$/isDeltaIdentity() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLEX-33722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13765079#comment-13765079 ] Justin Mclean commented on FLEX-33722: -------------------------------------- The sample app compiled with the develop branch both with and without dropEnabled=true gives no RTEs. How do you reproduce the getLayoutMatrix issue? > Dragging a row with an itemRenderer which extends DefaultGridItemRenderer causes null pointer in mx.utils::MatrixUtil$/isDeltaIdentity() > ---------------------------------------------------------------------------------------------------------------------------------------- > > Key: FLEX-33722 > URL: https://issues.apache.org/jira/browse/FLEX-33722 > Project: Apache Flex > Issue Type: Bug > Components: Drag and Drop, Spark: DataGrid > Affects Versions: Apache Flex 4.10.0 > Reporter: Marcus Wilkinson > Assignee: Justin Mclean > Labels: datagrid, drag, itemrenderer, nullpointerexception > Fix For: Apache Flex 4.11.0 > > Attachments: FLEX-33722.mxml > > > See attached for an example. I think this is down to two things: > https://github.com/apache/flex-sdk/blob/develop/frameworks/projects/spark/src/spark/components/gridClasses/DataGridDragProxy.as > element.getLayoutMatrix() is returning null. Doing a check for a null matrix, and returning an identity matrix seems to help > https://github.com/apache/flex-sdk/blob/develop/frameworks/projects/spark/src/spark/components/gridClasses/DataGridDragProxy.as#L201 > I think this should be inside the loop, (at line 198) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira