java.lang.NullPointerException

GitHub | hc4 | 7 months 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

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.graylog2.indexer.indices.Indices.checkForReopened()
    2. graylog2-server
      Indices.lambda$areReopened$1
      1. org.graylog2.indexer.indices.Indices.checkForReopened(Indices.java:382)[graylog.jar:?]
      2. org.graylog2.indexer.indices.Indices.lambda$areReopened$1(Indices.java:377)[graylog.jar:?]
      2 frames
    3. Java RT
      ReferencePipeline.collect
      1. java.util.stream.Collectors.lambda$toMap$58(Collectors.java:1321)[?:1.8.0_91]
      2. java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)[?:1.8.0_91]
      3. java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1540)[?:1.8.0_91]
      4. java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)[?:1.8.0_91]
      5. java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)[?:1.8.0_91]
      6. java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)[?:1.8.0_91]
      7. java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)[?:1.8.0_91]
      8. java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)[?:1.8.0_91]
      8 frames
    4. graylog2-server
      IndexerOverviewResource.index
      1. org.graylog2.indexer.indices.Indices.areReopened(Indices.java:376)[graylog.jar:?]
      2. org.graylog2.rest.resources.system.indexer.IndexerOverviewResource.index(IndexerOverviewResource.java:83)[graylog.jar:?]
      2 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor136.invoke(Unknown Source)[?:?]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_91]
      3. java.lang.reflect.Method.invoke(Method.java:498)[?:1.8.0_91]
      3 frames
    6. jersey-core-server
      ServerRuntime$2.run
      1. org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)[graylog.jar:?]
      2. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)[graylog.jar:?]
      3. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)[graylog.jar:?]
      4. org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)[graylog.jar:?]
      5. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)[graylog.jar:?]
      6. org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)[graylog.jar:?]
      7. org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)[graylog.jar:?]
      8. org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)[graylog.jar:?]
      9. org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)[graylog.jar:?]
      9 frames
    7. Jersey Core
      RequestScope.runInScope
      1. org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)[graylog.jar:?]
      2. org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)[graylog.jar:?]
      3. org.glassfish.jersey.internal.Errors.process(Errors.java:315)[graylog.jar:?]
      4. org.glassfish.jersey.internal.Errors.process(Errors.java:297)[graylog.jar:?]
      5. org.glassfish.jersey.internal.Errors.process(Errors.java:267)[graylog.jar:?]
      6. org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)[graylog.jar:?]
      6 frames
    8. jersey-core-server
      ApplicationHandler.handle
      1. org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)[graylog.jar:?]
      2. org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)[graylog.jar:?]
      2 frames
    9. jersey-container-grizzly2-http
      GrizzlyHttpContainer.service
      1. org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:384)[graylog.jar:?]
      1 frame
    10. Grizzly Server
      HttpHandler$1.run
      1. org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:224)[graylog.jar:?]
      1 frame
    11. Metrics Core
      InstrumentedExecutorService$InstrumentedRunnable.run
      1. com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:176)[graylog.jar:?]
      1 frame
    12. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_91]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_91]
      3. java.lang.Thread.run(Thread.java:745)[?:1.8.0_91]
      3 frames