Merging my updates

I emailed you about this.. but I am getting null pointer errors when I try to add edges in the graph... I am not sure what is causing it but I call docGraph.addEdge(temp,filename,1) and it works for a few then gives me a null pointer exception.