firefox 4 exceptions

Upload core product.
Post Reply
jmarcv
Posts: 26
Joined: Sun Nov 07, 2010 4:21 pm

firefox 4 exceptions

Post by jmarcv »

In my app I get this Java console exception, plus an error document.fileupload.setRegular is not a function.
url parameter executes and image IS uploaded, but forward does not.

This is happening in FF4 only in our app and reported by all our FF4 users. Before I spend too much time, is this something obvious you can see?



[INFO] ImageFilter - Image writing []: true
(C:\Users\jmv\AppData\Local\Temp\Photo_062107_005.jpg)
Exception in thread "HTTPUPLOAD" java.lang.RuntimeException:
java.lang.reflect.InvocationTargetException
at sun.plugin2.applet.Plugin2ClassLoader.defineClassHelper(Unknown
Source)
at sun.plugin2.applet.Plugin2ClassLoader.access$100(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown
Source)
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at
jfileupload.transfer.client.http.HTTPUploadTransfer.transfer(Unknown Source)
at
jfileupload.transfer.client.http.HTTPUploadTransfer.transferAndRetry(Unknown
Source)
at
jfileupload.transfer.client.http.HTTPUploadTransfer.processFile(Unknown
Source)
at
jfileupload.transfer.client.http.HTTPUploadTransfer.process(Unknown Source)
at jfileupload.transfer.client.http.HTTPUploadTransfer.run(Unknown
Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
... 14 more
Caused by: java.lang.ThreadDeath
at java.lang.Thread.stop(Unknown Source)
at java.lang.ThreadGroup.stopOrSuspend(Unknown Source)
at java.lang.ThreadGroup.stop(Unknown Source)
at sun.awt.AppContext.dispose(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppContextDisposer.run(Unknown
Source)
... 1 more
[INFO] MApplet - JFileUpload 2.8 Build FINAL.001

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: firefox 4 exceptions

Post by support »

We didn't start strong tests under FF4 because it has just moved from RC2 to final last week. However, we've started basic tests and JSAPI seems to work. Could you try the following URL in your FF4:
http://www.jfileupload.com/products/dem ... jsapi.html

Do you see any JavaScript error in the JavaScript console provided by FF4?

jmarcv
Posts: 26
Joined: Sun Nov 07, 2010 4:21 pm

Re: firefox 4 exceptions

Post by jmarcv »

>Do you see any JavaScript error in the JavaScript console provided by FF4?

Please see my first sentance:
>>plus an error document.fileupload.setRegular is not a function.

I will try the URL and report back.

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: firefox 4 exceptions

Post by support »

setRegular function is used in the URL I've provided and it seems to work (when you hit "Test" button). Could you confirm it works in your FF4?

Post Reply