Bug 655 - Program quits unexpectedly after setting display color
Summary: Program quits unexpectedly after setting display color
Status: CONFIRMED
Alias: None
Product: Group2
Classification: Unclassified
Component: Login Section (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- critical
Assignee: Julian
URL:
Depends on:
Blocks:
 
Reported: 2021-12-06 13:04 HKT by manlungng5-c
Modified: 2021-12-06 13:04 HKT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.