You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Eduard de Jong (Jira)" <ji...@apache.org> on 2019/10/06 12:32:00 UTC
[jira] [Created] (NETBEANS-3206) In a NB module suite project
parsing an illformed project.xml file raises a NPE
Eduard de Jong created NETBEANS-3206:
----------------------------------------
Summary: In a NB module suite project parsing an illformed project.xml file raises a NPE
Key: NETBEANS-3206
URL: https://issues.apache.org/jira/browse/NETBEANS-3206
Project: NetBeans
Issue Type: Bug
Reporter: Eduard de Jong
In a NB module suite project parsing an illformed project.xml file raises a NPE instead of giving a more useful log message. The NPE is thrown when the xml file doesn't have a 'code-name-base' element in the file "apisupport.ant/src/org/netbeans/modules/apisupport/project/universe/ModuleList.java" Other parsing errors in that file give rise to a log warning reporting a "mal formed" file.
The NPE arrises from an inconsistency in the XML parsing API in org.openide.xml.XMLUtil in the handling of a missing element and missing text in an element.
A code patch for this bug will be offered in a PR following this report.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists