java.lang.NullPointerException

JIRA | Andrew Audibert | 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. 0

    The hdfs2Test build is consistently breaking from merging https://github.com/amplab/tachyon/pull/2003 {code} Running tachyon.security.MasterClientAuthenticationIntegrationTest Tests run: 4, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 7.371 sec <<< FAILURE! simpleAuthenticationOpenCloseTest(tachyon.security.MasterClientAuthenticationIntegrationTest) Time elapsed: 0.21 sec <<< ERROR! java.io.IOException: Failed after 32 retries. at tachyon.ClientBase.retryRPC(ClientBase.java:325) at tachyon.client.file.FileSystemMasterClient.create(FileSystemMasterClient.java:203) at tachyon.security.MasterClientAuthenticationIntegrationTest.authenticationOperationTest(MasterClientAuthenticationIntegrationTest.java:130) at tachyon.security.MasterClientAuthenticationIntegrationTest.simpleAuthenticationOpenCloseTest(MasterClientAuthenticationIntegrationTest.java:72) customAuthenticationOpenCloseTest(tachyon.security.MasterClientAuthenticationIntegrationTest) Time elapsed: 0.639 sec <<< ERROR! java.io.IOException: Failed after 32 retries. at tachyon.ClientBase.retryRPC(ClientBase.java:325) at tachyon.client.file.FileSystemMasterClient.create(FileSystemMasterClient.java:203) at tachyon.security.MasterClientAuthenticationIntegrationTest.authenticationOperationTest(MasterClientAuthenticationIntegrationTest.java:130) at tachyon.security.MasterClientAuthenticationIntegrationTest.customAuthenticationOpenCloseTest(MasterClientAuthenticationIntegrationTest.java:86) {code} The logs show {code} 2015-11-25 13:07:08,752 ERROR server.TThreadPoolServer (TThreadPoolServer.java:run) - Error occurred during processing of message. java.lang.NullPointerException at tachyon.security.authorization.PermissionStatus.get(PermissionStatus.java:120) at tachyon.master.file.FileSystemMaster.createInternal(FileSystemMaster.java:471) at tachyon.master.file.FileSystemMaster.create(FileSystemMaster.java:458) at tachyon.master.file.FileSystemMasterClientServiceHandler.create(FileSystemMasterClientServiceHandler.java:70) at tachyon.thrift.FileSystemMasterClientService$Processor$create.getResult(FileSystemMasterClientService.java:1255) at tachyon.thrift.FileSystemMasterClientService$Processor$create.getResult(FileSystemMasterClientService.java:1239) at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) at org.apache.thrift.TMultiplexedProcessor.process(TMultiplexedProcessor.java:123) at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:285) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) 2015-11-25 13:07:08,753 ERROR (ClientBase.java:retryRPC) - org.apache.thrift.transport.TTransportException {code} It seems that the user is not being set in {{PlainSaslServer.AuthorizedClientUser}}

    JIRA | 1 year ago | Andrew Audibert
    java.lang.NullPointerException
  2. 0

    The hdfs2Test build is consistently breaking from merging https://github.com/amplab/tachyon/pull/2003 {code} Running tachyon.security.MasterClientAuthenticationIntegrationTest Tests run: 4, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 7.371 sec <<< FAILURE! simpleAuthenticationOpenCloseTest(tachyon.security.MasterClientAuthenticationIntegrationTest) Time elapsed: 0.21 sec <<< ERROR! java.io.IOException: Failed after 32 retries. at tachyon.ClientBase.retryRPC(ClientBase.java:325) at tachyon.client.file.FileSystemMasterClient.create(FileSystemMasterClient.java:203) at tachyon.security.MasterClientAuthenticationIntegrationTest.authenticationOperationTest(MasterClientAuthenticationIntegrationTest.java:130) at tachyon.security.MasterClientAuthenticationIntegrationTest.simpleAuthenticationOpenCloseTest(MasterClientAuthenticationIntegrationTest.java:72) customAuthenticationOpenCloseTest(tachyon.security.MasterClientAuthenticationIntegrationTest) Time elapsed: 0.639 sec <<< ERROR! java.io.IOException: Failed after 32 retries. at tachyon.ClientBase.retryRPC(ClientBase.java:325) at tachyon.client.file.FileSystemMasterClient.create(FileSystemMasterClient.java:203) at tachyon.security.MasterClientAuthenticationIntegrationTest.authenticationOperationTest(MasterClientAuthenticationIntegrationTest.java:130) at tachyon.security.MasterClientAuthenticationIntegrationTest.customAuthenticationOpenCloseTest(MasterClientAuthenticationIntegrationTest.java:86) {code} The logs show {code} 2015-11-25 13:07:08,752 ERROR server.TThreadPoolServer (TThreadPoolServer.java:run) - Error occurred during processing of message. java.lang.NullPointerException at tachyon.security.authorization.PermissionStatus.get(PermissionStatus.java:120) at tachyon.master.file.FileSystemMaster.createInternal(FileSystemMaster.java:471) at tachyon.master.file.FileSystemMaster.create(FileSystemMaster.java:458) at tachyon.master.file.FileSystemMasterClientServiceHandler.create(FileSystemMasterClientServiceHandler.java:70) at tachyon.thrift.FileSystemMasterClientService$Processor$create.getResult(FileSystemMasterClientService.java:1255) at tachyon.thrift.FileSystemMasterClientService$Processor$create.getResult(FileSystemMasterClientService.java:1239) at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) at org.apache.thrift.TMultiplexedProcessor.process(TMultiplexedProcessor.java:123) at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:285) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) 2015-11-25 13:07:08,753 ERROR (ClientBase.java:retryRPC) - org.apache.thrift.transport.TTransportException {code} It seems that the user is not being set in {{PlainSaslServer.AuthorizedClientUser}}

    JIRA | 1 year ago | Andrew Audibert
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at tachyon.security.authorization.PermissionStatus.get()
    2. tachyon.security.authorization
      PermissionStatus.get
      1. tachyon.security.authorization.PermissionStatus.get(PermissionStatus.java:120)
      1 frame
    3. tachyon.master.file
      FileSystemMasterClientServiceHandler.create
      1. tachyon.master.file.FileSystemMaster.createInternal(FileSystemMaster.java:471)
      2. tachyon.master.file.FileSystemMaster.create(FileSystemMaster.java:458)
      3. tachyon.master.file.FileSystemMasterClientServiceHandler.create(FileSystemMasterClientServiceHandler.java:70)
      3 frames
    4. Tachyon Project Core
      FileSystemMasterClientService$Processor$create.getResult
      1. tachyon.thrift.FileSystemMasterClientService$Processor$create.getResult(FileSystemMasterClientService.java:1255)
      2. tachyon.thrift.FileSystemMasterClientService$Processor$create.getResult(FileSystemMasterClientService.java:1239)
      2 frames
    5. Apache Thrift
      TThreadPoolServer$WorkerProcess.run
      1. org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
      2. org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
      3. org.apache.thrift.TMultiplexedProcessor.process(TMultiplexedProcessor.java:123)
      4. org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:285)
      4 frames
    6. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames