[YANGTOOLS-395] YangToSourcesProcessor.addYangsToMetaInf passes null to Utils.listFiles Created: 21/Dec/14 Updated: 10/Apr/22 Resolved: 24/Dec/14 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Ed Warnicke | Assignee: | Unassigned |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 2532 |
| Description |
|
YangToSourcesProcessor.addYangsToMetaInf passes null to Utils.listFiles (even though it has a valid log object). This can lead to an NPE. |
| Comments |
| Comment by Robert Varga [ 24/Dec/14 ] |
|
Utils.listFiles() has an explicit null check, so the NPE cannot occur. |