Bug 655

Summary: Program quits unexpectedly after setting display color
Product: Group2 Reporter: manlungng5-c
Component: Login SectionAssignee: Julian <jjporzelt2-c>
Status: CONFIRMED ---    
Severity: critical    
Priority: ---    
Version: unspecified   
Hardware: PC   
OS: Windows   

Description manlungng5-c 2021-12-06 13:04:35 HKT
Symptom:
As soon as I enter the user credentials or create a new profile, the program crashes, with the error message: 

Exception in thread "main" java.lang.ExceptionInInitializerError
  at src.mettingscheduler.App.main(App.java:53)
Caused by: java.lang.NullPointerException
  at src.meetingscheduler.TextColor.values(TextColor.java:1)
...

Nonetheless, the program successfully continue to the function selection screen and continues to function, albeit without actually applying the color settings that I chose.


Expected behavior:
The program should enter the function selection, and display all following messages using the color profile chosen by the user. No error messages should be shown.


Steps to reproduce:
1. Start the program
2. Create a new user or enter an existing profile
3. If chose to create new user, go through all the settings, including username, password, color, time format
4. The error message would be shown.