Steve Ikeoka created an issue |
Issue Type: |
Bug |
---|---|
Affects Versions: |
2.7-beta |
Assignee: |
|
Attachments: |
WCS_GetCoverage_NPE.patch |
Components: |
WCS |
Created: |
21/Nov/14 4:15 PM |
Fix Versions: |
2.7-beta |
Priority: |
Minor |
Reporter: |
When a WCS 1.0.0 or 1.1.1 GetCoverage request is made for a coverage that does not exist, an NPE will be thrown and logged in CoverageCleanerCallback. The KVP parser will detect a missing coverage before executing the getCoverage code so this only affects XML requests. This can be fixed by adding a null check before calling CoverageCleanerCallback.addCoverages(). The WCS 2.0 code already performs the null check so it does not cause an NPE here. A patch is attached. Failed to fully dispose coverage: null: java.lang.NullPointerException |
This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c) |