Sure ! With pleasure. So when i start my project in Katalon Studio 5.3.1 as usual then I saw update message and download KS 5.4. After with new Katalon Studio 5.4 I opened my project with File → Open Project menu and when project was loaded I tried to start my RESTful tests and saw java.NullPointerException in every test and was really disapointed about it.
And when I decided to check the objects of the repository, I was pleasantly surprised to see the new interface, for which you guys have a special thank you. After finding the query that I wanted, I checked all the settings and tried to test the request and got the same error that I posted above
Same problem with the “Unable to send request (Root cause: java.lang.NullPointerException)” but this time it in one line of code: “def respRecStart = WSBuiltInKeywords.sendRequest(reqRecStart)” I’m going insane cuz hole code is a “CopyPaste” from another TestCase and there it works perfectly (after resolving stupid problems from my post 6158 & post 6139). Developers of KS, please let it work somehow…
UPD: no such problems on 5.3.1(I wasted whole working day struggling with 5.4 & thought that I’m a fool ) - so wake me up when 5.4 will get update with all fixes! B)
NullPointerException is a RuntimeException . Runtime exceptions are critical and cannot be caught at compile time. They crash the program at run time if they are not handled properly. When a class is instantiated, its object is stored in computer memory. The NullPointerExceptions occur when you try to use a reference that points to no location in memory (null) as though it were referencing an object. These include:
Calling the instance method of a null object.
Accessing or modifying the field of a null object.