Bug 651

Summary: Program crash on re-login after login failed
Product: CS3343 Group 26 Automated Timetable Planner Reporter: Vivian Cho <tycho5-c>
Component: LoginAssignee: Vivian Cho <tycho5-c>
Status: RESOLVED FIXED    
Severity: critical CC: laiyingng4-c
Priority: High    
Version: Alpha   
Hardware: PC   
OS: Windows   
Attachments: The program error message screen capture

Description Vivian Cho 2021-12-06 09:22:29 HKT
Created attachment 104 [details]
The program error message screen capture

Summary: 
My first login was failed because of typing wrong password so I try to login again. However, the problem crashed and display a bunch of error messages.

 
Steps to Reproduce: 
Step 1: Type "login" command
Step 2: Enter wrong AIMS username or password
Step 3: Press Enter key to login
Step 4: Re-enter the correct AIMS username and password
Step 5: Press Enter key to login

Actual Results: 
The login success message is show. However, the program throw FileNotFoundException and crashed.

Expected Results:
After enter the correct AIMS username and password, the system will start to grab data from AIMS and display progress bar.
Comment 1 Vivian Cho 2021-12-06 14:51:11 HKT
Sorry for letting you to encounter this problem. The problem is solved by add login refresh command to refresh the user.config which is created before. Please try the program again.
Comment 2 libbyng 2021-12-06 19:22:53 HKT
The problem has been fixed.