[LOGTOOLS-23] Log Tools list subapp fails if there are are no log files in the list Created: 03/Apr/17 Updated: 22/Mar/18 |
|
| Status: | Open |
| Project: | Magnolia Log Tools |
| Component/s: | None |
| Affects Version/s: | 1.0.3 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Lars Fischer | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | log, quickwin | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
| Description |
|
If you delete all the log files in the directory where the logs are stored then the list subapp fails with a null pointer exception. It's very likely the list used to display the log files in the view is not checked for null. Besides having no log files it can also happen that rights are not set sufficient on the server so the list is also empty (null). |
| Comments |
| Comment by Lars Fischer [ 03/Apr/17 ] |
|
Turns out it was not permissions but the property for the log directory was wrong. The main problem is that if you look at the error provided by the client server (see attachment), then the error is not so obvious. |