IncyBot / pe

0 stars 0 forks source link

Crash on Executing `delete` Command Without Arguments #3

Open IncyBot opened 5 months ago

IncyBot commented 5 months ago

Description: The ActiveEdge application crashes when the delete command is executed without any arguments.

Steps to Reproduce:

  1. Start the ActiveEdge application.
  2. Enter the delete command without any further arguments or parameters.
  3. The application crashes with a NullPointerException.

Expected Result: The application should handle the command, possibly by displaying an error message indicating that additional parameters are required for the delete command.

Actual Result:

delete
This is an invalid request. Please try again!
Exception in thread "main" java.lang.NullPointerException: Cannot invoke "String.trim()" because "this.description" is null
    at command.DeleteLogCommand.execute(DeleteLogCommand.java:73)
    at activeedge.ActiveEdge.run(ActiveEdge.java:27)
    at activeedge.ActiveEdge.main(ActiveEdge.java:39)
nus-se-bot commented 5 months ago

[IMPORTANT!: Please do not edit or reply to this comment using the GitHub UI. You can respond to it using CATcher during the next phase of the PE]

Team's Response

Bug is not related to quality of documentation.

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: [replace this with your reason]