Post the full stack trace of your NullPointerException and mark the place in your code where it's thrown with something like

myExistingCode(anObjectIMade); // <-- NPE thrown here