| Issue 3211: | Intermittent Null Pointer Exception when showing process queue | |
| 1 person starred this issue and may be notified of changes. | Back to list |
*****************************************************************
***** *****
***** !!!! 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:
Gerrit 2.10
What steps will reproduce the problem?
1. When trying to show process queue in Gerrit after upgrading to Gerrit 2.10, there is an intermittent "Internal Server Error" error when showing process queue.
What is the expected output? What do you see instead?
Tasks in the process queue. Instead you get "Internal Server Error" on the terminal
Please provide any additional information below.
The error log shows the following stack trace:
[Time-Stamp] ERROR com.google.gerrit.sshd.BaseCommand : Internal server error (user <user-name> account <user-id>) during gerrit show-queue
java.lang.NullPointerException
at com.google.gerrit.server.config.ListTasks$TaskInfo.<init>(ListTasks.java:127)
at com.google.gerrit.server.config.ListTasks$1.getTaskInfo(ListTasks.java:93)
at com.google.gerrit.server.config.ListTasks$1.getTaskInfo(ListTasks.java:90)
at com.google.gerrit.server.git.WorkQueue.getTaskInfos(WorkQueue.java:133)
at com.google.gerrit.server.config.ListTasks.getTasks(ListTasks.java:89)
at com.google.gerrit.server.config.ListTasks.apply(ListTasks.java:64)
at com.google.gerrit.sshd.commands.ShowQueue.run(ShowQueue.java:79)
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:745)
"
Feb 25, 2015
Project Member
#1
david.pu...@sonymobile.com
Status:
ChangeUnderReview
Feb 26, 2015
I cannot identify exactly which task triggered this NPE, however it is related to mergeability checks which runs upon instance start-up as the upgrade was performed in test environment and no other tasks are expected in queue.
Feb 26, 2015
I commented on the change, this is cause when an ls-project command is executing when you execute the show-queue.
Mar 19, 2015
(No comment was entered for this change.)
Status:
Released
|
|
| ► Sign in to add a comment |