Page 1 of 1

Problems with JAVA Uploader

Posted: 04 Feb 2009, 23:07
by Spearhead
Hi, i've got troubles with the Java Uploader using Phoca Gallery 2.2beta. Firefox returns following error:

Code: Select all

ERROR:$("upload-clear")is null
Using Windows the problem doesn't appear. On the mac it happens with all Browsers (Safari,Opera,Firefox). Could anyone help me?


EDIT: Java-console shows this error:

Code: Select all

java.lang.NoSuchMethodError: java.util.concurrent.ConcurrentHashMap.<init>(IF)V
	at wjhk.jupload2.gui.JUploadFileView.<init>(JUploadFileView.java:214)
	at wjhk.jupload2.gui.JUploadFileChooser.<init>(JUploadFileChooser.java:65)
	at wjhk.jupload2.policies.DefaultUploadPolicy.createFileChooser(DefaultUploadPolicy.java:2163)
	at wjhk.jupload2.policies.PictureUploadPolicy.createFileChooser(PictureUploadPolicy.java:712)
	at wjhk.jupload2.gui.JUploadPanel.<init>(JUploadPanel.java:180)
	at wjhk.jupload2.JUploadApplet.init(JUploadApplet.java:153)
	at sun.applet.AppletPanel.run(AppletPanel.java:380)
	at java.lang.Thread.run(Thread.java:613)

Re: Problems with JAVA Uploader

Posted: 06 Feb 2009, 07:36
by sideburns
I'm having the same problems with the java uploader on the mac (both Safari and Firefox). I've tried multiple versions of Java using Java Preferences, all with the same result. Here's the Java console output (slightly different from the previous poster):
network: Connecting http://www.lavenderlounge.com/joomla/ad ... properties with cookie "fontSize=80; 17814126d1a6b43b9c18a3fc23892d4b=c950fe92aed1a712731289234d630622"
-ERROR- null
java.lang.NullPointerException
at wjhk.jupload2.policies.DefaultUploadPolicy.<init>(DefaultUploadPolicy.java:485)
at wjhk.jupload2.policies.PictureUploadPolicy.<init>(PictureUploadPolicy.java:220)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at wjhk.jupload2.policies.UploadPolicyFactory.getUploadPolicy(UploadPolicyFactory.java:106)
at wjhk.jupload2.JUploadApplet.init(JUploadApplet.java:151)
at sun.applet.AppletPanel.run(AppletPanel.java:380)
at jep.AppletFramePanel.run(AppletFramePanel.java:176)
at java.lang.Thread.run(Thread.java:613)
-ERROR- java.lang.reflect.InvocationTargetException in newInstance(error message: null)
null
[Ljava.lang.StackTraceElement;@f5d030
basic: Starting applet…

Re: Problems with JAVA Uploader

Posted: 06 Feb 2009, 12:39
by Spearhead
i talked to the developer, and he said that there are java libraries used which aren't contained in the Apple Java Framework. So it seems that the only way out is to use a virtual machine with windows.

Re: Problems with JAVA Uploader

Posted: 09 Feb 2009, 00:47
by Jan
:(

Re: Problems with JAVA Uploader

Posted: 25 Feb 2009, 14:30
by marcus178
Jan wrote::(
This is sad indeed, surely there must be some way to fix this.

Re: Problems with JAVA Uploader

Posted: 15 Apr 2009, 15:58
by Jan
Hi, as I didn't write the java applet, so I cannot say when this will be fixed :-(

Jan

Re: Problems with JAVA Uploader

Posted: 16 Apr 2009, 14:04
by Jan
Hi, there are some problems with flash upload now (it doesn't work on some PC which have installed actualized flash plugin) so for now there is no such option. First this needs to be solved (should be solved in 1.6), then the security of flash uploading needs to be solved too (search this forum for security problems with flash uploading in frontend)

Jan