[ 
https://issues.apache.org/jira/browse/EAGLE-814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15704865#comment-15704865
 ] 

ASF GitHub Bot commented on EAGLE-814:
--------------------------------------

GitHub user wujinhu opened a pull request:

    https://github.com/apache/incubator-eagle/pull/698

    [EAGLE-814] fix alertId is null in AlertStreamEvent bug

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/wujinhu/incubator-eagle EAGLE-814

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-eagle/pull/698.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #698
    
----
commit 3c2421adc8ae76952e9efb4be92263e8dee385c3
Author: wujinhu <[email protected]>
Date:   2016-11-29T10:03:15Z

    fix alertId is null in AlertStreamEvent bug

----


> 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)

Reply via email to