[
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)