What i really know about java.lang.NullPointerException is that you are putting a DOT on an object(executor) of a method that is null. In this case the object or the executor is null at the time it is called. send some piece of code to clarify this.
Isaac Kwame
