cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-4621) CXF breaks Javax.mail
Date Wed, 07 Nov 2012 22:20:14 GMT

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

Daniel Kulp commented on CXF-4621:
----------------------------------


Newer versions of CXF use the 1.7.1 version of geronimo-javamail_1.4_spec which may have fixed
this.  Can you retest with a newer version of CXF? 2.2.3 is ancient and unsupported at this
point.

                
> CXF breaks Javax.mail 
> ----------------------
>
>                 Key: CXF-4621
>                 URL: https://issues.apache.org/jira/browse/CXF-4621
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2
>            Reporter: Stefano Bertini
>             Fix For: NeedMoreInfo
>
>
> I am writing a software that reads and sends email using java.mail library.
> As soon as I added a dependency on CXF 2.2.3, something causes a bug in java.mail libraries.
> I tried using a small java mail sample program (this one: http://www.rgagnon.com/javadetails/java-receive-email-using-imap.html)
and connected it to my gmail account.
> If I remove the dependency on CXF, everything works correctly.
> Including CXF causes this error:
> Exception in thread "main" java.lang.NullPointerException
> 	at javax.mail.internet.ParameterList.set(ParameterList.java:165)
> 	at com.sun.mail.imap.protocol.BODYSTRUCTURE.parseParameters(BODYSTRUCTURE.java:404)
> 	at com.sun.mail.imap.protocol.BODYSTRUCTURE.<init>(BODYSTRUCTURE.java:224)
> 	at com.sun.mail.imap.protocol.BODYSTRUCTURE.<init>(BODYSTRUCTURE.java:109)
> 	at com.sun.mail.imap.protocol.FetchResponse.parse(FetchResponse.java:158)
> 	at com.sun.mail.imap.protocol.FetchResponse.<init>(FetchResponse.java:67)
> 	at com.sun.mail.imap.protocol.IMAPResponse.readResponse(IMAPResponse.java:136)
> 	at com.sun.mail.imap.protocol.IMAPProtocol.readResponse(IMAPProtocol.java:270)
> 	at com.sun.mail.iap.Protocol.command(Protocol.java:313)
> 	at com.sun.mail.imap.protocol.IMAPProtocol.fetch(IMAPProtocol.java:1529)
> 	at com.sun.mail.imap.protocol.IMAPProtocol.fetch(IMAPProtocol.java:1521)
> 	at com.sun.mail.imap.protocol.IMAPProtocol.fetchBodyStructure(IMAPProtocol.java:1221)
> 	at com.sun.mail.imap.IMAPMessage.loadBODYSTRUCTURE(IMAPMessage.java:1307)
> 	at com.sun.mail.imap.IMAPMessage.getDataHandler(IMAPMessage.java:623)
> 	at javax.mail.internet.MimeMessage.getContent(MimeMessage.java:927)
> I temporary fixed the problem excluding the dependency on geronimo-javamail_1.4_spec

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message