NullPointerException in ver 7.5.5 while editing test case script

Please let us know how would your work be affected if this issue has not

  1. It doesn’t affect much, but I believe Katalon team should have this ticket resolved

Operating System

  • Windows 10

Katalon Studio Version

7.5.5

Katalon Studio logs

katalonlog.zip (73.1 KB)

Screenshots / Videos

While I was just editing a test case script in the script mode, I sometimes encounter Null Pointer Exception as shown in the screenshot. It seems that NPE occures when I click the SAVE button to persist the changes into disk.

This phenomenon seems to be happening in the version 7.5.5. While I used versin 7.2.1, I did not see the NPE at all.

Here I attache the test case script I was editing just for information.
Script1593047147047.zip (2.7 KB)

1 Like

it happens because of unused imports,
try ctrl+shift+o
then save, you will not get this error.

Thank you for your suggestion.
I tried Ctrl+Shift+O and saved multiple times.
I got this error again and again.

I have a few more test case scripts, but I do not see the NPE for the other scripts.

The script I attached seems to be problematic, or Katalon Studio is slightly failing to perform AST transformation on it.