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

Atlassian JIRA | Lukasz Pater | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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 | 2 years 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 | 2 years ago | Lukasz Pater
    java.lang.IllegalStateException: Indexer is stopped (com.atlassian.crucible.activity.lucene.DefaultReviewItemIndexer@56a5e7fb)
  3. 0

    开源中国(OSChina.NET)

    oschina.net | 2 years ago
    java.lang.IllegalStateException: Tomcat connector in failed state at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServle tContainer.start(TomcatEmbeddedServletContainer.java:157) at org.springframework.boot.context.embedded.EmbeddedWebApplicationConte xt.startEmbeddedServletContainer(EmbeddedWebApplicationContext.java:288) at org.springframework.boot.context.embedded.EmbeddedWebApplicationConte xt.finishRefresh(EmbeddedWebApplicationContext.java:141) at org.springframework.context.support.AbstractApplicationContext.refres h(AbstractApplicationContext.java:483) at org.springframework.boot.context.embedded.EmbeddedWebApplicationConte xt.refresh(EmbeddedWebApplicationContext.java:118) at org.springframework.boot.SpringApplication.refresh(SpringApplication. java:686) at org.springframework.boot.SpringApplication.run(SpringApplication.java :320) at org.springframework.boot.SpringApplication.run(SpringApplication.java :957) at org.springframework.boot.SpringApplication.run(SpringApplication.java :946) at com.baidu.rigel.biplatform.tesseract.application.TesseractApplication .main(TesseractApplication.java:63)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error while parsing common domain names using InternetDomainName.java

    GitHub | 2 years ago | marios-caspida
    java.lang.IllegalStateException: Not under a public suffix: us-east-1.amazonaws.com > at com.google.common.base.Preconditions.checkState(Preconditions.java:197) > at com.google.common.net.InternetDomainName.topPrivateDomain(InternetDomainName.java:424) > at *****.main(MyTestJavaClass.java:8> 9)
  6. 0

    Sonar runner is failing - Error while creating file [90062-167]

    Stack Overflow | 4 years ago | Biscuit128
    java.lang.IllegalStateException: Fail to connect to database at org.sonar.core.persistence.DefaultDatabase.start(DefaultDatabase.java :72)

    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