You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@eagle.apache.org by "wujinhu (JIRA)" <ji...@apache.org> on 2016/11/29 12:35:58 UTC

[jira] [Closed] (EAGLE-814) fix alertId is null in AlertStreamEvent bug

     [ https://issues.apache.org/jira/browse/EAGLE-814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

wujinhu closed EAGLE-814.
-------------------------
    Resolution: Fixed

> fix alertId is null in AlertStreamEvent bug
> -------------------------------------------
>
>                 Key: EAGLE-814
>                 URL: https://issues.apache.org/jira/browse/EAGLE-814
>             Project: Eagle
>          Issue Type: Bug
>    Affects Versions: v0.5.0
>            Reporter: wujinhu
>            Assignee: wujinhu
>             Fix For: v0.5.0
>
>
> alertId is null when call notifyAlert()
> 2016-11-29 02:42:34 Thread-18-alertPublishBolt org.apache.eagle.alert.engine.publisher.impl.AlertPublisherImpl [ERROR] Fail invoking publisher's onAlert, continue
> java.lang.IllegalArgumentException: data may not be null
>         at org.apache.commons.httpclient.util.EncodingUtil.getBytes(EncodingUtil.java:203) ~[stormjar.jar:na]
>         at org.apache.commons.httpclient.util.URIUtil.encode(URIUtil.java:502) ~[stormjar.jar:na]
>         at org.apache.commons.httpclient.util.URIUtil.encodeQuery(URIUtil.java:468) ~[stormjar.jar:na]
>         at org.apache.eagle.alert.engine.publisher.email.AlertEmailGenerator.buildAlertContext(AlertEmailGenerator.java:130) ~[stormjar.jar:na]
>         at org.apache.eagle.alert.engine.publisher.email.AlertEmailGenerator.sendAlertEmail(AlertEmailGenerator.java:64) ~[stormjar.jar:na]
>         at org.apache.eagle.alert.engine.publisher.email.AlertEmailGenerator.sendAlertEmail(AlertEmailGenerator.java:55) ~[stormjar.jar:na]
>         at org.apache.eagle.alert.engine.publisher.impl.AlertEmailPublisher.onAlert(AlertEmailPublisher.java:84) ~[stormjar.jar:na]
>         at org.apache.eagle.alert.engine.publisher.impl.AlertPublisherImpl.notifyAlert(AlertPublisherImpl.java:87) [stormjar.jar:na]
>         at org.apache.eagle.alert.engine.publisher.impl.AlertPublisherImpl.nextEvent(AlertPublisherImpl.java:70) [stormjar.jar:na]
>         at org.apache.eagle.alert.engine.runner.AlertPublisherBolt.execute(AlertPublisherBolt.java:84) [stormjar.jar:na]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)