Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null pointer in Host.serialize #8437

Closed
cyberduck opened this issue Dec 22, 2014 · 10 comments
Closed

Null pointer in Host.serialize #8437

cyberduck opened this issue Dec 22, 2014 · 10 comments
Assignees
Labels
bug fixed ftp FTP Protocol Implementation
Milestone

Comments

@cyberduck
Copy link
Collaborator

9f1856e created the issue

Tested on multiple servers, when logging in, I get logged out immediately. Changing the preference to require logout verification doesn't help.

Cyberduck 4.6.1, Windows 7 Professional SP1

220 XXX XXXXXX
USER XXXXXXX
331 User XXXXXXX OK. Password required
PASS ********
230-User XXXXXXX has group access to:  ftpgroup  
230 OK. Current directory is /
FEAT
211-Extensions supported:
 EPRT
 IDLE
 MDTM
 SIZE
 REST STREAM
 MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
 MLSD
 ESTA
 PASV
 EPSV
 SPSV
 ESTP
211 End.
SYST
215 UNIX Type: L8
QUIT
221-Goodbye. You uploaded 0 and downloaded 0 kbytes.
221 Logout.

Attachments

@cyberduck
Copy link
Collaborator Author

9f1856e commented

This is the log from the same ftp site, using ws_ftp. If I check the option for Cyberduck to use passive mode, it crashes as soon as I try to connect.

Finding Host ftp.xxxxxxx.com ...
Connecting to xxxxxxxx
Connected to xxxxxxxxx in 0.027000 seconds, Waiting for Server Response
220 xxxxxx
Host type (1): AUTO
USER xxxxxxx
331 User xxxxxxx OK. Password required
PASS (hidden)
230-User xxxxxxx has group access to:  ftpgroup  
230 OK. Current directory is /
SYST
215 UNIX Type: L8
Host type (2): Unix (Standard)
Sending "FEAT" command to determine what features this server supports.
FEAT
211-Extensions supported:
 EPRT
 IDLE
 MDTM
 SIZE
 REST STREAM
 MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
 MLSD
 ESTA
 PASV
 EPSV
 SPSV
 ESTP
211 End.
Finished interpreting "FEAT" response.
Sending the FEAT command is optional.  You can disable it in the site options of the profile.
PWD
257 "/" is your current location
TYPE A200 TYPE is now ASCII
PASV
227 Entering Passive Mode (xxxxxx)
connecting data channel to xxxxxx
data channel connected to xxxxxxx
LIST
150 Accepted data connection
transferred 0 bytes in < 0.001 seconds, 0.000 bps ( 0.000 Bps), transfer succeeded.
226-Options: -l 
226 0 matches total

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Please attach the file cyberduck.log in the application support directory.

@cyberduck
Copy link
Collaborator Author

9f1856e commented

Log attached. Please note also that I updated to the current Java release Version 8 Update 25 (32-bit) with no changes to the issue.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Replying to [comment:5 lumigraphics]:

Log attached. Please note also that I updated to the current Java release Version 8 Update 25 (32-bit) with no changes to the issue.

Cyberduck requires no Java installation.

@cyberduck
Copy link
Collaborator Author

9f1856e commented

Ok thank you. I saw the null pointer exception listed as java.lang.NullPointerException

Glad we could ID a bug :)

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Can you attach the bookmark that is causing the problem. You can find them in the application support directory.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Replying to [comment:5 lumigraphics]:

Log attached. Please note also that I updated to the current Java release Version 8 Update 25 (32-bit) with no changes to the issue.

Caused by: java.lang.NullPointerException
	at ch.cyberduck.core.Host.serialize(Host.java:279)
	at ch.cyberduck.ui.threading.BrowserBackgroundAction.connect(BrowserBackgroundAction.java:67)
	at ch.cyberduck.core.threading.SessionBackgroundAction.call(SessionBackgroundAction.java:166)
	at ch.cyberduck.ui.AbstractController$BackgroundCallable.call(AbstractController.java:175)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:167)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:604)
	at ch.cyberduck.core.threading.NamedThreadFactory$1.run(NamedThreadFactory.java:58)
	at java.lang.Thread.run(Thread.java:937)

@cyberduck
Copy link
Collaborator Author

@dkocher commented

#8460 closed as duplicate.

@cyberduck
Copy link
Collaborator Author

@ylangisc commented

In 83d54bf.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Please update to the latest snapshot build available.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug fixed ftp FTP Protocol Implementation
Projects
None yet
Development

No branches or pull requests

2 participants