gerrit/gerrit-sshd/src/main/java/com/google/gerrit/sshd
David Pursehouse 1e2ead0a12 StreamEvents: Fix NPE when invoking the command with --help
When executing the command:

  ssh user@host gerrit stream-events --help

the onExit and destroy methods attempt to remove the event listener
registration which has not been initialized, resulting in NPE and
the command hanging.

Add null checks to prevent this.

Change-Id: I1b9ccd41d017e62f0a4206114ab15faa6ed8e000
2017-09-01 18:49:02 +09:00
..
commands StreamEvents: Fix NPE when invoking the command with --help 2017-09-01 18:49:02 +09:00
plugin Merge branch 'stable-2.13' 2017-03-16 14:54:14 +09:00
AbstractGitCommand.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
AdminHighPriorityCommand.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
AliasCommand.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
AliasCommandProvider.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
BaseCommand.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
CachingPublicKeyAuthenticator.java Bump SSHD version to 1.2.0 2016-04-05 19:46:08 +02:00
ChangeArgumentParser.java Merge branch 'stable-2.13' 2017-03-09 13:29:31 +09:00
CommandExecutor.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
CommandExecutorProvider.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
CommandExecutorQueueProvider.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
CommandFactoryProvider.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
CommandMetaData.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
CommandModule.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
CommandName.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
CommandProvider.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
Commands.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
DatabasePubKeyAuth.java DatabasePubKeyAuth: Also look for ecdsa keys and ed25519 keys 2017-05-08 01:40:09 +00:00
DispatchCommand.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
DispatchCommandProvider.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
GerritGSSAuthenticator.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
HostKeyProvider.java Add support for 384 and 521 bit ECSDA keys 2017-05-31 10:32:42 +09:00
NoShell.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
PluginCommandModule.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
SingleCommandPluginModule.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
SshAutoRegisterModuleGenerator.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
SshCommand.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
SshDaemon.java SshDaemon: Set NIO2_READ_TIMEOUT to sshd.idleTimeout 2017-05-11 05:44:45 +00:00
SshHostKeyModule.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
SshKeyCacheEntry.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
SshKeyCacheImpl.java Migrate external IDs to NoteDb (part 1) 2017-02-28 09:09:39 +01:00
SshKeyCreatorImpl.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
SshLog.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
SshLogLayout.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
SshModule.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
SshPluginStarterCallback.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
SshRemotePeerProvider.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
SshScope.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
SshSession.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
SshUtil.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
StreamCommandExecutor.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
StreamCommandExecutorProvider.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
SuExec.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00