Krioni Posted March 24, 2010 Posted March 24, 2010 I have a machine running Windows XP SP3. ScriptMaster 3.1 works without a problem on it. However, when it let it auto-update to ScriptMaster 3.33, the plugin is downloaded into the correct folder, but appears to be failing. Restarting FileMaker doesn't help. When I go to the plugin preferences in FileMaker and click on it, no version displays. When I then quit FileMaker and check the 360works log file, it has many errors. The log is included below. Checking the value of SMVersion returns "?" even though the plugin is in the correct folder (was put there by 360works AutoUpdate file) and the plugin is listed (and checked on) in FileMaker's Preferences -> Plugins. Checking the Java version returns: 1.6.0_15 Reverting manually to an older version of the plugin works without problem. Here's the log file entries: (C++ Wed Mar 24 00:05:07 2010) *** INIT for 360Works ScriptMaster_FMPro at Wed Mar 24 00:05:07 2010, headless mode 0 (C++ Wed Mar 24 00:05:07 2010) Found JVM dll at C:Program FilesJavajre6binclientjvm.dll (C++ Wed Mar 24 00:05:07 2010) No existing JVM found; creating one. (C++ Wed Mar 24 00:05:07 2010) 0: vfprintf (C++ Wed Mar 24 00:05:07 2010) 1: -Xbootclasspath/a:C:Program FilesJavajre6libdeploy.jar;C:Program FilesJavajre6libplugin.jar;C:Program FilesJavajre6libjavaws.jar (C++ Wed Mar 24 00:05:07 2010) 2: -Djava.ext.dirs=C:Program FilesJavajre6libext;C:Program FilesJavajre6lib;C:Program FilesJavajre6libdeploy;C:WINDOWSSunJavalibext; (C++ Wed Mar 24 00:05:07 2010) 3: -Xmx96m (C++ Wed Mar 24 00:05:07 2010) JVM started successfully - jvm references is 1839484776 (C++ Wed Mar 24 00:05:07 2010) writeAttachedJarFile() writing jar C:DOCUME~1JeffLOCALS~1Temp360Works_ScriptMaster.jar Mar 24, 2010 12:05:07 AM com.prosc.fmkit.PluginBridge initLogging CONFIG: Will write normal log file to C:Documents and SettingsJeffMy Documents360Plugin Logs360Works ScriptMaster_FMPro.log Mar 24, 2010 12:05:07 AM com.prosc.fmkit.PluginBridge initWindows CONFIG: Loading dynamic library at C:Documents and SettingsJeffLocal SettingsApplication DataFileMakerExtensions360Works_ScriptMaster.fmx Mar 24, 2010 12:05:07 AM com.prosc.fmkit.PluginBridge initWindows CONFIG: Loading plugin jar at C:Documents and SettingsJeffLocal SettingsTemp360Works_ScriptMaster.jar Mar 24, 2010 12:05:07 AM com.prosc.fmkit.PluginBridge getPluginClassNameForPluginJar CONFIG: Loading Plugin class named com.prosc.beanshell.BeanShellPlugin Mar 24, 2010 12:05:07 AM com.prosc.fmkit.PluginBridge INFO: 360Works custom SecurityManager has been installed Mar 24, 2010 12:05:08 AM com.prosc.beanshell.BeanShellPlugin customizeFunction INFO: Function PluginFunction{name='EvaluateGroovy', functionID=28121, minArgs=null, maxArgs=1} runs in swing Mar 24, 2010 12:05:08 AM com.prosc.fmkit.PluginBridge fmxInit INFO: Creating shared PluginBridge instance / plugin bridge version 1.61 bundlePath: C:Documents and SettingsJeffLocal SettingsApplication DataFileMakerExtensions360Works_ScriptMaster.fmx;C:Documents and SettingsJeffLocal SettingsTemp360Works_ScriptMaster.jar jvm version: 14.1-b02 from C:Program FilesJavajre6 Operating system info: Windows XP 5.1 running on x86 architecture Mar 24, 2010 12:05:08 AM com.prosc.fmkit.PluginBridge fmxInit CONFIG: Initialize 360Works ScriptMaster Mar 24, 2010 12:05:08 AM com.prosc.fmkit.Plugin init CONFIG: Created new plugin instance: com.prosc.beanshell.BeanShellPlugin named 360Works ScriptMaster; version: 3.33 Mar 24, 2010 12:05:08 AM com.prosc.fmkit.PluginBridge fmxInit CONFIG: Return VERSION_CURRENT: 51 Mar 24, 2010 12:05:16 AM com.prosc.fmkit.PluginBridge doFunction INFO: === doFunction SMVersion called on thread: main=== Mar 24, 2010 12:05:16 AM com.prosc.fmkit.PluginBridge doFunction SEVERE: Throwable: java.lang.NoClassDefFoundError: com/prosc/fmkit/PluginBridge$3 java.lang.NoClassDefFoundError: com/prosc/fmkit/PluginBridge$3 at com.prosc.fmkit.PluginBridge.doFunction(PluginBridge.java:906) Caused by: java.lang.ClassNotFoundException: com.prosc.fmkit.PluginBridge$3 at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) ... 1 more (C++ Wed Mar 24 00:05:34 2010) *** SHUTDOWN 360Works ScriptMaster_FMPro *** Mar 24, 2010 12:05:34 AM com.prosc.fmkit.PluginBridge fmxShutdown INFO: Shutting down - Active threads: [Thread[main,5,main], Thread[AWT-Windows,6,main]] Mar 24, 2010 12:05:34 AM com.prosc.fmkit.PluginBridge fmxShutdown CONFIG: Shutting down PluginBridge (C++ Wed Mar 24 00:05:34 2010) Shutdown complete (C++ Wed Mar 24 00:05:34 2010) *** INIT for 360Works ScriptMaster_FMPro at Wed Mar 24 00:05:34 2010, headless mode 0 (C++ Wed Mar 24 00:05:34 2010) Found JVM dll at C:Program FilesJavajre6binclientjvm.dll Mar 24, 2010 12:05:34 AM com.prosc.fmkit.PluginBridge fmxInit INFO: Creating shared PluginBridge instance / plugin bridge version 1.61 bundlePath: C:Documents and SettingsJeffLocal SettingsApplication DataFileMakerExtensions360Works_ScriptMaster.fmx;C:Documents and SettingsJeffLocal SettingsTemp360Works_ScriptMaster.jar jvm version: 14.1-b02 from C:Program FilesJavajre6 Operating system info: Windows XP 5.1 running on x86 architecture Mar 24, 2010 12:05:34 AM com.prosc.fmkit.PluginBridge fmxInit CONFIG: Initialize 360Works ScriptMaster Mar 24, 2010 12:05:34 AM com.prosc.fmkit.Plugin init CONFIG: Created new plugin instance: com.prosc.beanshell.BeanShellPlugin named 360Works ScriptMaster; version: 3.33 Mar 24, 2010 12:05:34 AM com.prosc.fmkit.PluginBridge fmxInit CONFIG: Return VERSION_CURRENT: 51 (C++ Wed Mar 24 00:09:34 2010) *** DO PREFS *** Mar 24, 2010 12:09:34 AM com.prosc.fmkit.PluginBridge fmxDoAppPreferences SEVERE: Unexpected exception while displaying preferences java.lang.NoClassDefFoundError: com/prosc/fmkit/PluginBridge$2 at com.prosc.fmkit.PluginBridge.fmxDoAppPreferences(PluginBridge.java:842) Caused by: java.lang.ClassNotFoundException: com.prosc.fmkit.PluginBridge$2 at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) ... 1 more (C++ Wed Mar 24 00:09:38 2010) *** DO PREFS *** Mar 24, 2010 12:09:38 AM com.prosc.fmkit.PluginBridge fmxDoAppPreferences SEVERE: Unexpected exception while displaying preferences java.lang.NoClassDefFoundError: com/prosc/fmkit/PluginBridge$2 at com.prosc.fmkit.PluginBridge.fmxDoAppPreferences(PluginBridge.java:842) (C++ Wed Mar 24 00:09:40 2010) *** DO PREFS *** Mar 24, 2010 12:09:40 AM com.prosc.fmkit.PluginBridge fmxDoAppPreferences SEVERE: Unexpected exception while displaying preferences java.lang.NoClassDefFoundError: com/prosc/fmkit/PluginBridge$2 at com.prosc.fmkit.PluginBridge.fmxDoAppPreferences(PluginBridge.java:842) Mar 24, 2010 12:14:11 AM com.prosc.fmkit.PluginBridge doFunction INFO: === doFunction SMVersion called on thread: main=== Mar 24, 2010 12:14:11 AM com.prosc.fmkit.PluginBridge doFunction SEVERE: Throwable: java.lang.NoClassDefFoundError: com/prosc/fmkit/PluginBridge$3 java.lang.NoClassDefFoundError: com/prosc/fmkit/PluginBridge$3 at com.prosc.fmkit.PluginBridge.doFunction(PluginBridge.java:906) Mar 24, 2010 12:15:34 AM com.prosc.fmkit.PluginBridge doFunction INFO: === doFunction SMVersion called on thread: main=== Mar 24, 2010 12:15:34 AM com.prosc.fmkit.PluginBridge doFunction SEVERE: Throwable: java.lang.NoClassDefFoundError: com/prosc/fmkit/PluginBridge$3 java.lang.NoClassDefFoundError: com/prosc/fmkit/PluginBridge$3 at com.prosc.fmkit.PluginBridge.doFunction(PluginBridge.java:906) (C++ Wed Mar 24 00:17:06 2010) *** SHUTDOWN 360Works ScriptMaster_FMPro *** Mar 24, 2010 12:17:06 AM com.prosc.fmkit.PluginBridge fmxShutdown INFO: Shutting down - Active threads: [Thread[main,5,main], Thread[AWT-Windows,6,main]] Mar 24, 2010 12:17:06 AM com.prosc.fmkit.PluginBridge fmxShutdown CONFIG: Shutting down PluginBridge (C++ Wed Mar 24 00:17:06 2010) Shutdown complete (C++ Wed Mar 24 00:17:08 2010) *** INIT for 360Works ScriptMaster_FMPro at Wed Mar 24 00:17:08 2010, headless mode 0 (C++ Wed Mar 24 00:17:08 2010) Found JVM dll at C:Program FilesJavajre6binclientjvm.dll Mar 24, 2010 12:17:08 AM com.prosc.fmkit.PluginBridge fmxInit INFO: Creating shared PluginBridge instance / plugin bridge version 1.61 bundlePath: C:Documents and SettingsJeffLocal SettingsApplication DataFileMakerExtensions360Works_ScriptMaster.fmx;C:Documents and SettingsJeffLocal SettingsTemp360Works_ScriptMaster.jar jvm version: 14.1-b02 from C:Program FilesJavajre6 Operating system info: Windows XP 5.1 running on x86 architecture Mar 24, 2010 12:17:08 AM com.prosc.fmkit.PluginBridge fmxInit CONFIG: Initialize 360Works ScriptMaster Mar 24, 2010 12:17:08 AM com.prosc.fmkit.Plugin init CONFIG: Created new plugin instance: com.prosc.beanshell.BeanShellPlugin named 360Works ScriptMaster; version: 3.33 Mar 24, 2010 12:17:08 AM com.prosc.fmkit.PluginBridge fmxInit CONFIG: Return VERSION_CURRENT: 51 (C++ Wed Mar 24 00:17:17 2010) *** DO PREFS *** Mar 24, 2010 12:17:17 AM com.prosc.fmkit.PluginBridge fmxDoAppPreferences SEVERE: Unexpected exception while displaying preferences java.lang.NoClassDefFoundError: com/prosc/fmkit/PluginBridge$2 at com.prosc.fmkit.PluginBridge.fmxDoAppPreferences(PluginBridge.java:842) (C++ Wed Mar 24 00:17:18 2010) *** DO PREFS *** Mar 24, 2010 12:17:18 AM com.prosc.fmkit.PluginBridge fmxDoAppPreferences SEVERE: Unexpected exception while displaying preferences java.lang.NoClassDefFoundError: com/prosc/fmkit/PluginBridge$2 at com.prosc.fmkit.PluginBridge.fmxDoAppPreferences(PluginBridge.java:842) (C++ Wed Mar 24 00:17:19 2010) *** DO PREFS *** Mar 24, 2010 12:17:19 AM com.prosc.fmkit.PluginBridge fmxDoAppPreferences SEVERE: Unexpected exception while displaying preferences java.lang.NoClassDefFoundError: com/prosc/fmkit/PluginBridge$2 at com.prosc.fmkit.PluginBridge.fmxDoAppPreferences(PluginBridge.java:842) (C++ Wed Mar 24 00:17:19 2010) *** DO PREFS *** Mar 24, 2010 12:17:19 AM com.prosc.fmkit.PluginBridge fmxDoAppPreferences SEVERE: Unexpected exception while displaying preferences java.lang.NoClassDefFoundError: com/prosc/fmkit/PluginBridge$2 at com.prosc.fmkit.PluginBridge.fmxDoAppPreferences(PluginBridge.java:842) (C++ Wed Mar 24 00:18:20 2010) *** SHUTDOWN 360Works ScriptMaster_FMPro *** Mar 24, 2010 12:18:20 AM com.prosc.fmkit.PluginBridge fmxShutdown INFO: Shutting down - Active threads: [Thread[main,5,main], Thread[AWT-Windows,6,main]] Mar 24, 2010 12:18:20 AM com.prosc.fmkit.PluginBridge fmxShutdown CONFIG: Shutting down PluginBridge (C++ Wed Mar 24 00:18:20 2010) Shutdown complete
Smef Posted March 24, 2010 Posted March 24, 2010 I would recommend updating to the latest version of java (Java 6 Update 18), and also that you make sure that you only have one version of the plugin installed. Plugins are manually installed to your C:Program FilesFilemakerExtensions directory, while Auto-Update plugins are installed to C:Documents and SettingsyourusernameLocal SettingAppDataFilemakerExtensions. It is possible that you have two installations after running the auto-update script.
Krioni Posted April 6, 2010 Author Posted April 6, 2010 Well, the machine was upgraded to the newest version of Java. Now the plugin loads. However, an even worse problem now occurs: We use the Read File Contents function that came with ScriptMaster.fp7. I've noticed that on Windows XP SP3 (on two different machines), the function causes FileMaker Pro 10.0v3 to crash if we attempt to read in anything other than very small files. For example, a 433 kilobyte file is read without a problem, and the results shown in the ScriptMaster.fp7 file. However, a 525 kilobyte file crashes every time on two different machines. Also, I can no longer downgrade to ScriptMaster 3.1 on the machine with the upgraded Java, because when I tried, FileMaker crashes at the splash screen while loading the 3.1 plugin. I made sure only one plugin was in the various possible plugin folders. So, now that I've upgraded the Java on that machine, it appears that I MUST use the ScriptMaster 3.33 plugin, which appears unable to read a file of more than about 500 kilobytes. I even tried re-writing the Read File Contents function to use a BufferedReader rather than the very simple getText() function, but that also crashed under the same conditions. Any ideas? This is really interrupting my client's work. All for the sake of trying to be up-to-date using the auto-update feature.
Smef Posted April 6, 2010 Posted April 6, 2010 I've been able to reproduce this issue. Interestingly, it gets an out of memory error on larger files. It looks like there is some sweet spot where it runs out of memory, but doesn't catch it. The update to scriptmaster your downloaded was released to accomidate the new version of java you are using. Older versions of the plugin did not work with the new Java update, which is why we released the new version and why you are unable to roll back.
Krioni Posted April 7, 2010 Author Posted April 7, 2010 I'm glad you can reproduce it. It's a big problem for my client, since now he would have to downgrade Java (not trivial) or use a different machine to run what was supposed to be an automated process. All this because we thought auto-upgrades were a good idea. *chagrin* Any idea on how soon there will be an update that fixes this? It's a pretty frustrating bug, especially since using alternate ways of reading the file (BufferedReader, etc.) have the same crashing problem. Or, any idea on a work-around?
Recommended Posts
This topic is 5687 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 accountSign in
Already have an account? Sign in here.
Sign In Now