Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3F282200C46 for ; Tue, 14 Mar 2017 10:09:49 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 3DE24160B7C; Tue, 14 Mar 2017 09:09:49 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 86963160B7E for ; Tue, 14 Mar 2017 10:09:48 +0100 (CET) Received: (qmail 52221 invoked by uid 500); 14 Mar 2017 09:09:47 -0000 Mailing-List: contact dev-help@apex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@apex.apache.org Delivered-To: mailing list dev@apex.apache.org Received: (qmail 52140 invoked by uid 99); 14 Mar 2017 09:09:46 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Mar 2017 09:09:46 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 2F4F51AFB07 for ; Tue, 14 Mar 2017 09:09:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.451 X-Spam-Level: * X-Spam-Status: No, score=1.451 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id nc-1t-81HVqr for ; Tue, 14 Mar 2017 09:09:45 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id DE5115F39E for ; Tue, 14 Mar 2017 09:09:44 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id ED677E0652 for ; Tue, 14 Mar 2017 09:09:41 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id A932B243AA for ; Tue, 14 Mar 2017 09:09:41 +0000 (UTC) Date: Tue, 14 Mar 2017 09:09:41 +0000 (UTC) From: "Vikram Patil (JIRA)" To: dev@apex.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (APEXCORE-593) apex cli get-app-package-info could not retrieve properties defined in properties.xml MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 14 Mar 2017 09:09:49 -0000 [ https://issues.apache.org/jira/browse/APEXCORE-593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15923840#comment-15923840 ] Vikram Patil commented on APEXCORE-593: --------------------------------------- Following steps are executed when get-app-package-info is called 1) DAG is generated using operators and augmenting it with Operators from Modules 2) While the module is flattened, populateDAG on the module is called and sometimes this custom made may expect libraries from properties.xml. But these properties were not set correctly during this operation. When any method is invoked on unavailable properties, NullPointerException is thrown leading setting DAG filed in output json to null and setting errorStackTrace with NullPointerException stack trace. 3) The fix was provided to ensure that properties are available when the module is flattened. This operation was happening at the time of launching an application so it doesn't cause much of a issue > apex cli get-app-package-info could not retrieve properties defined in properties.xml > ------------------------------------------------------------------------------------- > > Key: APEXCORE-593 > URL: https://issues.apache.org/jira/browse/APEXCORE-593 > Project: Apache Apex Core > Issue Type: Bug > Affects Versions: 3.5.0 > Reporter: Yogi Devendra > Priority: Minor > > If application defines properties in properties.xml; such properties should be available to populateDAG() method when invoked from processAppDirectory() in get-app-package-info. -- This message was sent by Atlassian JIRA (v6.3.15#6346)