Jump to content

Download problems on Windows clients


eswanborg
 Share

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

Recommended Posts

We've been running SuperContainer for many years now with few problems.  Recently we upgraded many users to v16 of FM Pro client.  We've been running SC Companion Plugin v4.32 successfully for the most part.  However, on our Windows clients only (Mac users are OK), if a user attempts to download more than one file FMP client immediately quits with no error reported - just closes immediately.  This is for two separate download attempts, first file downloads fine, second file causes the problem.  Using SCDownload function with showSaveDialog=1.  

I thought perhaps it was time to update Companion Plugin versions.  So I downloaded and tested 2.9510.  Now on both Mac and PC clients who have the latest plugin we get java error:  java.lang.illegalStateException: Not on FX application thread; currentThread = PluginBridge worker -1 thread-1

SC Server is running standalone mode.  It's up to v2.9510 now as well.  Same errors persist.  

Would love help deciphering these errors so we can begin to use the latest companion plugin and hopefully solve our download problems for Windows users.  The download problem seems to be specific to FMP Windows client v16 as users who had been in v14 for several months did not experience this problem.  The new java error affects all users with plugin v2.9510.

Link to comment
Share on other sites

After some additional digging I was able to find some error logs for the first error - the issue accessing SC documents and multiple calls to the plugin.  There is a Java Runtime Environment error that's generated when FMP client crashes.  The logs are named:  hs_err_pid####.log and one ended up on my desktop and the others were in C:\Temp

 

There is a line in the Dynamic Libraries listed that calls out the ScriptMaster plugin - so just for giggles I updated that to the very latest.  No change.

Link to comment
Share on other sites

Confirmed that the crash problem is specific to v16.  I just installed 14.0.6 on my Windows box and Supercontainer downloads again work as expected.

 

Also confirmed that on our machines we also still have the problem with plugin v2.9510 - same java error when attempting to use that plugin in v14.

Link to comment
Share on other sites

Just cause I can't give up on this... I was able to locate the 360Works logs for the plugins on my PC.  It's been updated to Java 8 161 just in case.  Now download attempts throw a Null Pointer Exception instead of immediately crashing FMP client.  

360Works?  Anyone?  We've had to reinstall client v14 for users because we can't find a solution that works in v16 nor with the latest plugins...

360Plugins_FMAdvanced.log

Link to comment
Share on other sites

Hi eswanborg,

   The logs attached show ScriptMaster 4.32 and SuperContainer 2.93 installed. New plugins will write to a similar named log file but Plugins is hyphenated like so: 360Plug-ins_FMAdvanced.log. What I see in this log is there is an issue spawning the progress bar. You can turn them off by passing in the parameter "progress=false" into the SCDownload function. If that doesn't change the behavior, please update your plugins to 2.9510 of the companion plugin and 5.09 of ScriptMaster, repeat the process passing in the "progress=false" into the SCDownload function. If that does not resolve the problem then I would like to see the plugin logs for the new versions (360Plug-ins_FMAdvanced.log). Make sure you send the logs before any restarts of FileMaker as restarting will overwrite the logs.

Link to comment
Share on other sites

Thanks for the reply Ryan.  Unfortunately, no success in either case - at least not totally.  

Applying the progress=false hasn't changed much.  I now get an error message - in the title bar of that window that says "Could not upload file" and message is "java.lang.NullPointerException" each time - even though the request was to download the file, not upload.  That log is attached and says _OrigPlugIns at the end.

Updated both plugins to the versions suggested.  I still get Java errors (progress=false is still set) and it fails to run at all.  That log says _NewPlugIns in file name.  

I set SuperContainer back to v4.32.  This time I'm able to download once successfully (same as before).  Now instead of crashing immediately on the second attempted download, I get the same NullPointerException error as above.

 

Thanks again

360Plug-ins_FMAdvanced_NewPlugIns.log

360Plugins_FMAdvanced_OrigPlugins.log

Edited by eswanborg
Link to comment
Share on other sites

  • 2 weeks later...

Just circling back one more time hoping someone might help...

I've now completely wiped my machine of all things Java and Filemaker and reinstalled from scratch.  Running JRE 8 u161, FMAdvanced 14.0.6 and FMAdvanced 16.0.4 - all on Win10.

Using 360Works Plugins:  Supercontainer 2.93 and ScriptMaster 4.42

FM v14 has no problems.  All SuperContainer functionality works as expected

FM v16 can download/upload a single file.  Successive attempts throw the java.lang.NullPointerException each time

Using 360Works Plugins: Supercontainer 2.9510 and ScriptMaster 5.09

Both versions fail to interact with Supercontainer documents at all.  They all throw error: Not on FX application thread; currentThread = PluginBridge worker -1 thread-1

 

We are supporting several databases for a large studio environment.  I'd really love to get this sorted out.  Anyone able to review?

 

Link to comment
Share on other sites

Apologies for not getting back to you sooner,  please try this version of SuperContainer Companion plugin, 2.941. It is the last version before we moved to our new framework.  Let me know if you see different results compared to 2.93.

 

As for 2.9510, can you send us your logs after reproducing the error? Send them to [email protected] with a description of the problem and link this forums thread.  This will create and official support case for you. See this page for log locations. Please be sure to reproduce the error and then send the logs before any restarts of FileMaker as restarting will overwrite the logs. 

 

For ScriptMaster 5.09, as you seeing this same "FX application thread" error when calling it's functions? What exactly are you seeing when trying to use it specifically?

Link to comment
Share on other sites

Will do - just ran tests with a whole bunch of combinations of the plugins. Unfortunately, not getting different results.  Will send logs from all tests.  The FX application thread error (based on the latest round of tests) appears to be thrown by the latest SuperContainer plugin - not ScriptMaster.  That only shows up with SC 2.9510.  Anyway - logs and notes will be sent to your support address.

Thanks

Link to comment
Share on other sites

Just wanted to update this thread. It seems the showSaveDialog parameter was the cause of the issue. We are currently making some changes in regards to GUI operations like these so that may fix the issue. In the meantime, anyone using this parameter and experiencing this issue will need to specify a destination folder to save the file. Otherwise, the file will get downloaded to a temporary path which you can see by setting the return of this function to a text field, custom dialog, etc. 

Link to comment
Share on other sites

  • 2 months later...

Any new developments with regard to this issue? I wasted a lot of time getting to the cause of this error before I searched this forum for ShowSaveDialog and stumbled on this thread.

Link to comment
Share on other sites

  • 5 months later...

Hi all - back to this topic as it's still a problem for us.  We abandoned the dialog box and just did a forced-save to the user's desktop with all files.  We're still stuck on Windows machines though - they can download the first file but any additional attempts to download other files throw Java errors immediately.  The only remedy is to quit FMP client and reopen.  I went through some of the other troubleshooting steps - installing 32-bit Java (already there), creating the local/360Works/Plug-ins/jre folder and unzipping the contents of the support files, etc.  Still no luck.

What other suggestions do you have for me to get Windows machines to download more than one file per session?

Thanks

360Plugins_FMPro.log

 

Edited by eswanborg
Screenshot didn't work
Link to comment
Share on other sites

Hi Eswanborg, the logs you attached are for ScriptMaster 4.32 but I believe this issue was in regards to the SuperContainer Companion plugin. If you are using 2.9510 then the file will have the same name but Plugins will be hyphenated like "Plug-ins"  . We will need to see those logs after you have reproduced the errors. Please go ahead and submit these logs and a description of your issue to our support system at [email protected]

Link to comment
Share on other sites

Nevermind - appreciate the help.  Discovered that some users still had a mix of plug-in versions installed.  This issue is RESOLVED with SuperContainer v2.9510.

Thanks so much!  Phew!

Link to comment
Share on other sites

This topic is 1352 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
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.