Mail Error

Issue #428 resolved
Benjamin Cordes created an issue
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)

  1. Desrever Nu

    Can't reproduce. Can you post here the setting you have been using AND a more lengthy log output

  2. Benjamin Cordes 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)
    
  3. Benjamin Cordes reporter

    TestNofications works. One bug:

    Options has variable sendMails, but newer versions use mailnotifications. I'd like to rename the option to mailnotifications.

  4. Log in to comment