You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Few of my html documents fail when I try parsing them using jTidy and after debugging I found that it was space before that is causing the issue . Is there anyway I can handle this whitespace please advice ?
Here is the error from console
Exception in thread "main" java.lang.NullPointerException
at org.w3c.tidy.PPrint.afterSpace(PPrint.java:1358)
at org.w3c.tidy.PPrint.afterSpace(PPrint.java:1366)
at org.w3c.tidy.PPrint.printTag(PPrint.java:1423)
at org.w3c.tidy.PPrint.printTree(PPrint.java:2209)
at org.w3c.tidy.PPrint.printTree(PPrint.java:2306)
at org.w3c.tidy.PPrint.printTree(PPrint.java:2363)
at org.w3c.tidy.PPrint.printTree(PPrint.java:2363)
at org.w3c.tidy.PPrint.printTree(PPrint.java:2363)
at org.w3c.tidy.PPrint.printTree(PPrint.java:2363)
at org.w3c.tidy.PPrint.printTree(PPrint.java:2152)
The text was updated successfully, but these errors were encountered:
Hi ,
I'm using jTidy version 1.0.2 and here is my configuration set up
Few of my html documents fail when I try parsing them using jTidy and after debugging I found that it was space before
that is causing the issue . Is there anyway I can handle this whitespace please advice ?
Here is the error from console
Exception in thread "main" java.lang.NullPointerException
at org.w3c.tidy.PPrint.afterSpace(PPrint.java:1358)
at org.w3c.tidy.PPrint.afterSpace(PPrint.java:1366)
at org.w3c.tidy.PPrint.printTag(PPrint.java:1423)
at org.w3c.tidy.PPrint.printTree(PPrint.java:2209)
at org.w3c.tidy.PPrint.printTree(PPrint.java:2306)
at org.w3c.tidy.PPrint.printTree(PPrint.java:2363)
at org.w3c.tidy.PPrint.printTree(PPrint.java:2363)
at org.w3c.tidy.PPrint.printTree(PPrint.java:2363)
at org.w3c.tidy.PPrint.printTree(PPrint.java:2363)
at org.w3c.tidy.PPrint.printTree(PPrint.java:2152)
The text was updated successfully, but these errors were encountered: