Hello Mahmood, I'm not aware of any Apache project with a class named IndexHDFS. I just did a scan over my local checkouts of the code for many of the Apache projects, and I didn't find anything.
The fact that IndexHDFS is not prefixed with a package name in the stack trace tells me that this is unlikely to be a class from any Apache project. Apache projects will put their classes into packages, usually some form of org.apache... Instead, this is likely to be application code that you ran using "hadoop jar", coming from either your own project or some kind of third-party tool that you're using. --Chris Nauroth On 5/5/15, 2:53 AM, "Mahmood N" <nt_mahm...@yahoo.com.INVALID> wrote: >Dear Apache Guys, >I am trying to run a hadoop/java command which uses a jar file called >"IndexData.jar". However, I get an error and the call stack shows > >Exception in thread "main" java.lang.NullPointerException > at IndexHDFS.indexData(IndexHDFS.java:92) > at IndexHDFS.main(IndexHDFS.java:72) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: >57) > at >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm >pl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at org.apache.hadoop.util.RunJar.main(RunJar.java:156) > > > >So my question is which apache project use the file "IndexHDFS.java"? If >you know, please let me know and save a someone's life! Regards, >Mahmood