java.lang.NullPointerException: null

GitHub | dylanmei | 1 month 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. 0

    GitHub comment 261#269054400

    GitHub | 3 months ago | matejzero
    org.elasticsearch.ElasticsearchSecurityException: no permissions for indices:data/read/get
  2. 0

    Unclear error with `multi.allow_explicit_index` disabled in ES

    GitHub | 6 months ago | mohantnr
    java.lang.IllegalArgumentException: explicit index in multi get is not allowed
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 59#182772711

    GitHub | 1 year ago | lukas-vlcek
    java.lang.RuntimeException: Attempt from null to _all indices for indices:data/read/search and User [name=system.logging.kibana, roles=[]]
  5. 0

    GitHub comment 280#276237306

    GitHub | 2 months ago | armenak
    org.elasticsearch.ElasticsearchSecurityException: no permissions for indices:data/read/search

    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.NullPointerException

      null

      at com.floragunn.searchguard.ssl.rest.SearchGuardSSLInfoAction.prepareRequest()
    2. com.floragunn.searchguard
      SearchGuardSSLInfoAction.prepareRequest
      1. com.floragunn.searchguard.ssl.rest.SearchGuardSSLInfoAction.prepareRequest(SearchGuardSSLInfoAction.java:65)[search-guard-ssl-5.1.2-19.jar:5.1.2-19]
      1 frame
    3. ElasticSearch
      RestController$ControllerFilterChain.continueProcessing
      1. org.elasticsearch.rest.BaseRestHandler.handleRequest(BaseRestHandler.java:66)[elasticsearch-5.1.2.jar:5.1.2]
      2. org.elasticsearch.rest.RestController.executeHandler(RestController.java:243)[elasticsearch-5.1.2.jar:5.1.2]
      3. org.elasticsearch.rest.RestController$RestHandlerFilter.process(RestController.java:326)[elasticsearch-5.1.2.jar:5.1.2]
      4. org.elasticsearch.rest.RestController$ControllerFilterChain.continueProcessing(RestController.java:307)[elasticsearch-5.1.2.jar:5.1.2]
      4 frames
    4. com.floragunn.searchguard
      SearchGuardRestFilter.process
      1. com.floragunn.searchguard.filter.SearchGuardRestFilter.process(SearchGuardRestFilter.java:107)[search-guard-5-5.1.2-10.jar:?]
      1 frame
    5. ElasticSearch
      HttpServer.dispatchRequest
      1. org.elasticsearch.rest.RestController$ControllerFilterChain.continueProcessing(RestController.java:310)[elasticsearch-5.1.2.jar:5.1.2]
      2. org.elasticsearch.rest.RestController.dispatchRequest(RestController.java:203)[elasticsearch-5.1.2.jar:5.1.2]
      3. org.elasticsearch.http.HttpServer.dispatchRequest(HttpServer.java:113)[elasticsearch-5.1.2.jar:5.1.2]
      3 frames
    6. org.elasticsearch.http
      Netty4HttpServerTransport.dispatchRequest
      1. org.elasticsearch.http.netty4.Netty4HttpServerTransport.dispatchRequest(Netty4HttpServerTransport.java:507)[transport-netty4-client-5.1.2.jar:5.1.2]
      1 frame
    7. com.floragunn.searchguard
      SearchGuardNonSslHttpServerTransport.dispatchRequest
      1. com.floragunn.searchguard.http.SearchGuardNonSslHttpServerTransport.dispatchRequest(SearchGuardNonSslHttpServerTransport.java:62)[search-guard-5-5.1.2-10.jar:?]
      1 frame
    8. org.elasticsearch.http
      Netty4HttpRequestHandler.channelRead0
      1. org.elasticsearch.http.netty4.Netty4HttpRequestHandler.channelRead0(Netty4HttpRequestHandler.java:69)[transport-netty4-client-5.1.2.jar:5.1.2]
      1 frame
    9. Netty
      AbstractChannelHandlerContext.fireChannelRead
      1. io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)[netty-transport-4.1.6.Final.jar:4.1.6.Final]
      2. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:373)[netty-transport-4.1.6.Final.jar:4.1.6.Final]
      3. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359)[netty-transport-4.1.6.Final.jar:4.1.6.Final]
      4. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:351)[netty-transport-4.1.6.Final.jar:4.1.6.Final]
      4 frames
    10. org.elasticsearch.http
      HttpPipeliningHandler.channelRead
      1. org.elasticsearch.http.netty4.pipelining.HttpPipeliningHandler.channelRead(HttpPipeliningHandler.java:66)[transport-netty4-client-5.1.2.jar:5.1.2]
      1 frame
    11. Netty
      SingleThreadEventExecutor$5.run
      1. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:373)[netty-transport-4.1.6.Final.jar:4.1.6.Final]
      2. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359)[netty-transport-4.1.6.Final.jar:4.1.6.Final]
      3. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:351)[netty-transport-4.1.6.Final.jar:4.1.6.Final]
      4. io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)[netty-codec-4.1.6.Final.jar:4.1.6.Final]
      5. io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111)[netty-codec-4.1.6.Final.jar:4.1.6.Final]
      6. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:373)[netty-transport-4.1.6.Final.jar:4.1.6.Final]
      7. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359)[netty-transport-4.1.6.Final.jar:4.1.6.Final]
      8. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:351)[netty-transport-4.1.6.Final.jar:4.1.6.Final]
      9. io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)[netty-codec-4.1.6.Final.jar:4.1.6.Final]
      10. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:373)[netty-transport-4.1.6.Final.jar:4.1.6.Final]
      11. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359)[netty-transport-4.1.6.Final.jar:4.1.6.Final]
      12. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:351)[netty-transport-4.1.6.Final.jar:4.1.6.Final]
      13. io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)[netty-codec-4.1.6.Final.jar:4.1.6.Final]
      14. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:373)[netty-transport-4.1.6.Final.jar:4.1.6.Final]
      15. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359)[netty-transport-4.1.6.Final.jar:4.1.6.Final]
      16. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:351)[netty-transport-4.1.6.Final.jar:4.1.6.Final]
      17. io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)[netty-codec-4.1.6.Final.jar:4.1.6.Final]
      18. io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)[netty-codec-4.1.6.Final.jar:4.1.6.Final]
      19. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:373)[netty-transport-4.1.6.Final.jar:4.1.6.Final]
      20. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359)[netty-transport-4.1.6.Final.jar:4.1.6.Final]
      21. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:351)[netty-transport-4.1.6.Final.jar:4.1.6.Final]
      22. io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86)[netty-transport-4.1.6.Final.jar:4.1.6.Final]
      23. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:373)[netty-transport-4.1.6.Final.jar:4.1.6.Final]
      24. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359)[netty-transport-4.1.6.Final.jar:4.1.6.Final]
      25. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:351)[netty-transport-4.1.6.Final.jar:4.1.6.Final]
      26. io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1334)[netty-transport-4.1.6.Final.jar:4.1.6.Final]
      27. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:373)[netty-transport-4.1.6.Final.jar:4.1.6.Final]
      28. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:359)[netty-transport-4.1.6.Final.jar:4.1.6.Final]
      29. io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:926)[netty-transport-4.1.6.Final.jar:4.1.6.Final]
      30. io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:129)[netty-transport-4.1.6.Final.jar:4.1.6.Final]
      31. io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:651)[netty-transport-4.1.6.Final.jar:4.1.6.Final]
      32. io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:536)[netty-transport-4.1.6.Final.jar:4.1.6.Final]
      33. io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:490)[netty-transport-4.1.6.Final.jar:4.1.6.Final]
      34. io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:450)[netty-transport-4.1.6.Final.jar:4.1.6.Final]
      35. io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:873)[netty-common-4.1.6.Final.jar:4.1.6.Final]
      35 frames
    12. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[?:1.8.0_111]
      1 frame