Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
10.1k views
by (300 points)
I have an issue with version 3.1 and FireFox 7.0.1 (java 1.6.29). I am using an upload button on a form to start the process. When clicking on the button the control initialises and the file selection dialog box is opened. Once a file is selected nothing else happens. This works OK with IE8 (32bit). The client is Windows 7 64 bit.

The java console logs are

Java Plug-in 1.6.0_29
Using JRE version 1.6.0_29-b11 Java HotSpot(TM) Client VM
User home directory = C:\Users\afrench
----------------------------------------------------
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 occurred during event dispatching:
java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThreadGroup)
   at java.security.AccessControlContext.checkPermission(Unknown Source)
   at java.security.AccessController.checkPermission(Unknown Source)
   at java.lang.SecurityManager.checkPermission(Unknown Source)
   at sun.plugin2.applet.Applet2SecurityManager.checkAccess(Unknown Source)
   at java.lang.ThreadGroup.checkAccess(Unknown Source)
   at java.lang.Thread.init(Unknown Source)
   at java.lang.Thread.<init>(Unknown Source)
   at sun.plugin2.applet.Plugin2Manager.start(Unknown Source)
   at sun.plugin2.main.client.PluginMain$StartAppletRunner.run(Unknown Source)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$000(Unknown Source)
   at java.awt.EventQueue$1.run(Unknown Source)
   at java.awt.EventQueue$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.Dialog$1.run(Unknown Source)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$000(Unknown Source)
   at java.awt.EventQueue$1.run(Unknown Source)
   at java.awt.EventQueue$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$2.run(Unknown Source)
   at java.awt.EventQueue$2.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)
DEBUG [AWT-EventQueue-12_FilePrompt] 1 Nov 2011 12:16:25.717 : componentHidden
DEBUG [AWT-EventQueue-12_FilePrompt] 1 Nov 2011 12:16:25.719 : Dialog closed com.enterprisedt.net.ftp.applet.dialog.FilePrompt[10]: crashreporter.ini
DEBUG [AWT-EventQueue-12_JSWrapper] 1 Nov 2011 12:16:25.720 : Javascript invocation: setTimeout("FTPClient_onDialogResult('0', 1000000)", 100)
DEBUG [DialogManager_DialogManager] 1 Nov 2011 12:16:25.720 : Waiting for dialog closure, java.awt.FileDialog[filedlg11,329,283,0x0,invalid,hidden,APPLICATION_MODAL,title=Please select a file,dir= C:\Program Files (x86)\Mozilla Firefox\,file= crashreporter.ini,load]
netscape.javascript.JSException: No such method "setTimeout" on JavaScript object
   at sun.plugin2.main.client.MessagePassingJSObject.newJSException(Unknown Source)
   at sun.plugin2.main.client.MessagePassingJSObject.waitForReply(Unknown Source)
   at sun.plugin2.main.client.MessagePassingJSObject.call(Unknown Source)
   at com.enterprisedt.net.ftp.applet.M.A(Unknown Source)
   at com.enterprisedt.net.ftp.applet.B.A(Unknown Source)
   at com.enterprisedt.net.ftp.applet.dialog.B.D(Unknown Source)
   at com.enterprisedt.net.ftp.applet.dialog.FilePrompt.E(Unknown Source)
   at com.enterprisedt.net.ftp.applet.dialog.FilePrompt.componentHidden(Unknown Source)
   at java.awt.Component.processComponentEvent(Unknown Source)
   at java.awt.Component.processEvent(Unknown Source)
   at java.awt.Container.processEvent(Unknown Source)
   at java.awt.Window.processEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Window.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$000(Unknown Source)
   at java.awt.EventQueue$1.run(Unknown Source)
   at java.awt.EventQueue$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$2.run(Unknown Source)
   at java.awt.EventQueue$2.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
&nbsp

12 Answers

0 votes
by (300 points)
I think the 100001 issue may be relating to me testing IE and FF in parallel. I have now rebooted and with a fresh FF window still get the same lack of logging and the same hang. I have made the change to use AWT and this shows in the logs.

However - and this may be a clue, if I wait a while and then refresh the browser I suddenly get a raft of ftp logging in the java console

This is the debug up to the point of hanging. I have selected a file and clicked OK / Save in the dialog
Java Plug-in 1.6.0_29
Using JRE version 1.6.0_29-b11 Java HotSpot(TM) Client VM
User home directory = C:\Users\afrench
----------------------------------------------------
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>
----------------------------------------------------
Integral FTP (c) 2007 Enterprise Distributed Technologies Pty Ltd. Trial version 4.0.1 (built 1-Aug-2011 11:30:12 EST)
DEBUG [AWT-EventQueue-4_FTPApplet] 3 Nov 2011 14:58:17.170 : Licensed for domain: integralftp
INFO [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class-3_FTPApplet] 3 Nov 2011 14:58:17.176 : LogLevel=DEBUG
Integral FTP log level is DEBUG
INFO [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class-3_FTPApplet] 3 Nov 2011 14:58:17.176 : FTPApplet being initialized...
DEBUG [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class-3_FTPApplet] 3 Nov 2011 14:58:17.180 : minPoolSize = 1
DEBUG [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class-3_FTPApplet] 3 Nov 2011 14:58:17.181 : maxPoolSize = 5
INFO [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class-3_FTPApplet] 3 Nov 2011 14:58:17.182 : Created FTP client
INFO [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class-3_FTPApplet] 3 Nov 2011 14:58:17.183 : Document host = customersupportportaltest
INFO [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class-3_FTPApplet] 3 Nov 2011 14:58:17.187 : FTPApplet initialized
DEBUG [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class-3_JSWrapper] 3 Nov 2011 14:58:17.387 : Javascript invocation: setTimeout("FTPClient_onInitialize('0', -1,null)", 100)
INFO [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class-3_FTPApplet] 3 Nov 2011 14:58:17.392 : FTPApplet starting...
INFO [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class-3_HTTPAcceptor] 3 Nov 2011 14:58:17.395 : Started listening on port 60422
INFO [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class-3_HTTPAcceptor] 3 Nov 2011 14:58:17.397 : Started listening on port 60423
INFO [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class-3_FTPApplet] 3 Nov 2011 14:58:17.397 : FTPApplet started
DEBUG [Thread-44_LocalFSProcessor] 3 Nov 2011 14:58:17.402 : Running LocalFSProcessor
INFO [Applet 3 LiveConnect Worker Thread_FTPApplet] 3 Nov 2011 14:58:18.496 : LogLevel=DEBUG
DEBUG [Applet 3 LiveConnect Worker Thread_DialogManager] 3 Nov 2011 14:58:20.713 : Creating dialog, com.enterprisedt.net.ftp.applet.dialog.AWTFilePrompt[2]
DEBUG [Applet 3 LiveConnect Worker Thread_FTPApplet] 3 Nov 2011 14:58:20.717 : Adding result 1000000 - com.enterprisedt.net.ftp.applet.dialog.AWTFilePrompt
DEBUG [Applet 3 LiveConnect Worker Thread_DialogManager] 3 Nov 2011 14:58:20.717 : Queueing dialog, com.enterprisedt.net.ftp.applet.dialog.AWTFilePrompt[2]
DEBUG [Applet 3 LiveConnect Worker Thread_DialogManager] 3 Nov 2011 14:58:20.723 : Starting dialog thread
DEBUG [DialogManager_DialogManager] 3 Nov 2011 14:58:20.753 : Popped dialog from queue, com.enterprisedt.net.ftp.applet.dialog.AWTFilePrompt[2]
DEBUG [DialogManager_DialogManager] 3 Nov 2011 14:58:20.753 : Showing dialog, com.enterprisedt.net.ftp.applet.dialog.AWTFilePrompt[2]
DEBUG [AWT-EventQueue-4_FilePrompt] 3 Nov 2011 14:58:20.758 : componentMoved
DEBUG [AWT-EventQueue-4_FilePrompt] 3 Nov 2011 14:58:20.759 : componentShown
DEBUG [AWT-EventQueue-4_FilePrompt] 3 Nov 2011 14:58:20.760 : windowOpened
DEBUG [AWT-EventQueue-4_FilePrompt] 3 Nov 2011 14:58:23.567 : componentHidden
DEBUG [AWT-EventQueue-4_FilePrompt] 3 Nov 2011 14:58:23.567 : Dialog closed com.enterprisedt.net.ftp.applet.dialog.AWTFilePrompt[2]: crashreporter.exe
DEBUG [DialogManager_DialogInfo] 3 Nov 2011 14:58:23.577 : Acquiring lock 1
DEBUG [DialogManager_DialogInfo] 3 Nov 2011 14:58:23.577 : Acquired lock 1
DEBUG [DialogManager_DialogInfo] 3 Nov 2011 14:58:23.577 : Releasing lock 1
DEBUG [DialogManager_DialogManager] 3 Nov 2011 14:58:23.577 : Dialog shown
DEBUG [DialogManager_DialogManager] 3 Nov 2011 14:58:23.578 : No dialogs queued.  Waiting...
DEBUG [AWT-EventQueue-4_JSWrapper] 3 Nov 2011 14:58:23.768 : Javascript invocation: setTimeout("FTPClient_onDialogResult('0', 1000000)", 100)
DEBUG [AWT-EventQueue-4_FilePrompt] 3 Nov 2011 14:58:23.769 : windowClosed
DEBUG [Applet 3 LiveConnect Worker Thread_FTPApplet] 3 Nov 2011 14:58:23.867 : Found result for task 1000000 of type com.enterprisedt.net.ftp.applet.dialog.AWTFilePrompt


This then follows a "F5" refresh in the browser

INFO [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class-3_FTPApplet] 3 Nov 2011 15:02:45.761 : FTPApplet stopping...
DEBUG [Thread-44_LocalFSProcessor] 3 Nov 2011 15:02:45.853 : LocalFSProcessor stopping
DEBUG [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class-3_HTTPHandler-13] 3 Nov 2011 15:02:45.854 : Shutting down handler
DEBUG [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class-3_HTTPHandler-14] 3 Nov 2011 15:02:45.854 : Shutting down handler
DEBUG [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class-3_HTTPHandler-15] 3 Nov 2011 15:02:45.854 : Shutting down handler
DEBUG [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class-3_HTTPHandler-16] 3 Nov 2011 15:02:45.854 : Shutting down handler
DEBUG [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class-3_HTTPHandler-17] 3 Nov 2011 15:02:45.854 : Shutting down handler
DEBUG [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class-3_HTTPHandler-18] 3 Nov 2011 15:02:45.854 : Shutting down handler
INFO [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class-3_FTPApplet] 3 Nov 2011 15:02:45.855 : FTPApplet stopped
INFO [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class-3_FTPApplet] 3 Nov 2011 15:02:45.855 : FTPApplet being destroyed...
DEBUG [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class-3_FTPTaskProcessor] 3 Nov 2011 15:02:45.855 : shutdown(true) called
DEBUG [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class-3_FTPTaskProcessor] 3 Nov 2011 15:02:45.855 : Interrupting FTPThread_edt_0
DEBUG [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class-3_FTPTaskProcessor] 3 Nov 2011 15:02:45.855 : Interrupting FTPThread_edt_1
DEBUG [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class-3_FTPTaskProcessor] 3 Nov 2011 15:02:45.855 : Interrupting FTPThread_edt_2
DEBUG [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class-3_
0 votes
by (51.6k points)
This thread went offline and the problem was resolved. The fix will be released in version 4.0.2 in the next few days.

- Hans (EnterpriseDT)

Categories

...