I have a java problem on a debian 5.0 stable (GNU/Linux) and iceweasel 3.06, i686
I tested other java sites and all works.
On windows the applett works, the printed version of the component on windows systems are: JUpload applet V4.0rc1 [SVN-Rev: 573]
With the java upload phoca gallery component i get this error, where is the problem?
This component comes from third party or is developed by phoca gallery staff?
fine thanks
:
fosti@server:~$ firefox
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
GCJ PLUGIN: thread 0x956cd30: NP_GetMIMEDescription
GCJ PLUGIN: thread 0x956cd30: NP_GetMIMEDescription return
GCJ PLUGIN: thread 0x956cd30: NP_GetValue
GCJ PLUGIN: thread 0x956cd30: NP_GetValue: returning plugin name.
GCJ PLUGIN: thread 0x956cd30: NP_GetValue return
GCJ PLUGIN: thread 0x956cd30: NP_GetValue
GCJ PLUGIN: thread 0x956cd30: NP_GetValue: returning plugin description.
GCJ PLUGIN: thread 0x956cd30: NP_GetValue return
GCJ PLUGIN: thread 0x956cd30: NP_Initialize
GCJ PLUGIN: thread 0x956cd30: plugin_test_appletviewer
GCJ PLUGIN: thread 0x956cd30: plugin_test_appletviewer return
GCJ PLUGIN: thread 0x956cd30: NP_Initialize: using /usr/lib/jvm/java-6-openjdk/jre/lib/i386/../../bin/pluginappletviewer
GCJ PLUGIN: thread 0x956cd30: NP_Initialize return
GCJ PLUGIN: thread 0x956cd30: GCJ_New
GCJ PLUGIN: thread 0x956cd30: plugin_data_new
GCJ PLUGIN: thread 0x956cd30: plugin_data_new return
GCJ PLUGIN: thread 0x956cd30: plugin_get_documentbase
GCJ PLUGIN: thread 0x956cd30: plugin_get_documentbase return
GCJ PLUGIN: thread 0x956cd30: GCJ_New: creating input fifo: /home/fosti/.gcjwebplugin/gcj-instance-2809-0-appletviewer-to-plugin
GCJ PLUGIN: thread 0x956cd30: GCJ_New: created input fifo: /home/fosti/.gcjwebplugin/gcj-instance-2809-0-appletviewer-to-plugin
GCJ PLUGIN: thread 0x956cd30: GCJ_New: creating output fifo: /home/fosti/.gcjwebplugin/gcj-instance-2809-0-plugin-to-appletviewer
GCJ PLUGIN: thread 0x956cd30: GCJ_New: created output fifo: /home/fosti/.gcjwebplugin/gcj-instance-2809-0-plugin-to-appletviewer
GCJ PLUGIN: thread 0x956cd30: plugin_start_appletviewer
GCJ PLUGIN: thread 0x956cd30: plugin_start_appletviewer return
GCJ PLUGIN: thread 0x956cd30: GCJ_New: got confirmation that appletviewer is running.
GCJ PLUGIN: thread 0x956cd30: plugin_create_applet_tag
GCJ PLUGIN: thread 0x956cd30: plugin_create_applet_tag return
GCJ PLUGIN: thread 0x956cd30: plugin_send_message_to_appletviewer
PIPE: plugin wrote: instance-2809-0
GCJ PLUGIN: thread 0x956cd30: plugin_send_message_to_appletviewer return
GCJ PLUGIN: thread 0x956cd30: plugin_send_message_to_appletviewer
PIPE: plugin wrote: tag http://www.motogiri.com/index.php?optio ... &Itemid=53 <EMBED ARCHIVE="/administrator/components/com_phocagallery/assets/java/jupload/wjhk.jupload.jar" WIDTH="480" HEIGHT="480" ARCHIVE="/administrator/components/com_phocagallery/assets/java/jupload/wjhk.jupload.jar" ><PARAM NAME="classid" VALUE="java:wjhk.jupload2.JUploadApplet"><PARAM NAME="type" VALUE="application/x-java-applet"><PARAM NAME="postURL" VALUE="http://www.motogiri.com/index.php?optio ... =2"><PARAM NAME="afterUploadURL" VALUE="http://www.motogiri.com/index.php?optio ... =2"><PARAM NAME="allowedFileExtensions" VALUE="jpg/gif/png/"><PARAM NAME="uploadPolicy" VALUE="PictureUploadPolicy"><PARAM NAME="nbFilesPerRequest" VALUE="1"><PARAM NAME="maxPicHeight" VALUE="-1"><PARAM NAME="maxPicWidth" VALUE="-1"><PARAM NAME="maxFileSize" VALUE="500000000"><PARAM NAME="pictureTransmitMetadata" VALUE="true"><PARAM NAME="showLogWindow" VALUE="false"><PARAM NAME="showStatusBar" VALUE="true"><PARAM NAME="pictureCompressionQuality" VALUE="1"></EMBED>
GCJ PLUGIN: thread 0x956cd30: plugin_send_message_to_appletviewer return
GCJ PLUGIN: thread 0x956cd30: GCJ_New return
GCJ PLUGIN: thread 0x956cd30: NP_GetValue
GCJ PLUGIN: thread 0x956cd30: NP_GetValue: returning plugin description.
GCJ PLUGIN: thread 0x956cd30: NP_GetValue return
GCJ PLUGIN: thread 0x956cd30: GCJ_GetValue
GCJ PLUGIN: thread 0x956cd30: GCJ_GetValue: returning TRUE for NeedsXEmbed.
GCJ PLUGIN: thread 0x956cd30: GCJ_GetValue return
GCJ PLUGIN: thread 0x956cd30: GCJ_SetWindow
GCJ PLUGIN: thread 0x956cd30: GCJ_SetWindow: setting window.
GCJ PLUGIN: thread 0x956cd30: plugin_send_message_to_appletviewer
PIPE: plugin wrote: instance-2809-0
GCJ PLUGIN: thread 0x956cd30: plugin_send_message_to_appletviewer return
GCJ PLUGIN: thread 0x956cd30: plugin_send_message_to_appletviewer
PIPE: plugin wrote: handle 41947409 width 480 height 480
GCJ PLUGIN: thread 0x956cd30: plugin_send_message_to_appletviewer return
GCJ PLUGIN: thread 0x956cd30: GCJ_SetWindow return
GCJ PLUGIN: thread 0x956cd30: GCJ_SetWindow
GCJ PLUGIN: thread 0x956cd30: GCJ_SetWindow: window already exists.
GCJ PLUGIN: thread 0x956cd30: GCJ_SetWindow: window width changed.
GCJ PLUGIN: thread 0x956cd30: plugin_send_message_to_appletviewer
PIPE: plugin wrote: instance-2809-0
GCJ PLUGIN: thread 0x956cd30: plugin_send_message_to_appletviewer return
GCJ PLUGIN: thread 0x956cd30: plugin_send_message_to_appletviewer
PIPE: plugin wrote: width 480
GCJ PLUGIN: thread 0x956cd30: plugin_send_message_to_appletviewer return
GCJ PLUGIN: thread 0x956cd30: GCJ_SetWindow: window height changed.
GCJ PLUGIN: thread 0x956cd30: plugin_send_message_to_appletviewer
PIPE: plugin wrote: instance-2809-0
GCJ PLUGIN: thread 0x956cd30: plugin_send_message_to_appletviewer return
GCJ PLUGIN: thread 0x956cd30: plugin_send_message_to_appletviewer
PIPE: plugin wrote: height 480
GCJ PLUGIN: thread 0x956cd30: plugin_send_message_to_appletviewer return
GCJ PLUGIN: thread 0x956cd30: GCJ_SetWindow return
PIPE: appletviewer wrote: running
PIPE: appletviewer read: instance-2809-0
PIPE: appletviewer read: tag http://www.motogiri.com/index.php?optio ... &Itemid=53 <EMBED ARCHIVE="/administrator/components/com_phocagallery/assets/java/jupload/wjhk.jupload.jar" WIDTH="480" HEIGHT="480" ARCHIVE="/administrator/components/com_phocagallery/assets/java/jupload/wjhk.jupload.jar" ><PARAM NAME="classid" VALUE="java:wjhk.jupload2.JUploadApplet"><PARAM NAME="type" VALUE="application/x-java-applet"><PARAM NAME="postURL" VALUE="http://www.motogiri.com/index.php?optio ... =2"><PARAM NAME="afterUploadURL" VALUE="http://www.motogiri.com/index.php?optio ... =2"><PARAM NAME="allowedFileExtensions" VALUE="jpg/gif/png/"><PARAM NAME="uploadPolicy" VALUE="PictureUploadPolicy"><PARAM NAME="nbFilesPerRequest" VALUE="1"><PARAM NAME="maxPicHeight" VALUE="-1"><PARAM NAME="maxPicWidth" VALUE="-1"><PARAM NAME="maxFileSize" VALUE="500000000"><PARAM NAME="pictureTransmitMetadata" VALUE="true"><PARAM NAME="showLogWindow" VALUE="false"><PARAM NAME="showStatusBar" VALUE="true"><PARAM NAME="pictureCompressionQuality" VALUE="1"></EMBED>
PIPE: appletviewer read: instance-2809-0
PIPE: appletviewer read: handle 41947409 width 480 height 480
Avviso: il tag <embed> richiede un attributo di codice
Avviso: il tag <param> non è racchiuso tra <applet> ... </applet>.
Avviso: il tag <param> non è racchiuso tra <applet> ... </applet>.
Avviso: il tag <param> non è racchiuso tra <applet> ... </applet>.
Avviso: il tag <param> non è racchiuso tra <applet> ... </applet>.
Avviso: il tag <param> non è racchiuso tra <applet> ... </applet>.
Avviso: il tag <param> non è racchiuso tra <applet> ... </applet>.
Avviso: il tag <param> non è racchiuso tra <applet> ... </applet>.
Avviso: il tag <param> non è racchiuso tra <applet> ... </applet>.
Avviso: il tag <param> non è racchiuso tra <applet> ... </applet>.
Avviso: il tag <param> non è racchiuso tra <applet> ... </applet>.
Avviso: il tag <param> non è racchiuso tra <applet> ... </applet>.
Avviso: il tag <param> non è racchiuso tra <applet> ... </applet>.
Avviso: il tag <param> non è racchiuso tra <applet> ... </applet>.
Avviso: il tag <param> non è racchiuso tra <applet> ... </applet>.
PIPE: appletviewer read: instance-2809-0
PIPE: appletviewer read: width 480
Exception in thread "main" java.lang.NullPointerException
at sun.applet.PluginMain.start(PluginMain.java:211)
at sun.applet.PluginMain.main(PluginMain.java:73)
GCJ PLUGIN: thread 0x956cd30: plugin_out_pipe_callback
GCJ PLUGIN: thread 0x956cd30: plugin_out_pipe_callback: appletviewer has stopped.
GCJ PLUGIN: thread 0x956cd30: plugin_out_pipe_callback return
GCJ PLUGIN: thread 0x956cd30: plugin_in_pipe_callback
GCJ PLUGIN: thread 0x956cd30: appletviewer has stopped.
GCJ PLUGIN: thread 0x956cd30: plugin_in_pipe_callback return
(firefox-bin:2809): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
(firefox-bin:2809): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
(firefox-bin:2809): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
(firefox-bin:2809): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
Java upload: null pointer exception
-
mescall2000
- Phoca Newbie

- Posts: 2
- Joined: 11 May 2009, 11:58
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Java upload: null pointer exception
Hi, this java code is from third party and there is known problem on Macs, maybe some new problem on debian 
Jan
Jan
If you find Phoca extensions useful, please support the project
-
mescall2000
- Phoca Newbie

- Posts: 2
- Joined: 11 May 2009, 11:58
Re: Java upload: null pointer exception
i can try to copy the jar from http://jupload.sourceforge.net/ ?Jan wrote:Hi, this java code is from third party and there is known problem on Macs, maybe some new problem on debian
Jan
Is this the component included in the phoca gallery?