TiddlyWikiClassic
TiddlyWikiClassic copied to clipboard
Saving with TiddlySaver on 2.8.1 in latest Chrome (27.0.1453.116 m) throws an error
The console log is as follows:
javaLoadFile: Error: Error calling method on NPObject. wiki.html:15394
javaLoadFile: java.lang.NullPointerException wiki.html:15397
javaLoadFile: java.lang.NullPointerException
at TiddlySaver.debug(Unknown Source)
at TiddlySaver.resolveFilename(Unknown Source)
at TiddlySaver$3.run(Unknown Source)
at TiddlySaver$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at TiddlySaver.privInputStream(Unknown Source)
at TiddlySaver.loadFile(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.plugin.javascript.Trampoline.invoke(Unknown Source)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.plugin.javascript.JSClassLoader.invoke(Unknown Source)
at sun.plugin2.liveconnect.JavaClass$MethodInfo.invoke(Unknown Source)
at sun.plugin2.liveconnect.JavaClass$MemberBundle.invoke(Unknown Source)
at sun.plugin2.liveconnect.JavaClass.invoke0(Unknown Source)
at sun.plugin2.liveconnect.JavaClass.invoke(Unknown Source)
at sun.plugin2.main.client.LiveConnectSupport$PerAppletInfo$DefaultInvocationDelegate.invoke(Unknown Source)
at sun.plugin2.main.client.LiveConnectSupport$PerAppletInfo$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin2.main.client.LiveConnectSupport$PerAppletInfo.doObjectOp(Unknown Source)
at sun.plugin2.main.client.LiveConnectSupport$PerAppletInfo$LiveConnectWorker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
wiki.html:15398
javaSaveFile: Error: Error calling method on NPObject. wiki.html:15394
javaSaveFile: java.lang.NullPointerException wiki.html:15397
javaSaveFile: java.lang.NullPointerException
at TiddlySaver.debug(Unknown Source)
at TiddlySaver.resolveFilename(Unknown Source)
at TiddlySaver$4.run(Unknown Source)
at TiddlySaver$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at TiddlySaver.privOutputStream(Unknown Source)
at TiddlySaver.saveFile(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.plugin.javascript.Trampoline.invoke(Unknown Source)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.plugin.javascript.JSClassLoader.invoke(Unknown Source)
at sun.plugin2.liveconnect.JavaClass$MethodInfo.invoke(Unknown Source)
at sun.plugin2.liveconnect.JavaClass$MemberBundle.invoke(Unknown Source)
at sun.plugin2.liveconnect.JavaClass.invoke0(Unknown Source)
at sun.plugin2.liveconnect.JavaClass.invoke(Unknown Source)
at sun.plugin2.main.client.LiveConnectSupport$PerAppletInfo$DefaultInvocationDelegate.invoke(Unknown Source)
at sun.plugin2.main.client.LiveConnectSupport$PerAppletInfo$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin2.main.client.LiveConnectSupport$PerAppletInfo.doObjectOp(Unknown Source)
at sun.plugin2.main.client.LiveConnectSupport$PerAppletInfo$LiveConnectWorker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
This started with the most recent upgrades to Chrome and Java.
There is an update to the TiddlySaver source from about a month ago that should address this (and probably a few other issues besides), but it hasn't been compiled/released yet. I'm not certain who's responsible for that. @ericshulman? @Jermolene? @PVHL? Either way, once that's done, you should be able to drop in the new Java applet and resume work.
Thanks - in the long term I'll be migrating to TW5 for production work but it's nice to have an interim solution.
Actually TiddlySaver has been compiled and is available as an unsigned TiddlySaver.jar on my account as announced here. It hasn't been released as a signed jar yet because a Java bug in 1.7.0_45, the latest Java release, has broken some local signed jars, but not unsigned ones (see my Nov 4 post in the above linked topic). The next Java release (51, January 2014) will apparently not allow _unsigned jars to do what TiddlySaver can do, so hopefully Oracle will fix the reported bug before then. (All the Java saving issues have been caused by Oracle's repeated changes to the Java runtime, BTW, not by errors in the TiddlySaver code.)
After I have tested the signed jar with earlier Java versions I will post a signed version, but it will not work with the latest Java version. It will be a while before this can happen, but the unsigned jar works as per my Oct 26 and Oct 30 directions.
I recommend Firefox with Jeremy's TiddlyFox extension as a good cross-platform solution.
Ah. Missed that announce. Will update and test that some; been using the FF+TF approach you just mentioned in the meantime until I can safely switch to TW5. Which I'm really looking forward to. :)
Me too!