Update LineNumberTable.java

Check that index + 1 is valid index. Threw exception in wrong formatted file that ended on a '\r'.
Merge pull request #420 from ducklord/master

Update LineNumberTable.java