Affected Version:
Clone gerrit code, checkout 9f9829e7ecffb0817e39df597db11d7c1e7ce164 commit.
What steps will reproduce the problem?
1. Install gerrit on a fresh new database
2. Create project
3. Upload changes
4. Publish comments on any change
What is the expected output? What do you see instead?
Instead of publishing comments, an exception is thrown at line 170 of PublishComments.java .
Please provide any additional information below.
If you agree, we can upload a patch fixing it. The modification we have done is to modify 158 so all receives an instance of ArrayList through the constructor receiving as argument the original content of line 158. In case you agree with our fix, please, assign it to Gustaf Lundh and I will ask him to push it.
Labels: FixedIn-2.2.2