FTP fails when uploading to empty dir

Report and discuss bugs here!
Post Reply
computerfreaked
Posts: 1
Joined: Tue Jun 09, 2009 9:36 am

FTP fails when uploading to empty dir

Post by computerfreaked »

When using filezilla i have no problems uploading to empty dirs.

When using yawcam it throws some nullpointer exception see log:





YAWCAM - Yet Another Webcam Software
java.home: C:\Program Files\Java\jre6
url: http://www.yawcam.com/ver.dat
url: http://hem.bredband.net/b418512/ver.dat
Resolving public IP.
Passwords:
---------------------------------
---------------------------------
Banned ip:
---------------------------------
---------------------------------
Running init for cam: 0 format: 0
F: http://www.yawcam.com/ver.dat
F: http://hem.bredband.net/b418512/ver.dat
0.3.0 == 0.3.0 -> 0
dsj.dll version: 0_8_33
dsj.jar version: 0_8_33
queryDevices()...
145.97.216.197
Devices:
[0]: Logitech QuickCam Messenger
[0]: \\?\usb#vid_046d&pid_08f0&mi_00#6&20363951&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
[1]: none
[1]: none
Audio Devices:
[0]: Logitech Microphone (Messenger)
[0]: Logitech Microphone (Messenger)
[1]: Realtek HD Audio input
[1]: Realtek HD Audio input
[2]: none
[2]: none
.registering capture device: \\?\usb#vid_046d&pid_08f0&mi_00#6&20363951&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
.....[0]: Logitech QuickCam Messenger
[0]: \\?\usb#vid_046d&pid_08f0&mi_00#6&20363951&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
[1]: none
[1]: none
Graph Event: 9 (see DSFiltergraph event codes)
Graph Event: 10 (see DSFiltergraph event codes)
Graph Event: 13 (see DSFiltergraph event codes)
Graph Event: 14 (see DSFiltergraph event codes)
Could not load motion\EventList.xml
(Will create a new one when needed...)
ready to go (INITIALIZED)
Gonna build "change to" now!
[0]: Logitech QuickCam Messenger
[0]: \\?\usb#vid_046d&pid_08f0&mi_00#6&20363951&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
[1]: none
[1]: none
ICON: 32 bbp: 32
&&&&&&&&&&&&&& PreviewFrame: SwingUtilities.isEventDispatchThread(): true
CU: 1
starting cam
PreviewFrame: Adding visualComponent!
Enter loop...
CU: 2
Connectar: ***** , 21
ftpLogin USERresp: 331 Anonymous login ok, send your complete email address as your password
ftpLogin PASSresp: 230 Anonymous access granted, restrictions apply
setDir resp: 250 CWD command successful
Seding PASV
Linlyn ftpGetDataSock() reply = 227 Entering Passive Mode (***,***,***,***,231,229).

**** this is where it goes wrong i guess ****

java.lang.NullPointerException
at yawcam.Linlyn.ftpGetFileList(Linlyn.java:532)
at yawcam.FtpOutputThread.run(FtpOutputThread.java:406)
Position 3
java.lang.NullPointerException
at yawcam.FtpOutputThread.run(FtpOutputThread.java:462)
sendOfflineImage: true
No. of outputthreds in main: 0
CU: 1
camusers: 1
Tries to delete tmp file...
Saved XML...
stopping cam
unregistering capture device: \\?\usb#vid_046d&pid_08f0&mi_00#6&20363951&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
Path: \\?\usb#vid_046d&pid_08f0&mi_00#6&20363951&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
Name: Logitech Microphone (Messenger)
Path: Logitech Microphone (Messenger)
Name: Realtek HD Audio input
Path: Realtek HD Audio input
graph initialized
got video device
added device to graph
try to render interleaved preview
try to render video preview
Intercepting
stopping event thread
Releasing control interfaces
Releasing DirectDraw
Releasing JAWT
Closing dsj sink
Releasing callback
Closing subclass instance
Releasing GraphBuilder
COM uninitialized


When the dir is not empty it works fine :)



Small detail: when it works it completely freezes all connections to the ftp server from my computer (including ssh/http). Not sure if that is a server problem or it has something to do with yawcam...
Post Reply