cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefano Bertini (JIRA)" <>
Subject [jira] [Created] (CXF-4621) CXF breaks Javax.mail
Date Wed, 07 Nov 2012 21:10:12 GMT
Stefano Bertini created CXF-4621:

             Summary: CXF breaks Javax.mail 
                 Key: CXF-4621
             Project: CXF
          Issue Type: Bug
    Affects Versions: 2.2
            Reporter: Stefano Bertini

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:
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(
	at com.sun.mail.imap.protocol.BODYSTRUCTURE.parseParameters(
	at com.sun.mail.imap.protocol.BODYSTRUCTURE.<init>(
	at com.sun.mail.imap.protocol.BODYSTRUCTURE.<init>(
	at com.sun.mail.imap.protocol.FetchResponse.parse(
	at com.sun.mail.imap.protocol.FetchResponse.<init>(
	at com.sun.mail.imap.protocol.IMAPResponse.readResponse(
	at com.sun.mail.imap.protocol.IMAPProtocol.readResponse(
	at com.sun.mail.iap.Protocol.command(
	at com.sun.mail.imap.protocol.IMAPProtocol.fetch(
	at com.sun.mail.imap.protocol.IMAPProtocol.fetch(
	at com.sun.mail.imap.protocol.IMAPProtocol.fetchBodyStructure(
	at com.sun.mail.imap.IMAPMessage.loadBODYSTRUCTURE(
	at com.sun.mail.imap.IMAPMessage.getDataHandler(
	at javax.mail.internet.MimeMessage.getContent(

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:

View raw message