My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 3171: Exception while installing plugin through piped input
  Back to list
Status:  Invalid
Owner:  ----
Closed:  Feb 2015


Sign in to add a comment
 
Reported by eng...@gmail.com, Feb 10, 2015
*****************************************************************
*****                                                       *****
***** !!!! THIS BUG TRACKER IS FOR GERRIT CODE REVIEW !!!!  *****
*****                                                       *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, CYANOGENMOD,  *****
***** INTERNAL ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.*****
*****                                                       *****
*****   THOSE ISSUES BELONG IN DIFFERENT ISSUE TRACKERS     *****
*****                                                       *****
*****************************************************************

Affected Version:

What steps will reproduce the problem?
1.ssh -p 29418 localhost gerrit plugin install --name gravatar-avatar-provider - < /tmp/gravatar.jar

What is the expected output? What do you see instead?
com.google.gerrit.server.plugins.PluginInstallException: Unsupported plugin type: gravatar-avatar-provider
        at com.google.gerrit.server.plugins.PluginLoader.runPlugin(PluginLoader.java:477)
        at com.google.gerrit.server.plugins.PluginLoader.installPluginFromStream(PluginLoader.java:184)
        at com.google.gerrit.sshd.commands.PluginInstallCommand.run(PluginInstallCommand.java:98)
        at com.google.gerrit.sshd.SshCommand$1.run(SshCommand.java:35)
        at com.google.gerrit.sshd.BaseCommand$TaskThunk.run(BaseCommand.java:442)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
        at com.google.gerrit.server.git.WorkQueue$Task.run(WorkQueue.java:368)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:744)
Caused by: com.google.gerrit.server.plugins.InvalidPluginException: Unsupported plugin type: gravatar-avatar-provider
        at com.google.gerrit.server.plugins.PluginLoader.loadPlugin(PluginLoader.java:555)
        at com.google.gerrit.server.plugins.PluginLoader.runPlugin(PluginLoader.java:443)
        ... 12 more
fatal: Plugin failed to install. Cause: Unsupported plugin type: gravatar-avatar-provider


Please provide any additional information below.

Feb 10, 2015
#1 eng...@gmail.com
Solved. I must use .jar extension in name. Please close the issue.

ssh -p 29418 localhost gerrit plugin install --name gravatar.jar - < /tmp/gravatar.jar
Feb 12, 2015
Project Member #2 David.Os...@gmail.com
(No comment was entered for this change.)
Status: Invalid
Sign in to add a comment

Powered by Google Project Hosting