Page 1 of 1

Exception while running JBatchUpload

Posted: Sun Dec 20, 2009 6:34 pm
by onyii5119
I have test JFileUpload and JDiskExplorer and was able to get them running but while trying to start JBatchUpload, I got the following exception. Any clues?

Java Plug-in 1.6.0_13
Using JRE version 1.6.0_13 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\Jonathan
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------


Dec 20, 2009 12:31:54 PM jfileupload.upload.client.MApplet <init>
INFO: JFileUpload 2.5 Build FINAL.001
Dec 20, 2009 12:31:54 PM jfileupload.transfer.client.http.E C
INFO: Auto-detect proxy settings (ps): DIRECT
Dec 20, 2009 12:31:54 PM jfileupload.transfer.client.http.E C
INFO: Auto-detect proxy settings : host = null
Dec 20, 2009 12:31:54 PM jfileupload.transfer.client.http.E C
INFO: Auto-detect proxy settings : port = -1
Dec 20, 2009 12:31:55 PM jfileupload.transfer.client.util.Conf I
INFO: TransferUI instantiated : jfileupload.transfer.client.edesign.BatchTransferUI
Dec 20, 2009 12:31:55 PM jfileupload.transfer.client.edesign.BatchTransferUI A
INFO: JBatchUpload 2.5 FINAL.001
java.lang.NullPointerException
at jfileupload.transfer.client.edesign.G.G(Unknown Source)
at jfileupload.transfer.client.edesign.BatchTransferUI.A(Unknown Source)
at jfileupload.upload.client.MApplet.loadUI(Unknown Source)
at jfileupload.upload.client.MApplet.init(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception: java.lang.NullPointerException

Re: Exception while running JBatchUpload

Posted: Sun Dec 20, 2009 7:37 pm
by support
Maybe a problem in one the of the i18n properties file. Could you try to reinstall both JFileUpload and JBatchUpload without modifying the JavaScript.

Re: Exception while running JBatchUpload

Posted: Mon Dec 21, 2009 12:51 pm
by onyii5119
I had to re-install JBatchUpload (like you suggested) and cleared my browser of any cache content but got the following exception:


Dec 21, 2009 6:42:20 AM jfileupload.upload.client.MApplet <init>
INFO: JFileUpload 2.5 Build FINAL.001
java.util.MissingResourceException: Can't find bundle for base name i18n_bar, locale en_US
at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
at java.util.ResourceBundle.getBundleImpl(Unknown Source)
at java.util.ResourceBundle.getBundle(Unknown Source)
at jfileupload.transfer.client.util.E.B(Unknown Source)
at jfileupload.transfer.client.util.Conf.G(Unknown Source)
at jfileupload.transfer.client.util.Conf.B(Unknown Source)
at jfileupload.upload.client.MApplet.init(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception: java.util.MissingResourceException: Can't find bundle for base name i18n_bar, locale en_US

Re: Exception while running JBatchUpload

Posted: Mon Dec 21, 2009 8:06 pm
by support
Ok, it's better. Are you able to access i18n_bar.properties directly in browser ?
http://yourserver.com/something/i18n_bar.properties

If not then make sure your web server serves .properties files as "text/plain".

Re: Exception while running JBatchUpload

Posted: Wed Dec 23, 2009 11:36 pm
by onyii5119
Thanks. I am able to bring it up under windows.