Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-5640

soap-attachment fails with error:javax.mail.internet.InternetHeaders cannot be cast to java.util.Map

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • jboss-fuse-6.3
    • jboss-fuse-6.2.1
    • Examples, SwitchYard
    • None
    • % %
    • Hide

      follow Readme instructions

      Show
      follow Readme instructions
    • Sprint 5 - towards ER2

    Description

      After executing mvn exec:java the quickstart fails with message:

      <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
          <soap:Body>
              <soap:Fault>
                  <soap:Code>
                      <soap:Value>soap:Receiver</soap:Value>
                  </soap:Code>
                  <soap:Reason>
                      <soap:Text xml:lang="en">javax.mail.internet.InternetHeaders cannot be cast to java.util.Map</soap:Text>
                  </soap:Reason>
              </soap:Fault>
          </soap:Body>
      </soap:Envelope>
      
      [WARNING] 
      java.lang.reflect.InvocationTargetException
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.util.NoSuchElementException
      	at java.util.Collections$EmptyIterator.next(Collections.java:3006)
      	at org.switchyard.quickstarts.soap.attachment.SoapAttachmentClient.main(SoapAttachmentClient.java:49)
      	... 6 more
      

      on RHEL it's successful

      Attachments

        1. mvnlog.txt
          3 kB
        2. server.log
          40 kB

        Activity

          People

            tcunning@redhat.com Thomas Cunningham
            jkasztur@redhat.com Jan Kasztura (Inactive)
            Jan Kasztura Jan Kasztura (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: