Bug 588 - GUI display error between two pages and exception error is shown
Summary: GUI display error between two pages and exception error is shown
Status: RESOLVED FIXED
Alias: None
Product: Group31Bullship
Classification: Unclassified
Component: User Interface (show other bugs)
Version: Demo 1.1
Hardware: PC Windows
: High critical
Assignee: Fiona Ling
URL:
Depends on:
Blocks:
 
Reported: 2021-11-20 22:07 HKT by Kannachan
Modified: 2021-11-20 22:17 HKT (History)
1 user (show)

See Also:


Attachments
Screenshot of the error shown in console (374.83 KB, image/jpeg)
2021-11-20 22:07 HKT, Kannachan
Details

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