[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: PNG File Bildschirmfoto 2017-04-03 um 14.04.32.png     Text File log-message-bundle-test.txt     Text File log-message-client-system.txt    
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.

Generated at Mon Feb 12 06:01:27 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.