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.

Unable to instantiate compiled ScriptMaster function

Featured Replies

Hello everybody,

this topic is to open a discussion about an unexpected behaviour inside my plugin when I try to start a function.

 First of all, I have to tell that I installed this plugin in production 9 month ago on FileMaker Server (OSX Yosemite on a Mac Server) and it worked as good as well by invoking and using daily the function that starting from this morning doesn't work more.

Here below the chuck of log that I have found by watching the 360Plugins_ServerScripting64.log file:

10-nov-2015 13.02.23 com.prosc.fmkit.PluginBridge$4 run 
CONFIG: === Executing plugin function DBE_CreateBarCode on thread Thread-445 ===
10-nov-2015 13.02.23 com.prosc.fmkit.Plugin setLastError
GRAVE: PluginFunction com.prosc.beanshell.CompiledFunction@b92635f got an error with converted args []
java.lang.RuntimeException: Unable to instantiate compiled ScriptMaster function: DBE_CreateBarCode( pathname ; id )
        at com.prosc.beanshell.CompiledFunction.getGroovyFunction(CompiledFunction.java:99)
        at com.prosc.beanshell.CompiledFunction.convertParams(CompiledFunction.java:73)
        at com.prosc.fmkit.PluginBridge.doFunction(PluginBridge.java:1269)
Caused by: java.lang.OutOfMemoryError: PermGen space
10-nov-2015 13.02.23 com.prosc.beanshell.BeanShellPlugin setLastError
GRAVE: ScriptMaster bound variables: Parameters:

Have someone experimented something similar? Suggestions and ideas will be appreciated.

Regards,

Max

  • Author

A have news...

By following the log trace that talk about a possible cause in an OutOfMemoryError, I have just reboot my Mac Server and now all the functions inside the plugin work as good as always till now...

So, what does this mean? I think there could be a memory leak problem but where? Inside my functions or in ScriptMaster?

Let me know do you think

 

  • Author

Hello everybody,

it seems that nobody experimented this kind of problem... In any case and just to update this discussion, I verified that no memory leak problems can be found in the code that I wrote... These should mean that if some memory leak problem exists it should be inside the ScriptMaster environment...

If some ScriptMaster developer reads this discussion I hope will contact me in order to understand better what is happening...

Max

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.