Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

I'm trying to upload some files using a FileMaker script scheduled on the server. I'm getting an odd error though. Here are the details:

ERROR MESSAGE: Error uploading file. java.lang.IllegalStateException: SCPluginModel#setResource must be called from the EDT

DESTINATION PATH: attachments/000091

SOURCE_PATH: /tmp/mailmate_downloads/34/CIMG0257.JPG

FILE SIZE: 78606336

SystemVersion: 10.6.8 (OS X)

Java Version:

java version "1.6.0_15"

Java™ SE Runtime Environment (build 1.6.0_15-b03-219)

Java HotSpot™ 64-Bit Server VM (build 14.1-b02-90, mixed mode)

SuperContainer version 2.81

SuperContainer Companion Plugin version 2.81 (in .../Database Server/Extensions)

Files are loading just fine client-side (also using v2.81 of companion plugin). It's just server-side that's not working. I don't think it matters that FileMaker can't see that directory from a server-side script, because I'm pretty sure I've successfully loaded files from this directory before.

Does anyone have some advice?

Thanks in advance.

Donovan

Posted

It appears that the server plug-in was actually not running v 2.81. I may have looked directly into the plug-in package to check its version. Restarting the database server changed its behavior, so it looks like this may have been due to a discrepancy in versions.

Posted

Actually, I take that back. I just encountered the error again when attempting to upload files on a scheduled script. The changed behavior I referred to in my previous comment occurred when attempting to run the script via a daemon (but that's a separate issue).

Posted

360Works helped me through a different avenue, so here's the solution for the record. I had "showProgress=true" set, which obviously wouldn't work when being run server-side. I am told that the next update will handle this issue for the user.

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