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

Karl Wright reassigned CONNECTORS-1662:
---------------------------------------

    Assignee: Karl Wright

> JIRA connector - NullPointerException after getCharSet method
> -------------------------------------------------------------
>
>                 Key: CONNECTORS-1662
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1662
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: JIRA connector
>    Affects Versions: ManifoldCF 2.17
>            Reporter: Julien Massiera
>            Assignee: Karl Wright
>            Priority: Major
>         Attachments: patch-CONNECTORS-1662
>
>
> Sometimes the following exception is triggered on some documents during crawl:
> {code:java}
> Error tossed: charsetjava.lang.NullPointerException: charset        at 
> java.io.InputStreamReader.<init>(InputStreamReader.java:115) ~[?:?]        at 
> org.apache.manifoldcf.crawler.connectors.jira.JiraSession.convertToString(JiraSession.java:183)
>  ~[?:?]        at 
> org.apache.manifoldcf.crawler.connectors.jira.JiraSession.getRest(JiraSession.java:237)
>  ~[?:?]        at 
> org.apache.manifoldcf.crawler.connectors.jira.JiraSession.getIssue(JiraSession.java:317)
>  ~[?:?]        at 
> org.apache.manifoldcf.crawler.connectors.jira.JiraRepositoryConnector$GetIssueThread.run(JiraRepositoryConnector.java:1409)
>  ~[?:?]
> {code}
> After investigations it appears that the getCharSet method of the JiraSession 
> class may return null charset when it is null (no check) or a 
> UnsupportedCharsetException happens 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to