Bug 653

Summary: Null Pointer exception if delete Event method is called
Product: Group2 Reporter: Julian <jjporzelt2-c>
Component: Event SectionAssignee: Julian <jjporzelt2-c>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: ---    
Version: unspecified   
Hardware: PC   
OS: Windows   

Description Julian 2021-12-06 10:14:27 HKT
Calling the EventDelete method leads to a NullPointerException. The program terminates. 

Possible error source: Objects.requireNonNull(getEvent(id)).delete();
Event class -> delete method

How to create it:

Launching the CommandLine app and login. 
Create one Event and select the delete Event after in the terminal.
After entering the data to delete the created event it will through the the error  NullPointerException.

How to solve: Rewrite the delete method without .requireNull
Comment 1 Julian 2021-12-06 10:16:09 HKT
Done!