Thanks, I may fix by my side during troubleshooting.
- Hao
On Mon, Apr 11, 2016 at 4:56 AM, Edward Zhang
wrote:
> Look into the code, this error only happens when the following 2 conditions
> are met:
> 1) One notification has not notificationType associated, Eagle framework
> uses default noti
Look into the code, this error only happens when the following 2 conditions
are met:
1) One notification has not notificationType associated, Eagle framework
uses default notification type "email", while
2) Notification type email is not initialized in alertNotifications table
check out
private M
I know it’s because notification plugin is not correctly, so my question is:
1) Is there any doc/guide to help user to know how to setup the notification
plugin or metadata ?
2) Even not set, the notification system should have some default behavior but
not just throw exception.
Thanks,
Hao
Here is the Piece of Code which Triggers Notifications:
for(NotificationPlugin plugin : plugins){
try {
LOG.info("execute notification plugin " + plugin);
plugin.onAlert(entity);
}catch(Exception ex){
LOG.error("fail invoking plugin's onAlert, continue ", ex);
}
Code throws exception here.. Seems
Looks like you don't have notification initialized?
On Sat, Apr 9, 2016 at 7:29 PM, Hao Chen wrote:
> NotificationPluginManager seems not very stable, any docs/guideline for
> this part?
>
> 68771 [Thread-11-AlertNotificationExecutor_8] ERROR
> org.apache.eagle.notification.plugin.NotificationPl
NotificationPluginManager seems not very stable, any docs/guideline for
this part?
68771 [Thread-11-AlertNotificationExecutor_8] ERROR
org.apache.eagle.notification.plugin.NotificationPluginManagerImpl - fail
invoking plugin's onAlert, continue
java.lang.NullPointerException: null
at
org.apache.ea