Support Questions
Find answers, ask questions, and share your expertise
Alert: Please see the Cloudera blog for information on the Cloudera Response to CVE-2021-4428

Get Error when executing ./

New Contributor
[root@sandbox stream-simulator]# ./                                                                       
Exception in thread "main" java.lang.NullPointerException                                                            
        at java.util.ComparableTimSort.sort(                                              
        at java.util.Arrays.sort(                                                                    
        at com.hortonworks.streaming.impl.domain.transport.route.TruckRoutesParser.parseAllRoutes(TruckRoutesParser.j
        at com.hortonworks.streaming.impl.domain.transport.TruckConfiguration.parseRoutes(
        at com.hortonworks.streaming.impl.domain.transport.TruckConfiguration.initialize(  

at com.hortonworks.App.main(


Super Collaborator

@srivatsan chakravarti, make sure you have copied and storm-demo-webapp/routes to /etc/storm_demo folder. It is mentioned in a tutorial as one of the steps.

New Contributor

Yes, it is copied , below is listing..

root@sandbox stream-simulator]# cd /etc/storm_demo                                                                  
[root@sandbox storm_demo]# ls                                                                                 midwestnewyorktest
[root@sandbox storm_demo]# ls -alt                                                                                   
total 32                                                                                                             
drwxr-xr-x    5 root root  4096 2016-12-12 03:37 .
-rw-r--r--    1 root root  2274 2016-12-12 03:37                                                   
drwxr-xr-x    2 root root  4096 2016-12-12 03:37 newyork
drwxr-xr-x    2 root root  4096 2016-12-12 03:37 test
drwxr-xr-x    2 root root  4096 2016-12-12 03:37 midwest
drwxr-xr-x. 117 root root 12288 2016-12-12 03:37 ..
[root@sandbox storm_demo]#                          

Super Collaborator

@srivatsan chakravarti , did your maven clean package step finish successfully?