July 4, 201312 yr Hello, Â Since I installed version 4.2 of ScriptMaster, I have had an error pop up that didn't show up on previous versions. The error reads: Â java.lang.NullPointerException: Cannot invoke method length() on null object. Â Any thoughts? Â Thanks! Stephen
July 11, 201312 yr Author It seems I am getting these more detailed errors when I have not included a SetErrorCapture script step. Upon including this in the script, all of the errors are suppressed. I am unsure what was causing the errors since I am able to run the script and no errors are detected via the Pause on Error option.
July 13, 201312 yr The first post indicates an issue in your Groovy code. Suppressing the the error message is not the same as fixing the code. Moving to 4.2 now just highlights the error, which was probably there all the time. If you post the function then someone might be able to point you to where or how it might b causing the error.
July 20, 201312 yr Author Thanks John. I'll go back and see what I have for my code. What strikes me as weird is that all of the functions that I am calling with ScriptMaster are stock functions for this plugin. I have not modified any of the groovy on my own or added new functions.
Create an account or sign in to comment