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

NPE in GitDataStore from JavaMail Transport.send() operation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jboss-fuse-6.1-patches
    • jboss-fuse-6.1
    • None
    • None
    • % %

      An application uses JavaMail to send e-mail messages. In some circumstances a Transport.send() operation fails, with an exception in GitDataStore:

      Caused by: java.lang.NullPointerException
              at io.fabric8.git.internal.GitDataStore$FabricGitLocalHostProxySelector.isLocalHost(GitDataStore.java:1545)[81:io.fabric8.fabric-git:1.0.0.redhat-454]
              at io.fabric8.git.internal.GitDataStore$FabricGitLocalHostProxySelector.select(GitDataStore.java:1506)[81:io.fabric8.fabric-git:1.0.0.redhat-454]
              at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)[:1.7.0_141]
              at java.net.Socket.connect(Socket.java:579)[:1.7.0_141]
              at java.net.Socket.connect(Socket.java:528)[:1.7.0_141]
              at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:288)[93:javax.mail:1.4.4]
              at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:231)[93:javax.mail:1.4.4]
              at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1900)[93:javax.mail:1.4.4]
              at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:638)[93:javax.mail:1.4.4]
              at javax.mail.Service.connect(Service.java:295)[93:javax.mail:1.4.4]
              at javax.mail.Service.connect(Service.java:176)[93:javax.mail:1.4.4]
              at javax.mail.Service.connect(Service.java:125)[93:javax.mail:1.4.4]
              at javax.mail.Transport.send0(Transport.java:194)[93:javax.mail:1.4.4]
              at javax.mail.Transport.send(Transport.java:124)[93:javax.mail:1.4.4]
              ... customer's code
      

              ggrzybek Grzegorz Grzybek
              rhn-support-kboone Kevin Boone
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: