[
https://issues.apache.org/jira/browse/ANY23-524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17432886#comment-17432886
]
ASF GitHub Bot commented on ANY23-524:
--------------------------------------
NcIgor opened a new pull request #216:
URL: https://github.com/apache/any23/pull/216
Fix NPE on parsing `a` tags with incorrect `href` attributes
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
> XFNExtractor: NPE on parsing links with incorrect HREF attribute
> ----------------------------------------------------------------
>
> Key: ANY23-524
> URL: https://issues.apache.org/jira/browse/ANY23-524
> Project: Apache Any23
> Issue Type: Bug
> Reporter: Shevchenko Igor
> Priority: Major
>
> I've got a NPE when parse html with incorrect a.href attribute.
> {{<a *v-bind:href*="http://alice.example.com/" *rel*="friend">}}
> {code:java}
> java.lang.NullPointerException
> at
> org.apache.any23.extractor.html.XFNExtractor.extractLink(XFNExtractor.java:89)
> at
> org.apache.any23.extractor.html.XFNExtractor.run(XFNExtractor.java:72)
> at
> org.apache.any23.extractor.html.XFNExtractor.run(XFNExtractor.java:44)
> at
> org.apache.any23.extractor.SingleDocumentExtraction.runExtractor(SingleDocumentExtraction.java:529)
> at
> org.apache.any23.extractor.SingleDocumentExtraction.run(SingleDocumentExtraction.java:266)
> at
> org.apache.any23.extractor.SingleDocumentExtraction.run(SingleDocumentExtraction.java:365)
> {code}
>
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)