Make getEdgeWeight throw NPE on null edge.
Merge branch 'master' of https://github.com/jgrapht/jgrapht