Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.NullPointerException: 	at org.apache.hadoop.security.SecurityUtil.setTokenService(SecurityUtil.java:246)	at org.apache.hadoop.hdfs.DFSClient.getDelegationToken(DFSClient.java:408)	at org.apache.hadoop.hdfs.DistributedFileSystem.getDelegationToken(DistributedFileSystem.java:571)	at azkaban.security.HadoopSecurityManager_H_1_0$2.getToken(HadoopSecurityManager_H_1_0.java:268)	at azkaban.security.HadoopSecurityManager_H_1_0$2.run(HadoopSecurityManager_H_1_0.java:258)	at azkaban.security.HadoopSecurityManager_H_1_0$2.run(HadoopSecurityManager_H_1_0.java:255)	at java.security.AccessController.doPrivileged(Native Method)	at javax.security.auth.Subject.doAs(Subject.java:396)	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1122)	at azkaban.security.HadoopSecurityManager_H_1_0.prefetchToken(HadoopSecurityManager_H_1_0.java:253)	at azkaban.jobtype.HadoopPigJob.getHadoopTokens(HadoopPigJob.java:166)	at azkaban.jobtype.HadoopPigJob.run(HadoopPigJob.java:102)	at azkaban.execapp.JobRunner.runJob(JobRunner.java:379)	at azkaban.execapp.JobRunner.run(JobRunner.java:280)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)	at java.util.concurrent.FutureTask.run(FutureTask.java:138)	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)	at java.lang.Thread.run(Thread.java:662)