Menu

#262 AttVal.isEvent throws NullPointerException

open
nobody
None
5
2014-06-25
2014-06-25
Renato
No

In branch: CodeUpdateAndJava5 (r1261) in file org.w3c.tidy.AttVal.java:212 the code:
boolean isEvent() {
AttrId atid = dict.id;

Must be changed to:
boolean isEvent() {
AttrId atid = getId();

Or else a NullPointerException is thrown when dict is null.

Discussion


Log in to post a comment.