java.lang.IllegalStateException: Indexer is stopped (com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer@56a5e7fb)

Atlassian JIRA | Lukasz Pater | 1 year ago
  1. 0

    h3. Summary When the application is starting up, the Spring context starts, but the review indexer is started afterwards. (see Run#mainImpl()). Requests that use the indexer will return with a 'Indexer is stopped' error before that happens (which should usually be a few seconds at most). h3. Expected Results The indexer starts as a part of the Spring context startup, and no errors are logged h3. Actual Results The below exception is thrown in the {{atlassian-fisheye-YYYY-MM-DD.log}} file: {noformat} 2016-02-26 12:03:20,000 ERROR [qtp458872080-139 ] fisheye TotalityFilter-logExceptionDetails - Exception "Indexer is stopped (com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer@56a5e7fb)" (java.lang.IllegalStateException) while processing "/rest/remote-link-aggregation/latest/aggregation" (Referer:"null") java.lang.IllegalStateException: Indexer is stopped (com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer@56a5e7fb) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer.checkStatus(DefaultReviewItemIndexer.java:374) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer.withIndexSearcher(DefaultReviewItemIndexer.java:745) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) {noformat} The stacktrace above appears after the +Spring context start+: {noformat} 2016-02-26 12:03:10,000 INFO [main ] org.eclipse.jetty.server.Server Server-doStart - jetty-8.1.10.v20130312 2016-02-26 12:03:10,001 INFO [main ] / ContextHandler$Context-log - Initializing Spring root WebApplicationContext {noformat} And the +Review indexer start+: {noformat} 2016-02-26 12:03:20,000 INFO [main ] fisheye Run-mainImpl - Server started on :8060 (http) (control port on 127.0.0.1:8059) 2016-02-26 12:03:20,001 INFO [qtp458872080-137 ] com.sun.jersey.server.impl.application.WebApplicationImpl WebApplicationImpl-_initiate - Initiating Jersey application, version 'Jersey: 1.8-atlassian-14 04/30/2014 06:01 PM' 2016-02-26 12:03:20,002 INFO [qtp458872080-137 ] com.sun.jersey.server.impl.application.WebApplicationImpl WebApplicationImpl-_initiate - Initiating Jersey application, version 'Jersey: 1.8-atlassian-14 04/30/2014 06:01 PM {noformat} h3. Notes The error can be safely ignored. It only occurs if a request using the indexer is triggered, so it may not be available after every start of the application.

    Atlassian JIRA | 1 year ago | Lukasz Pater
    java.lang.IllegalStateException: Indexer is stopped (com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer@56a5e7fb)
  2. 0

    h3. Summary When the application is starting up, the Spring context starts, but the review indexer is started afterwards. (see Run#mainImpl()). Requests that use the indexer will return with a 'Indexer is stopped' error before that happens (which should usually be a few seconds at most). h3. Expected Results The indexer starts as a part of the Spring context startup, and no errors are logged h3. Actual Results The below exception is thrown in the {{atlassian-fisheye-YYYY-MM-DD.log}} file: {noformat} 2016-02-26 12:03:20,000 ERROR [qtp458872080-139 ] fisheye TotalityFilter-logExceptionDetails - Exception "Indexer is stopped (com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer@56a5e7fb)" (java.lang.IllegalStateException) while processing "/rest/remote-link-aggregation/latest/aggregation" (Referer:"null") java.lang.IllegalStateException: Indexer is stopped (com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer@56a5e7fb) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer.checkStatus(DefaultReviewItemIndexer.java:374) at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer.withIndexSearcher(DefaultReviewItemIndexer.java:745) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) {noformat} The stacktrace above appears after the +Spring context start+: {noformat} 2016-02-26 12:03:10,000 INFO [main ] org.eclipse.jetty.server.Server Server-doStart - jetty-8.1.10.v20130312 2016-02-26 12:03:10,001 INFO [main ] / ContextHandler$Context-log - Initializing Spring root WebApplicationContext {noformat} And the +Review indexer start+: {noformat} 2016-02-26 12:03:20,000 INFO [main ] fisheye Run-mainImpl - Server started on :8060 (http) (control port on 127.0.0.1:8059) 2016-02-26 12:03:20,001 INFO [qtp458872080-137 ] com.sun.jersey.server.impl.application.WebApplicationImpl WebApplicationImpl-_initiate - Initiating Jersey application, version 'Jersey: 1.8-atlassian-14 04/30/2014 06:01 PM' 2016-02-26 12:03:20,002 INFO [qtp458872080-137 ] com.sun.jersey.server.impl.application.WebApplicationImpl WebApplicationImpl-_initiate - Initiating Jersey application, version 'Jersey: 1.8-atlassian-14 04/30/2014 06:01 PM {noformat} h3. Notes The error can be safely ignored. It only occurs if a request using the indexer is triggered, so it may not be available after every start of the application.

    Atlassian JIRA | 1 year ago | Lukasz Pater
    java.lang.IllegalStateException: Indexer is stopped (com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer@56a5e7fb)
  3. 0
    In all ActiveAndroid tables there should be a primary key field with the name "Id" (with a capital "I").
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    You expected a file in the SD card or internal memory, but you have to deal with a file from Google drive.
    via GitHub by forouher
  6. 0

    IllegalStateException in ChangeRecorder.endRecording (149)

    Eclipse Bugzilla | 1 year ago | error-reports-inbox
    java.lang.IllegalStateException: Recorder is already stopped

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Indexer is stopped (com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer@56a5e7fb)

      at com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer.checkStatus()
    2. com.atlassian.crucible
      DefaultReviewItemIndexer.withIndexSearcher
      1. com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer.checkStatus(DefaultReviewItemIndexer.java:374)
      2. com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer.withIndexSearcher(DefaultReviewItemIndexer.java:745)
      2 frames
    3. Java RT
      NativeMethodAccessorImpl.invoke0
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      1 frame