Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted (edited)

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?!

Screen Shot 2016-01-15 at 11.55.34.png

Edited by Jeroen Aarts
Posted (edited)

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 by Jeroen Aarts

This topic is 3300 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.