Grokbase Groups Lucene dev May 2016
FAQ
: This failure looks impossible to me - docsSent, an AtomicInteger
: initialized at 0 with only .incrementAndGet() and .get() called on it,
: should never be less than zero - I don’t have Java9 but this does not
: reproduce with Java8:

It wouldn't have to be less then zero -- if the value was zero this same
IllegalArgumentException would be thrown from Random.nextInt.

AS for why the value would still be zero by the time it gets to that line
... no idea. This test is pretty light on logging / exception handling.


: > On May 30, 2016, at 9:44 AM, Policeman Jenkins Server wrote:
: >
: > Build: http://jenkins.thetaphi.de/job/Lucene-Solr-master-Linux/16869/
: > Java: 64bit/jdk-9-ea+120 -XX:-UseCompressedOops -XX:+UseG1GC
: >
: > FAILED: org.apache.solr.cloud.DistributedVersionInfoTest.testReplicaVersionHandling
: >
: > Error Message:
: > Captured an uncaught exception in thread: Thread[id=11139, name=Thread-3542, state=RUNNABLE, group=TGRP-DistributedVersionInfoTest]
: >
: > Stack Trace:
: > com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an uncaught exception in thread: Thread[id=11139, name=Thread-3542, state=RUNNABLE, group=TGRP-DistributedVersionInfoTest]
: > at __randomizedtesting.SeedInfo.seed([C143D2FAB9AFC4F3:1DBA05001BD40EB2]:0)
: > Caused by: java.lang.IllegalArgumentException: bound must be positive
: > at __randomizedtesting.SeedInfo.seed([C143D2FAB9AFC4F3]:0)
: > at java.util.Random.nextInt(java.base@9-ea/Random.java:388)
: > at org.apache.solr.cloud.DistributedVersionInfoTest$3.run(DistributedVersionInfoTest.java:204)
:
:
:
: ---------------------------------------------------------------------
: To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
: For additional commands, e-mail: dev-help@lucene.apache.org
:
:

-Hoss
http://www.lucidworks.com/

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 8 of 9 | next ›
Discussion Overview
groupdev @
categorieslucene
postedMay 30, '16 at 9:50a
activeMay 31, '16 at 6:31p
posts9
users3
websitelucene.apache.org

People

Translate

site design / logo © 2017 Grokbase