Removing null in nextOrEndOfStream. Instead of a NullPointerException, we now get the friendly asserts
Merge pull request #1 from MediaMath/nullfix

Removing null in nextOrEndOfStream.