Bug 588

Summary: GUI display error between two pages and exception error is shown
Product: Group31Bullship Reporter: Kannachan <bullshipkanna>
Component: User InterfaceAssignee: Fiona Ling <tkling8-c>
Status: RESOLVED FIXED    
Severity: critical CC: bullshipkobayashi
Priority: High    
Version: Demo 1.1   
Hardware: PC   
OS: Windows   
Attachments: Screenshot of the error shown in console

Description Kannachan 2021-11-20 22:07:29 HKT
Created attachment 92 [details]
Screenshot of the error shown in console

Problem description: 
It does not jump to the manager function page after clicking on the button on the main page and an exception error is shown.

Step to reproduce: 
1. Run Main.java.
2. Click on the button "Continue as Delivery Manager"

Actual result: 
The size of the window extends but the content does not change. At the same time, the console shows an exception error.

Expected result: 
After clicking the button "Continue as Delivery Manager", the window should show the page of manager function.
Comment 1 Kannachan 2021-11-20 22:17:13 HKT
We receive your question and we fixed the problem. The error occurs due to the RenderMainPage class in MainPage.java is missing a line of code to get the panel before it is added. After fixing the bug, you should now be able to jump to the manager function page from the main page which shows the map and delivery details form.