My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 3762: Crash in OutputStreamQuery when querying projects via ssh
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


Sign in to add a comment
 
Reported by sschuberth, Today (5 hours ago)
Affected Version: 2.11.4

What steps will reproduce the problem?
1. ssh -p 29418 gerrit.hostname.com gerrit query project:^.* --format=JSON --all-approvals --all-reviewers --comments --start 6500
2. Gerrit starts to return some data.
3. Gerrit returns "fatal: internal server error".

What is the expected output? What do you see instead?

I'd expect the data to be returned without an error. It works for other data ranges, like e.g. "--start 6000". Instead I see this in the server logs:

    java.lang.NullPointerException
        at com.google.gerrit.server.query.change.OutputStreamQuery.query(OutputStreamQuery.java:239)
        at com.google.gerrit.sshd.commands.Query.run(Query.java:96)
        at com.google.gerrit.sshd.SshCommand$1.run(SshCommand.java:35)
        at com.google.gerrit.sshd.BaseCommand$TaskThunk.run(BaseCommand.java:445)
        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:379)
        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)


Sign in to add a comment

Powered by Google Project Hosting