Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
10.2k views
by (440 points)
Hi!

I get this error (like a hundred times) in java console when using the 4.0.1 version in safari (mac os x 10.4, jre 1.5.*).

Exception in thread "AWT-EventQueue-4" java.lang.NullPointerException
at com.enterprisedt.net.ftp.applet.FTPApplet.paint(Unknown Source)
at sun.awt.RepaintArea.paintComponent(RepaintArea.java:276)
at sun.awt.RepaintArea.paint(RepaintArea.java:241)
at apple.awt.ComponentModel.handleEvent(ComponentModel.java:251)
at java.awt.Component.dispatchEventImpl(Component.java:4126)
at java.awt.Container.dispatchEventImpl(Container.java:2068)
at java.awt.Component.dispatchEvent(Component.java:3885)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

Any clues as to why?

6 Answers

0 votes
by (162k points)
Could you post more of the console's output?
0 votes
by (440 points)
This is the whole:

Java Plug-in 1.5.0
Using JRE version 1.5.0_16 Java HotSpot(TM) Client VM
User home directory = /Users/gun


----------------------------------------------------
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
p: reload proxy configuration
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 log level is OFF
Integral FTP log level is OFF
Integral FTP log level is DEBUG
DEBUG [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class_FTPApplet] 22 Feb 2011 09:16:31.605 : minPoolSize = 1
DEBUG [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class_FTPApplet] 22 Feb 2011 09:16:31.605 : maxPoolSize = 5
DEBUG [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class_FTPApplet] 22 Feb 2011 09:16:31.606 : Integral FTP (c) 2007 Enterprise Distributed Technologies Pty Ltd. Version 4.0.1 (built 11-Nov-2010 16:53:29 EST)
INFO [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class_FTPApplet] 22 Feb 2011 09:16:31.613 : Created FTP client
ERROR [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class_FTPApplet] 22 Feb 2011 09:16:31.613 : Exception thrown during applet initialization : null
netscape.javascript.JSException
at netscape.javascript.JSObject.getWindow(JSObject.java:148)
at com.enterprisedt.net.ftp.applet.M.<init>(Unknown Source)
at com.enterprisedt.net.ftp.applet.FTPApplet.init(Unknown Source)
at sun.applet.AppletPanel.run(AppletPanel.java:380)
at java.lang.Thread.run(Thread.java:613)


netscape.javascript.JSException
at netscape.javascript.JSObject.getWindow(JSObject.java:148)
at com.enterprisedt.net.ftp.applet.M.<init>(Unknown Source)
at com.enterprisedt.net.ftp.applet.FTPApplet.init(Unknown Source)
at sun.applet.AppletPanel.run(AppletPanel.java:380)
at java.lang.Thread.run(Thread.java:613)
INFO [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class_FTPApplet] 22 Feb 2011 09:16:31.618 : FTPApplet started
INFO [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class_HTTPAcceptor] 22 Feb 2011 09:16:31.627 : Started listening on port 49315
DEBUG [Thread-36_LocalFSProcessor] 22 Feb 2011 09:16:31.630 : Running LocalFSProcessor
INFO [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class_HTTPAcceptor] 22 Feb 2011 09:16:31.635 : Started listening on port 49316
Exception in thread "AWT-EventQueue-4" java.lang.NullPointerException
at com.enterprisedt.net.ftp.applet.FTPApplet.paint(Unknown Source)
at sun.awt.RepaintArea.paintComponent(RepaintArea.java:276)
at sun.awt.RepaintArea.paint(RepaintArea.java:241)
at apple.awt.ComponentModel.handleEvent(ComponentModel.java:251)
at java.awt.Component.dispatchEventImpl(Component.java:4126)
at java.awt.Container.dispatchEventImpl(Container.java:2068)
at java.awt.Component.dispatchEvent(Component.java:3885)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
0 votes
by (440 points)
In your History-section for v4.0.0 I read "Default Java version changed to 1.6. ". Does this mean that I can change anything when having clients who only run JRE 1.5?
Or is this simply a case of "We dont support anything below 1.6"?

The reason I ask is because many of my companies clients are still running Mac OS X 10.4, which don't have an official JRE 1.6-version released. And their big company wont allow any installs of anthing else.

On later models of OS X (which have JRE 1.6) and on up-to-date windows-clients we do not see this error.



I also got this other messages yesterday when I was out at the client to test:

Java Plug-in 1.5.0
Using JRE version 1.5.0_16 Java HotSpot(TM) Client VM
User home directory = /Users/gun
----------------------------------------------------
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
p: reload proxy configuration
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>
----------------------------------------------------
DEBUG [Thread-21_FTPApplet] 1 Mar 2011 14:29:45.031 : Licensed for domain: integralftp
Integral FTP log level is DEBUG
DEBUG [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class_FTPApplet] 1 Mar 2011 14:29:45.134 : minPoolSize = 1
DEBUG [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class_FTPApplet] 1 Mar 2011 14:29:45.135 : maxPoolSize = 5
DEBUG [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class_FTPApplet] 1 Mar 2011 14:29:45.135 : Integral FTP (c) 2007 Enterprise Distributed Technologies Pty Ltd. Version 4.0.1 (built 11-Nov-2010 16:53:29 EST)
INFO [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class_FTPApplet] 1 Mar 2011 14:29:45.138 : Created FTP client
ERROR [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class_FTPApplet] 1 Mar 2011 14:29:45.138 : Exception thrown during applet initialization : null
netscape.javascript.JSException
at netscape.javascript.JSObject.getWindow(JSObject.java:148)
at com.enterprisedt.net.ftp.applet.M.<init>(Unknown Source)
at com.enterprisedt.net.ftp.applet.FTPApplet.init(Unknown Source)
at sun.applet.AppletPanel.run(AppletPanel.java:380)
at java.lang.Thread.run(Thread.java:613)


netscape.javascript.JSException
at netscape.javascript.JSObject.getWindow(JSObject.java:148)
at com.enterprisedt.net.ftp.applet.M.<init>(Unknown Source)
at com.enterprisedt.net.ftp.applet.FTPApplet.init(Unknown Source)
at sun.applet.AppletPanel.run(AppletPanel.java:380)
at java.lang.Thread.run(Thread.java:613)
INFO [thread applet-com/enterprisedt/net/ftp/applet/FTPApplet.class_FTPApplet] 1 Mar 2011 14:29:45.145 : FTPApplet started
0 votes
by (51.6k points)
I'm sorry, but IntegralFTP only works on Mac OSX 10.5 (Leopard) or later. This is because the Java-to-Javascript interfacing module in Safari were not fully implemented prior to this.

- Hans (EnterpriseDT)
0 votes
by (440 points)
Ok, but I didn't get it to work in firefox 3 on OS X 10.4.11, JRE 1.5.0_16 either.

Do you have any list of what browsers/OS'es that are supported, or something similar?
0 votes
by (51.6k points)
You can find a compatibility list at http://www.enterprisedt.com/forums/viewtopic.php?p=10058.

- Hans (EnterpriseDT)

Categories

...