Jump to content

Error with Scriptmaster 4.2?


This topic is 3955 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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

post-104988-0-55846900-1372936287_thumb.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This topic is 3955 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.