-
assigned issue to
Mail Error
Issue #428
resolved
Exception in thread "priceTriggerTask" java.lang.NoSuchMethodError: com.sun.mail.util.TraceInputStream.<init>(Ljava/io/InputStream;Lcom/sun/mail/util/MailLogger;)V
at com.sun.mail.smtp.SMTPTransport.initStreams(SMTPTransport.java:2108)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2028)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:697)
at javax.mail.Service.connect(Service.java:295)
at javax.mail.Service.connect(Service.java:176)
Comments (10)
-
reporter -
Can't reproduce. Can you post here the setting you have been using AND a more lengthy log output
-
reporter 18:07:29.507 c.n.n.t.BotTask 56 INFO - Started BotTask Strategy Crypto Task 18:07:29.507 c.n.n.s.S.StrategySecondaryPegTask 112 INFO - Initializing strategy Exception in thread "priceTriggerTask" java.lang.NoSuchMethodError: com.sun.mail.util.TraceInputStream.<init>(Ljava/io/InputStream;Lcom/sun/mail/util/MailLogger;)V at com.sun.mail.smtp.SMTPTransport.initStreams(SMTPTransport.java:2108) at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2028) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:697) at javax.mail.Service.connect(Service.java:295) at javax.mail.Service.connect(Service.java:176) at com.nubits.nubot.notifications.MailNotifications.Send(MailNotifications.java:201) at com.nubits.nubot.notifications.MailNotifications.Send(MailNotifications.java:136) at com.nubits.nubot.notifications.MailNotifications.sendImpl(MailNotifications.java:97) at com.nubits.nubot.notifications.MailNotifications.send(MailNotifications.java:64) at com.nubits.nubot.tasks.PriceMonitorTriggerTask.initStrategy(PriceMonitorTriggerTask.java:243) at com.nubits.nubot.tasks.PriceMonitorTriggerTask.updateLastPrice(PriceMonitorTriggerTask.java:452) at com.nubits.nubot.tasks.PriceMonitorTriggerTask.executeUpdatePrice(PriceMonitorTriggerTask.java:260) at com.nubits.nubot.tasks.PriceMonitorTriggerTask.run(PriceMonitorTriggerTask.java:158) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505)
-
reporter options
"mailnotifications":"ALL", "mailrecipient":"__myemail__",
-
Do you get a similar exception running TestNotifications.java in manual tests ?
-
reporter TestNofications works. One bug:
Options has variable sendMails, but newer versions use mailnotifications. I'd like to rename the option to mailnotifications.
-
reporter -
assigned issue to
-
assigned issue to
-
reporter -
I merged the PR, but except from the try catch, are you receiving email correctly?
-
reporter - changed status to resolved
- Log in to comment