[ 
https://issues.apache.org/jira/browse/SLING-6783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oliver Lietz reopened SLING-6783:
---------------------------------
      Assignee: Oliver Lietz  (was: Robert Munteanu)

NPE when providing a configuration:
{noformat}
ERROR: [org.apache.sling.commons.html.impl.HtmlParserImpl(0)] The activate 
method has thrown an exception
java.lang.NullPointerException
        at 
org.apache.sling.commons.html.impl.HtmlParserImpl.activate(HtmlParserImpl.java:108)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
{noformat}

> update for org.apache.commons.html
> ----------------------------------
>
>                 Key: SLING-6783
>                 URL: https://issues.apache.org/jira/browse/SLING-6783
>             Project: Sling
>          Issue Type: Improvement
>          Components: Commons
>            Reporter: Jason E Bailey
>            Assignee: Oliver Lietz
>            Priority: Minor
>             Fix For: Commons HTML 1.0.2
>
>         Attachments: sling.patch
>
>
> Following updates:
> Updated tagsoup lib to 1.2.1 which has the following modifications
> * DOCTYPE is now recognized even in lower case.
> * We make sure to buffer the reader, eliminating a long-standing bug that 
> would crash on certain inputs, such as & followed by CR+LF.
> * The HTML scanner's table is precompiled at run time for efficiency, causing 
> a 4x speedup on large input documents.
> * ]] within a CDATA section no longer causes input to be discarded.
> * Remove bogus newline after printing children of the root element.
> * Allow the noscript element anywhere, the same as the script element.
> * Updated to the 2011 edition of the W3C character entity list.
> Additionally:
> Updated license with new home page for tagsoup
> Updated annotations to OSGi annotations
> Added the ability to specify additional features/properties for the parser
> Documented available settings



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to