Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to send notification #252

Open
zwbao opened this issue May 29, 2019 · 0 comments
Open

Unable to send notification #252

zwbao opened this issue May 29, 2019 · 0 comments

Comments

@zwbao
Copy link

zwbao commented May 29, 2019

I have downloaded mail.jar and created ".bpipeconfig" file in my home directory and wrote :

notifications {
  smtp {
    to="bpipe_notification@163.com"
    host="smtp.163.com"
    secure=false
    username="bpipe_notification"
    password="my_password"  // optional
    from="bpipe_notification@163.com"   // optional, defaults to username
    port=25
    events="STAGE_COMPLETED"
    }
}

But, when I run the pipeline, bpipe returns:

====================================================================================================
|                              Starting Pipeline at 2019-05-29 20:40                               |
====================================================================================================

=========================================== Stage hello ============================================
Hello
MSG: unable to send notification to channel bpipe.SMTPNotificationChannel@5e403b4a due to java.lang.NullPointerException: Cannot invoke method format() on null object

=========================================== Stage world ============================================
World
MSG: unable to send notification to channel bpipe.SMTPNotificationChannel@5e403b4a due to java.lang.NullPointerException: Cannot invoke method format() on null object

======================================== Pipeline Succeeded ========================================
20:40:03 MSG:  Finished at Wed May 29 20:40:03 CST 2019

Not sure what is wrong in this step.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant