Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Error with Scriptmaster 4.2?

Featured Replies

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.

what's the script?

  • 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.

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.

  • 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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.