java.lang.RuntimeException: java.lang.AssertionError: inform must be called first

Apache's JIRA Issue Tracker | Hoss Man | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    java.lang.OutOfMemoryError for Solr Queries Including Grouping And Sorting

    Stack Overflow | 3 years ago | azi
    java.lang.RuntimeException: java.lang.OutOfMemoryError: Java heap space
  3. 0

    OutOfMemory with Solr4

    Stack Overflow | 4 years ago | Francisco Spaeth
    java.lang.RuntimeException: java.lang.OutOfMemoryError: Java heap space

  1. rp 1 times, last 4 months ago
3 unregistered visitors
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.AssertionError

    inform must be called first

    at org.apache.solr.search.similarities.SchemaSimilarityFactory.getSimilarity()
  2. Apache Solr Core
    SolrDispatchFilter.doFilter
    1. org.apache.solr.search.similarities.SchemaSimilarityFactory.getSimilarity(SchemaSimilarityFactory.java:86)
    2. org.apache.solr.schema.IndexSchema.getSimilarity(IndexSchema.java:269)
    3. org.apache.solr.search.SolrIndexSearcher.<init>(SolrIndexSearcher.java:255)
    4. org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1628)
    5. org.apache.solr.update.DirectUpdateHandler2.commit(DirectUpdateHandler2.java:635)
    6. org.apache.solr.update.processor.RunUpdateProcessor.processCommit(RunUpdateProcessorFactory.java:95)
    7. org.apache.solr.update.processor.UpdateRequestProcessor.processCommit(UpdateRequestProcessor.java:64)
    8. org.apache.solr.update.processor.UpdateRequestProcessor.processCommit(UpdateRequestProcessor.java:64)
    9. org.apache.solr.update.processor.UpdateRequestProcessor.processCommit(UpdateRequestProcessor.java:64)
    10. org.apache.solr.update.processor.UpdateRequestProcessor.processCommit(UpdateRequestProcessor.java:64)
    11. org.apache.solr.update.processor.UpdateRequestProcessor.processCommit(UpdateRequestProcessor.java:64)
    12. org.apache.solr.update.processor.UpdateRequestProcessor.processCommit(UpdateRequestProcessor.java:64)
    13. org.apache.solr.update.processor.UpdateRequestProcessor.processCommit(UpdateRequestProcessor.java:64)
    14. org.apache.solr.update.processor.DistributedUpdateProcessor.doLocalCommit(DistributedUpdateProcessor.java:1616)
    15. org.apache.solr.update.processor.DistributedUpdateProcessor.processCommit(DistributedUpdateProcessor.java:1593)
    16. org.apache.solr.update.processor.LogUpdateProcessor.processCommit(LogUpdateProcessorFactory.java:161)
    17. org.apache.solr.handler.RequestHandlerUtils.handleCommit(RequestHandlerUtils.java:69)
    18. org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:68)
    19. org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:151)
    20. org.apache.solr.core.SolrCore.execute(SolrCore.java:2079)
    21. org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:667)
    22. org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:460)
    23. org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:220)
    24. org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:179)
    24 frames
  3. Jetty
    ServletHandler$CachedChain.doFilter
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
    1 frame
  4. Apache Solr Core
    JettySolrRunner$DebugFilter.doFilter
    1. org.apache.solr.client.solrj.embedded.JettySolrRunner$DebugFilter.doFilter(JettySolrRunner.java:109)
    1 frame
  5. Jetty
    QueuedThreadPool$3.run
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
    2. org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:83)
    3. org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:300)
    4. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
    5. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
    6. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
    7. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
    8. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
    9. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
    10. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
    11. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
    12. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
    13. org.eclipse.jetty.server.Server.handle(Server.java:499)
    14. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
    15. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
    16. org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
    17. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
    18. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
    18 frames
  6. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame