#15 SaxParser on head gets a NullPointerException

v0.1.3
open
Parser (8)
5
2012-01-05
2012-01-05
No

The following exception:

caught exception parsing java.lang.NullPointerException null
java.lang.NullPointerException
at java.util.StringTokenizer.<init>(StringTokenizer.java:182)
at java.util.StringTokenizer.<init>(StringTokenizer.java:204)
at hotsax.html.sax.helpers.EntityResolverImpl.resolveEntity(EntityResolverImpl.java:39)
at hotsax.html.sax.SaxParser.parse(SaxParser.java:191)

occurs when:

InputSource input = new InputSource(new StringReader("<img src='picture.png'/></a>"));
parser.parse(input);

on platform:

java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-11M3527)
Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode)

Discussion

  • Simon Massey

    Simon Massey - 2012-01-05

    This problem also happens for the tag 0_1_3b but not for the tag 0_1_2b nor for the downloaded 0.1.3 version

     
  • Simon Massey

    Simon Massey - 2012-01-05

    incidentally their is no 0.1.2c tag in svn but that is the version file of the download.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks