manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cihad Guzel (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CONNECTORS-1396) Email processing multipart casting problem
Date Tue, 28 Mar 2017 19:05:42 GMT

    [ https://issues.apache.org/jira/browse/CONNECTORS-1396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15945749#comment-15945749
] 

Cihad Guzel commented on CONNECTORS-1396:
-----------------------------------------

Hi [~kwright@metacarta.com]

I have new error after last commit.

{code}
DEBUG 2017-03-28 21:50:15,181 (Worker thread '20') - Email: Processing document identifier
'Gönderilmiş Öğeler:<63b657749d6f4d529988b4286886cb57@EXCHANGE.mydomain.local>'
DEBUG 2017-03-28 21:51:01,919 (Worker thread '47') - Email: Processing document identifier
'Gönderilmiş Öğeler:<63b657749d6f4d529988b4286886cb57@EXCHANGE.mydomain.local>:2'
FATAL 2017-03-28 21:51:05,517 (Worker thread '47') - Error tossed: MIME type may not contain
reserved characters
java.lang.IllegalArgumentException: MIME type may not contain reserved characters
	at org.apache.http.util.Args.check(Args.java:36)
	at org.apache.http.entity.ContentType.create(ContentType.java:206)
	at org.apache.http.entity.ContentType.create(ContentType.java:218)
	at org.apache.http.entity.mime.content.InputStreamBody.<init>(InputStreamBody.java:58)
	at org.apache.manifoldcf.agents.output.solr.ModifiedHttpSolrClient.createMethod(ModifiedHttpSolrClient.java:200)
	at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:260)
	at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:251)
	at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:149)
	at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:166)
	at org.apache.manifoldcf.agents.output.solr.HttpPoster$IngestThread.run(HttpPoster.java:923)
DEBUG 2017-03-28 21:51:07,278 (Worker thread '43') - Email: Processing document identifier
'Gönderilmiş Öğeler:<63b657749d6f4d529988b4286886cb57@EXCHANGE.mydomain.local>:2'
FATAL 2017-03-28 21:51:13,203 (Worker thread '43') - Error tossed: MIME type may not contain
reserved characters
java.lang.IllegalArgumentException: MIME type may not contain reserved characters
	at org.apache.http.util.Args.check(Args.java:36)
	at org.apache.http.entity.ContentType.create(ContentType.java:206)
	at org.apache.http.entity.ContentType.create(ContentType.java:218)
	at org.apache.http.entity.mime.content.InputStreamBody.<init>(InputStreamBody.java:58)
	at org.apache.manifoldcf.agents.output.solr.ModifiedHttpSolrClient.createMethod(ModifiedHttpSolrClient.java:200)
	at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:260)
	at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:251)
	at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:149)
	at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:166)
	at org.apache.manifoldcf.agents.output.solr.HttpPoster$IngestThread.run(HttpPoster.java:923)
{code}

> Email processing multipart casting problem
> ------------------------------------------
>
>                 Key: CONNECTORS-1396
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1396
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Email connector
>    Affects Versions: ManifoldCF 2.6
>            Reporter: Cihad Guzel
>            Assignee: Karl Wright
>             Fix For: ManifoldCF 2.7
>
>         Attachments: CONNECTORS-1396.patch
>
>
> I try email connector with exchange server 2013. I have some errors.
> If I select the "Encoding of Attachment" from metadata tab of email connector:
> {code}
> DEBUG 2017-03-08 19:31:13,646 (Worker thread '1') - Email: Processing document identifier
'INBOX:<6bc4ff202f884bc396aab70cdfd01eb7@EXCHANGE.mydomain.com>'
> FATAL 2017-03-08 19:31:18,243 (Worker thread '1') - Error tossed: java.lang.String cannot
be cast to javax.mail.Multipart
> java.lang.ClassCastException: java.lang.String cannot be cast to javax.mail.Multipart
> 	at org.apache.manifoldcf.crawler.connectors.email.EmailConnector.processDocuments(EmailConnector.java:631)
> 	at org.apache.manifoldcf.crawler.system.WorkerThread.run(WorkerThread.java:399)
> {code}
> If I select the "MIME type of attachment" from metadata tab of email connector:
> {code}
> DEBUG 2017-03-08 19:37:40,026 (Worker thread '40') - Email: Processing document identifier
'INBOX:<173298b91b9f4d439aeb14169b306553@EXCHANGE..mydomain.com>'
> FATAL 2017-03-08 19:37:40,633 (Worker thread '30') - Error tossed: java.lang.String cannot
be cast to javax.mail.Multipart
> java.lang.ClassCastException: java.lang.String cannot be cast to javax.mail.Multipart
> 	at org.apache.manifoldcf.crawler.connectors.email.EmailConnector.processDocuments(EmailConnector.java:651)
> 	at org.apache.manifoldcf.crawler.system.WorkerThread.run(WorkerThread.java:399)
> {code}
> I saw similar issue : https://issues.apache.org/jira/browse/CONNECTORS-1260



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message