Page 1 of 1

Unable to add multiple images - Phoca 3.0.0

Posted: 12 Oct 2011, 14:51
by bongazi
Hello,
I am running joomla 1.6.3 and I am unable to add multiple images just on one specific folder.
That folder has a few sub directories and it just wont open up.

What I usually do is make sub directories in the target folder and upload my images with filezilla.
Then I goto add multiple images in phoca - browse to the folder and phoca creates the thumbnails.

Any ideas on howto solve this one?
Directory Name: "Private Pages"


Thank you
Bongazi

Re: Unable to add multiple images - Phoca 3.0.0

Posted: 12 Oct 2011, 21:42
by Jan
Hi, do you get some error message?

Re: Unable to add multiple images - Phoca 3.0.0

Posted: 13 Oct 2011, 10:41
by bongazi
Jan wrote:Hi, do you get some error message?
Hi Jan,
I get a popup window saying:
"Error during applet initialization - Have a look in your java console (java.lang.reflect.InvocationTargetException)"

I can not paste the error log in here:
Your message contains too many URLs. The maximum number of URLs allowed is 5.

can I email you the log file?

Regards,
Bongazi

Re: Unable to add multiple images - Phoca 3.0.0

Posted: 14 Oct 2011, 22:31
by bongazi
Ok - herewith the log - I hope this helps... :idea:

-----------------------------------------
Java Plug-in 1.6.0_26
Using JRE version 1.6.0_26-b03 Java HotSpot(TM) Client VM
User home directory = C:\Users\Bongazi

----------------------------------------------------
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>
----------------------------------------------------

java.lang.InterruptedException
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(Unknown Source)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
at java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)
at wjhk.jupload2.gui.JUploadTextArea$LogMessageThread.run(JUploadTextArea.java:98)
Exception in thread "wjhk.jupload2.gui.JUploadTextArea$LogMessageThread" java.lang.IllegalMonitorStateException
at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(Unknown Source)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(Unknown Source)
at java.util.concurrent.locks.ReentrantLock.unlock(Unknown Source)
at java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)
at wjhk.jupload2.gui.JUploadTextArea$LogMessageThread.run(JUploadTextArea.java:98)
-ERROR- java.lang.reflect.InvocationTargetException (message: null)
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)
at java.lang.Thread.run(Unknown Source)
-ERROR- java.lang.reflect.InvocationTargetException in newInstance(error message: null)
null
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at wjhk.jupload2.policies.UploadPolicyFactory.getUploadPolicy(UploadPolicyFactory.java:124)
at wjhk.jupload2.context.DefaultJUploadContext.init(DefaultJUploadContext.java:168)
at wjhk.jupload2.context.JUploadContextApplet.<init>(JUploadContextApplet.java:66)
at wjhk.jupload2.JUploadApplet.start(JUploadApplet.java:61)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
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


Thanks,

Bongazi

Re: Unable to add multiple images - Phoca 3.0.0

Posted: 15 Oct 2011, 10:07
by martiinkolle
Please check that you are using the latest version of java n your computer.

And just for security reason... Please update to 1.7.1 -> Extensions -> Update -> Check for updates :)

Re: Unable to add multiple images - Phoca 3.0.0

Posted: 15 Oct 2011, 23:34
by bongazi
Hi Martiinkolle,

thank you for your reply - i did upgrade Java and upgrade joomla to 1.7.1 - still the same problem....
The other directories - without subdirs wokr perfectly..
Just the "Private Pages" directory with subdirs wont list...

The log is from IE - Java console is disabled in the new Firefox

Java Plug-in 1.6.0_27
Using JRE version 1.6.0_27-b07 Java HotSpot(TM) 64-Bit Server VM
User home directory = C:\Users\Bongazi
----------------------------------------------------
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>
----------------------------------------------------
Exception in thread "wjhk.jupload2.gui.JUploadTextArea$LogMessageThread" java.lang.IllegalMonitorStateException
at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(Unknown Source)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(Unknown Source)
at java.util.concurrent.locks.ReentrantLock.unlock(Unknown Source)
at java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)
at wjhk.jupload2.gui.JUploadTextArea$LogMessageThread.run(JUploadTextArea.java:98)



regards,
Bongazi

Re: Unable to add multiple images - Phoca 3.0.0

Posted: 16 Oct 2011, 13:30
by bongazi
Hello,
should I try to upgrade to 3.1RC ?

Regards,
Bongazi

Re: Unable to add multiple images - Phoca 3.0.0

Posted: 17 Oct 2011, 00:02
by bongazi
Hello,
after uninstalling all java and reinstalling - attached the java console log:

Java Plug-in 1.6.0_26
Using JRE version 1.6.0_26-b03 Java HotSpot(TM) Client VM
User home directory = C:\Users\Bongazi

----------------------------------------------------
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>
----------------------------------------------------

java.lang.InterruptedException
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(Unknown Source)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
at java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)
at wjhk.jupload2.gui.JUploadTextArea$LogMessageThread.run(JUploadTextArea.java:98)
Exception in thread "wjhk.jupload2.gui.JUploadTextArea$LogMessageThread" java.lang.IllegalMonitorStateException
at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(Unknown Source)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(Unknown Source)
at java.util.concurrent.locks.ReentrantLock.unlock(Unknown Source)
at java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)
at wjhk.jupload2.gui.JUploadTextArea$LogMessageThread.run(JUploadTextArea.java:98)
-ERROR- java.lang.reflect.InvocationTargetException (message: null)
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)
at java.lang.Thread.run(Unknown Source)
-ERROR- java.lang.reflect.InvocationTargetException in newInstance(error message: null)
null
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at wjhk.jupload2.policies.UploadPolicyFactory.getUploadPolicy(UploadPolicyFactory.java:124)
at wjhk.jupload2.context.DefaultJUploadContext.init(DefaultJUploadContext.java:168)
at wjhk.jupload2.context.JUploadContextApplet.<init>(JUploadContextApplet.java:66)
at wjhk.jupload2.JUploadApplet.start(JUploadApplet.java:61)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
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
INTERRUPTED while loading Image

Than you,
Bongazi

Re: Unable to add multiple images - Phoca 3.0.0

Posted: 19 Oct 2011, 17:16
by Jan
Hi, the version of java upload applet is used in every version of Phoca Gallery. I am not developer of the java upload applet so cannot give any specific advice regarding this :-( Try to search similar posts in this forum or similar posts generell to this java upload applet. This applet has some specific problems but for most users it works correctly, so this is why this applet is included in Phoca Gallery (but from my site, it is very difficult to give any support to it as I am not java programmer :-( :-( )

Jan