Subj : Re: LiveConnect javascript supports java.io.File but not FileReader? To : netscape.public.mozilla.jseng From : Simon Taylor Date : Mon Jul 21 2003 10:12 am Hello Brendan, Thanks so much for your reply. >> (My attempt to access java.io.FileReader causes the following error >> in the javascript console: Error: jsdIExecutionHook is not defined) > > > That is spurious: it has to do with the JS debugger, Venkman. You > should retry the test after disabling the debugger completely. See > http://www.mozilla.org/projects/venkman/ and please do file a bug at > http://bugzilla.mozilla.org/. > > Cc'ing rginda for his advice on how to disable the debugger. I resorted to doing a custom re-install of Mozilla so that I no longer have the JS debugger installed. And now that I've done that I'm still failing at the same point. That is, I can construct a java.io.File object, I can call the getPath() method, but I cannot then construct a java.io.FileReader object. I get the error: Error: uncaught exception: Error while constructing instance of (null) The relevant snippet of code is below. Regards, Simon Taylor > .