java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • When specifying an invalid handle to retrieve results from the analytics/result endpoint, there is no error returned. In fact there is no response returned to the request and there are some errors in the logs. *Request* : curl -v http://10.111.151.102:8095/analytics/result?handle=%7B%22handle%22:%5B1,0%5D%7D -G *Error in logs (cc.log)*: 2017-02-14T09:45:18.752Z INFO CBAS.logging.LoggingHandler [nioEventLoopGroup-2-1] [id: 0x5c8f7f4f, L:/0:0:0:0:0:0:0:0:8095] RECEIVED: [id: 0xa304ce3a, L:/10.111.151.102:8095 - R:/10.111.151.102:54912] 2017-02-14T09:45:18.897Z INFO CBAS.work.WorkQueue [Worker:ClusterController] Executing: GetResultPartitionLocations: JobId@JID:1 ResultSetId@RSID:0 Known@null Exception in thread "Executor-3:ClusterController" java.lang.NullPointerException at org.apache.hyracks.control.cc.dataset.DatasetDirectoryService.getNonNullDatasetJobRecord(DatasetDirectoryService.java:104) at org.apache.hyracks.control.cc.dataset.DatasetDirectoryService.updatedRecords(DatasetDirectoryService.java:223) at org.apache.hyracks.control.cc.dataset.DatasetDirectoryService.getResultPartitionLocations(DatasetDirectoryService.java:196) at org.apache.hyracks.control.cc.work.GetResultPartitionLocationsWork$1.run(GetResultPartitionLocationsWork.java:59) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)
    via by Mihir Kamdar,
    • java.lang.NullPointerException at org.apache.hyracks.control.cc.dataset.DatasetDirectoryService.getNonNullDatasetJobRecord(DatasetDirectoryService.java:104) at org.apache.hyracks.control.cc.dataset.DatasetDirectoryService.updatedRecords(DatasetDirectoryService.java:223) at org.apache.hyracks.control.cc.dataset.DatasetDirectoryService.getResultPartitionLocations(DatasetDirectoryService.java:196) at org.apache.hyracks.control.cc.work.GetResultPartitionLocationsWork$1.run(GetResultPartitionLocationsWork.java:59) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)
    No Bugmate found.