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.

Featured Replies

  • Newbies

The following script seems to work fine in 'groovyConsole' (i.e. separate from FileMaker), but gives me an error when I'm in FileMaker with ScriptMaster. I'm wondering if there's a .jar I need to load or something.


def rooraa = ' "what up"rn"how, is it going?"rn"yay pop" '



def Listoo = []

rooraa.eachLine{

  Listoo << it

  }

Listoo

In FM I get the error:

groovy.lang.MissingMethodException: No signature of method: java.lang.String.eachLine() is applicable for argument types: (Script1$_run_closure1) values: {Script1$_run_closure1@4c55ff}

This snippet is part of something bigger I was doing, but I isolated the problem I was having for the sake of example here.

Thanks for any assistance.

Chris, check which version of Groovy is required for the eachLine method that takes a closure. We currently bundle 1.5 into ScriptMaster, but the latest version of Groovy at this time is 1.7. If the method you want was added after 1.5, that would cause this error.

A future release of ScriptMaster will include Groovy 1.7.

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.