javax.mail.MessagingException: IOException while sending message; nested exception is: java.io.FileNotFoundException: /drawable:/2130837597: open failed: ENOENT (No such file or directory)

tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    java.io.FileNotFoundException: /drawable:/2130837597: open failed: ENOENT (No such file or directory) On Attaching File With Email

    Stack Overflow | 2 months ago | Muhammad Farooq Arshad
    javax.mail.MessagingException: IOException while sending message; nested exception is: java.io.FileNotFoundException: /drawable:/2130837597: open failed: ENOENT (No such file or directory)
  2. 0

    Android app to send Email with attachment using Java Mail API

    Stack Overflow | 1 year ago | Abdullah Al Imran
    java.io.FileNotFoundException: /external/images/media/14: open failed: ENOENT (No such file or directory)
  3. 0

    Automatically Email the reports after Selenium test execution – Assert Selenium

    assertselenium.com | 7 months ago
    java.io.FileNotFoundException: C:\data\test (Access is denied)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to send mail with attachment using JavaMailAPI

    Stack Overflow | 5 years ago | Anand Soni
    javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed; boundary="----=_Part_1_21944831.1329056547036"
  6. 0

    IO Exception while sending mail using JavaMail (Access is denied )

    baba.io | 2 years ago
    java.io.FileNotFoundException: C:\reports (Access is denied)

  1. Indri Yunita 29 times, last 1 week ago
  2. 0x60 2 times, last 3 weeks ago
  3. ahmed 23 times, last 1 month ago
  4. justCodeit 4 times, last 2 months ago
  5. filpgame 2 times, last 2 months ago
91 more registered users
4 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. libcore.io.ErrnoException

    open failed: ENOENT (No such file or directory)

    at libcore.io.Posix.open()
  2. Android
    IoBridge.open
    1. libcore.io.Posix.open(Native Method)
    2. libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
    3. libcore.io.IoBridge.open(IoBridge.java:393)
    3 frames
  3. Java RT
    DataHandler.writeTo
    1. java.io.FileInputStream.<init>(FileInputStream.java:78)
    2. javax.activation.FileDataSource.getInputStream(FileDataSource.java:110)
    3. javax.activation.DataHandler.writeTo(DataHandler.java:318)
    3 frames
  4. JavaMail API
    MimeMultipart.writeTo
    1. javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1403)
    2. javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:874)
    3. javax.mail.internet.MimeMultipart.writeTo(MimeMultipart.java:444)
    3 frames
  5. JavaMail API (compat)
    multipart_mixed.writeTo
    1. com.sun.mail.handlers.multipart_mixed.writeTo(multipart_mixed.java:102)
    1 frame
  6. Java RT
    DataHandler.writeTo
    1. javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:897)
    2. javax.activation.DataHandler.writeTo(DataHandler.java:330)
    2 frames
  7. JavaMail API
    MimeMessage.writeTo
    1. javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1403)
    2. javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1745)
    2 frames
  8. JavaMail API (compat)
    SMTPTransport.sendMessage
    1. com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:636)
    1 frame
  9. JavaMail API
    Transport.send
    1. javax.mail.Transport.send0(Transport.java:189)
    2. javax.mail.Transport.send(Transport.java:118)
    2 frames
  10. io.farooq.check
    MainActivity$1$1.run
    1. io.farooq.check.GMailSender.sendMail(GMailSender.java:81)
    2. io.farooq.check.MainActivity$1$1.run(MainActivity.java:74)
    2 frames
  11. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:841)
    1 frame