argwallace Posted July 4, 2013 Posted July 4, 2013 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
argwallace Posted July 11, 2013 Author Posted July 11, 2013 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.
john renfrew Posted July 13, 2013 Posted July 13, 2013 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.
argwallace Posted July 20, 2013 Author Posted July 20, 2013 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.
Recommended Posts
This topic is 4156 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now