January 15, 201610 yr I compiled a plugin for both Win and Mac using the latest version of the ScriptMaster plugin (4.42). The plugin generates barcodes using the barcode4j library (jar file). On Windows, the 32-bit and 64-bits versions work fine. In Scriptmaster, on Mac, I can run scripts using the code, and register the function. The functions work perfectly. On Mac OS X 10.10 and 10.11 in FileMaker Pro Advanced 14 the compiled plugin works only every 2nd time when I uncheck and check the plugin again in FileMaker > Preferences... > Plugins, Enabled plug-ins. When the plugin does not work (ERROR is returned), if I check and uncheck in Preferences in FileMaker, I get the message "'?' failed to initialize". When the plugin does not work, the error returned by the 'LastError' function is this: java.lang.InternalError. Can't start the AWT because Java was started on the first thread." I have tested this on multiple machines , also machines that did not have the ScriptMaster plugin itself installed. I removed the Oracle version of Java and installed the Mac version as well. It looks like an issue with the plugin not managing threads correctly?! Edited January 15, 201610 yr by Jeroen Aarts
January 15, 201610 yr Jeroen, Do you have any other plugins installed (third party & other 360Works plugins)?
January 18, 201610 yr Author Caleb, Thanks for your reply. I had the ScriptMaster installed, but uninstalled it. The issue remains the same. I tried on several other Macs as well with the same result. Edited January 18, 201610 yr by Jeroen Aarts
January 19, 20169 yr Author I get this error message as well. Probably this is just a result of the other error.
Create an account or sign in to comment