[OPENIDM-9568] NullPointerException when checking for updates in read-only file system Created: 26/Oct/17  Updated: 22/Apr/18  Resolved: 22/Apr/18

Status: Closed
Project: OpenIDM
Component/s: _Update
Affects Version/s: OpenIDM 5.0.0, OpenIDM 5.5.0
Fix Version/s: OpenIDM 6.0.0

Type: Bug Priority: Trivial
Reporter: Matthias Grabiak Assignee: Travis Haagen
Resolution: Fixed Votes: 0
Labels: CLARK, release-notes
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Target Version/s:
Verified Version/s:
Sprint: OpenIDM Sprint 87
Support Ticket IDs:

 Description   

An exception happens in an installation with read-only files and directories if the directory bin/update does not exist, and a REST call is performed to http://localhost:8080/openidm/maintenance/update?_action=available, which occurs when checking for updates in the UI on the Configure System Preferences page / Update tab. While the exception is completely harmless it is good to avoid it.

curl \
 --header "X-OpenIDM-Username: openidm-admin" \
 --header "X-OpenIDM-Password: openidm-admin" \
 --header "Content-Type: application/json" \
 --request POST \
 "http://localhost:8080/openidm/maintenance/update?_action=available"
 


 Comments   
Comment by Laurent Bristiel [X] (Inactive) [ 08/Jan/18 ]

checked OK with OpenIDM version "6.0.0-SNAPSHOT" (revision: bac2833)
When there is no "update" folder, we don't get exception or error.

Comment by Lana Frost [ 22/Apr/18 ]

Add to Release Notes

Generated at Sun Sep 27 23:31:16 UTC 2020 using Jira 7.13.12#713012-sha1:6e07c38070d5191bbf7353952ed38f111754533a.