java.lang.NullPointerException

Server Fault | JasCav | 3 years 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

    java.lang.NullPointerException When Doing A Read in HDFS

    Server Fault | 3 years ago | JasCav
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Why do non data nodes need rack awareness?

    Google Groups | 10 months ago | Colin Kincaid Williams
    java.lang.NullPointerException

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

    No message provided

    at org.apache.hadoop.hdfs.server.blockmanagement.DatanodeManager.sortLocatedBlocks()
  2. Apache Hadoop HDFS
    ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod
    1. org.apache.hadoop.hdfs.server.blockmanagement.DatanodeManager.sortLocatedBlocks(DatanodeManager.java:334)
    2. org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocations(FSNamesystem.java:1343)
    3. org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.getBlockLocations(NameNodeRpcServer.java:413)
    4. org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.getBlockLocations(ClientNamenodeProtocolServerSideTranslatorPB.java:172)
    5. org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java:44938)
    5 frames
  3. Hadoop
    Server$Handler$1.run
    1. org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:453)
    2. org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1002)
    3. org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1752)
    4. org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1748)
    4 frames
  4. Java RT
    Subject.doAs
    1. java.security.AccessController.doPrivileged(Native Method)
    2. javax.security.auth.Subject.doAs(Subject.java:396)
    2 frames
  5. Hadoop
    Server$Handler.run
    1. org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1438)
    2. org.apache.hadoop.ipc.Server$Handler.run(Server.java:1746)
    2 frames