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.

java.lang.illegalStateException: zip file closed

Featured Replies

  • Newbies

Hi

I have the same error: "java.lang.illegalStateException: zip file closed"

in certain environments, using ScriptMaster

Under Mac OS 10.4.11, Filemaker 10.0v3 runs fine with ScriptMaster

BUT

under OS 10.5.8, neither Filemaker 10.0v3 NOR 11.0.3 runs fine with ScriptMaster

without the error: "java.lang.illegalStateException: zip file closed"

- and yet Filemaker 8.5 runs it without the error

Could you advise?

Thank you!

:R)

Richard Philpott

Where are you getting this error? Can you post your plugin log?

FileMaker Client

OS X

/Users/userName/Library/Logs/360Plugin Logs/

/Users/userName/Library/Logs/360Plugin Logs/360Works FM WPE

/Users/userName/Library/Logs/360Plugin Logs/360Works FM Pro

Windows

DriveLetter:\Documents and Settings\<userName>\My Documents\360Plugin Logs\

DriveLetter:\Documents and Settings\All Users\Documents\360Works FM Pro

DriveLetter:\Documents and Settings\All Users\Documents\360Works FM WPE

Vista: DriveLetter:\Users\<userName>\Documents\360Plugin Logs\

What module is this happening for you on? Also, are you using the latest version of the plugin? 4.123

  • 2 weeks later...
  • Newbies

Hello,

same problem with me about "360Works ScriptMaster version 4.123"

same error: "java.lang.illegalStateException: zip file closed"

no error with a macBookPro OSX 10.6, FMP 8.5v2 or 9 or 11

error with MacBook, OSX 10.4.11, FMP 8.5v2, 360Works ScriptMaster version 4.123, java 1.5.0_19 (updated with release 10)

if somebody knows...

Many thanks

Frank

What is giving you these errors? Are you running a particular module?

See also my post

The issue is not with running modules but the minute you try to register one.

  • Newbies

What is giving you these errors? Are you running a particular module?

This i the 3rd solution to register a script from "360 works scriptMaster"...

I copy two functions from ScriptMaster : "choose folder" and "select file"

I paste it into may Filemaker solution startup script

When I start, here is the error (java.lang.illegal...zip file closed)

(see attachment "open.jpg" a view of my startup script)

the complete first one is :

RegisterGroovy( "SelectFile" ; "import java.awt.*;¶

import javax.swing.JOptionPane;¶

¶

String title = \"Example File Chooser\";¶

FileDialog dialog = new FileDialog(JOptionPane.getRootFrame(),title);¶

dialog.show();¶

if (dialog.getFile() != null) {¶

return dialog.getDirectory() + dialog.getFile();¶

} else {¶

return 0;¶

}" )

the second :

RegisterGroovy( "ChooseFolder( startingPath ; prompt )" ; "import javax.swing.JFileChooser;¶

¶

JFileChooser chooser = new JFileChooser();¶

chooser.setFileSelectionMode( JFileChooser.DIRECTORIES_ONLY );¶

//You can switch this to JFileChooser.FILES_ONLY or JFileChooser.FILES_AND_DIRECTORIES if you want the user to be able to pick files¶

¶

if( startingPath != null ) chooser.setCurrentDirectory( new File(startingPath) );¶

if( prompt != null ) chooser.setDialogTitle( prompt );¶

¶

if( chooser.showOpenDialog( null ) == JFileChooser.APPROVE_OPTION ) {¶

return chooser.getSelectedFile().getAbsolutePath();¶

} else return \"\";" )

open.jpg

Is there a possibility of taking this seriously please.

Not a single function is registering on startup making every file I use everyday suboptimal or just plain broken on this machine

Will gladly let you screen share.

John,

I assure you that I am taking this seriously. Nobody had posted where they were getting the error or what they were doing to get the error until franfleis, and his post was late friday, after I was gone for the weekend already. I'm back in the office now, and I have his post to look at for trying to reproduce this issue.

I've been able to reproduce this error while registering functions and am looking into what might be causing it.

Thanks David.

I did post http://fmforums.com/forum/topic/77444-latest-1058-update-breaks-sm4/

at 06:00 on Wednesday last (30th) as soon as I got the error...

We're working on a fix for this issue. In the mean time, you can roll back to http://com.prosc.store.downloads.s3.amazonaws.com/360Works%20ScriptMaster-4_121.zip if you need the functionality immediately.

This plugin version is from before the auto-update fix, so if you distribute it through auto-update you will need to manually remove it or use our plugin remover at http://360works.com/remove-plugins before it can be updated through auto-update again.

We've released an update to ScriptMaster which should resolve this issue. You can download the update from http://360works.com/scriptmaster/

  • Newbies

We've released an update to ScriptMaster which should resolve this issue. You can download the update from http://360works.com/scriptmaster/

thanks a lot ! I will try ASAP

Frank

  • 3 weeks later...
  • Newbies

Thank you for the update! It helped me with a similar problem. :)

  • Newbies

We've released an update to ScriptMaster which should resolve this issue. You can download the update from http://360works.com/scriptmaster/

Hi Smef,

it's perfect, on a Ibook with MAC OSX 10.4.11

thanks a lot !

Frank

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.