Cyberduck Mountain Duck CLI

#7925 closed defect (fixed)

Null pointer in login service

Reported by: some_user Owned by:
Priority: high Milestone: 4.4.5
Component: core Version: 4.4.4
Severity: normal Keywords:
Cc: Architecture:
Platform:

Description

Hello, I just updated to Cyberduck 4.4.4 (Windows 7 64bit) from 4.4.3 and it seems that SFTP login is now broken. I did not check any other protocols though. When logging in, Cyberduck seems to connect to the server, but when successful, disconnects immediately without switching to the file browser view.

This error appears in the log file (cyberduck.log):

[background-1] FATAL ch.cyberduck.ui.AbstractController - Unhandled exception running background task null
java.lang.NullPointerException
	at ch.cyberduck.core.sftp.SFTPSession.login(SFTPSession.java:133)
	at ch.cyberduck.core.KeychainLoginService.login(KeychainLoginService.java:76)
	at ch.cyberduck.core.KeychainLoginService.login(KeychainLoginService.java:98)
	at ch.cyberduck.core.LoginConnectionService.connect(LoginConnectionService.java:149)
	at ch.cyberduck.core.LoginConnectionService.check(LoginConnectionService.java:101)
	at ch.cyberduck.core.threading.SessionBackgroundAction.connect(SessionBackgroundAction.java:175)
	at ch.cyberduck.ui.threading.BrowserBackgroundAction.connect(BrowserBackgroundAction.java:58)
	at ch.cyberduck.core.threading.SessionBackgroundAction.call(SessionBackgroundAction.java:158)
	at ch.cyberduck.ui.AbstractController$BackgroundCallable.call(AbstractController.java:159)
	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:57)
	at java.lang.Thread.run(Thread.java:937)

Change History (4)

comment:1 Changed on May 2, 2014 at 9:09:58 AM by dkocher

  • Milestone set to 4.5
  • Resolution set to fixed
  • Status changed from new to closed
  • Summary changed from Cyberduck does nothing when logging in via SFTP to Null pointer in login service

In r14556. Please update to the latest snapshot build available.

comment:2 Changed on May 2, 2014 at 9:13:05 AM by dkocher

  • Milestone changed from 4.5 to 4.4.5

comment:3 follow-up: Changed on May 2, 2014 at 10:52:22 AM by some_user

Unfortunately, that does not seem to fix the original problem. Although there's no NullPointerException anymore, I now find the following in the logfile:

[Thread-0] ERROR ch.cyberduck.ui.AbstractController - Error scheduling background task cli.Ch.Cyberduck.Ui.Controller.ConnectionController$ReachabilityAction@1ec0c6 for execution. Task java.util.concurrent.FutureTask@3b60695 rejected from java.util.concurrent.ThreadPoolExecutor@981557[Shutting down, pool size = 1, active threads = 1, queued tasks = 0, completed tasks = 2]

There's no stack trace there.

I'm now using Cyberduck 4.5 (14559) from the snapshot channel.

comment:4 in reply to: ↑ 3 Changed on Jun 4, 2014 at 1:38:52 PM by dkocher

Replying to some_user:

Unfortunately, that does not seem to fix the original problem. Although there's no NullPointerException anymore, I now find the following in the logfile:

[Thread-0] ERROR ch.cyberduck.ui.AbstractController - Error scheduling background task cli.Ch.Cyberduck.Ui.Controller.ConnectionController$ReachabilityAction@1ec0c6 for execution. Task java.util.concurrent.FutureTask@3b60695 rejected from java.util.concurrent.ThreadPoolExecutor@981557[Shutting down, pool size = 1, active threads = 1, queued tasks = 0, completed tasks = 2]

There's no stack trace there.

I'm now using Cyberduck 4.5 (14559) from the snapshot channel.

That looks like #7680.

Note: See TracTickets for help on using tickets.
swiss made software