javax.mail.internet.ParseException

In Content-Type string <text>, expected '/', got null


Solutions on the web39

Solution icon of github
via GitHub by maciejlach
, 7 months ago
In Content-Type string <text>, expected '/', got null

Solution icon of stackoverflow
via Stack Overflow by user3681970
, 1 year ago
In Content-Type string <null>, expected MIME type, got null

Solution icon of stackoverflow
In Content-Type string <form:fileToUpload>, expected '/', got :

Solution icon of jenkins
via Jenkins JIRA by Cyrille Le Clerc, 7 months ago
Expected MIME type, got ;

Solution icon of jenkins
via Jenkins JIRA by Cyrille Le Clerc, 1 year ago
Expected MIME type, got ;

Solution icon of stackoverflow
Expected '/', got null

Solution icon of googlegroups
Expected parameter value, got "null"

Solution icon of apache
Expected parameter value, got "null"

Solution icon of googlegroups
via Google Groups by Ayrton, 1 week ago
Expected parameter value, got "null"

Solution icon of oraclecommunity
via Oracle Community by 843844, 9 months ago
Expected parameter value, got "null"

Stack trace

  • javax.mail.internet.ParseException: In Content-Type string <text>, expected '/', got null at javax.mail.internet.ContentType.<init>(ContentType.java:104) at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1467) at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1131) at javax.mail.internet.MimeMultipart.updateHeaders(MimeMultipart.java:515) at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1490) at javax.mail.internet.MimeMessage.updateHeaders(MimeMessage.java:2198) at javax.mail.internet.MimeMessage.saveChanges(MimeMessage.java:2159) at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:443) at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:345) at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:340) at it.ozimov.springboot.templating.mail.service.EmailServiceImpl.send(EmailServiceImpl.java:72)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago