You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@eagle.apache.org by "tangjunjie (JIRA)" <ji...@apache.org> on 2016/06/01 05:17:13 UTC

[jira] [Assigned] (EAGLE-323) PolicyEvaluationContext not init in UserProfileMLAlgorithmEvaluator

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

tangjunjie reassigned EAGLE-323:
--------------------------------

    Assignee: tangjunjie

> PolicyEvaluationContext not init in UserProfileMLAlgorithmEvaluator
> -------------------------------------------------------------------
>
>                 Key: EAGLE-323
>                 URL: https://issues.apache.org/jira/browse/EAGLE-323
>             Project: Eagle
>          Issue Type: Bug
>    Affects Versions: v0.3.0
>            Reporter: tangjunjie
>            Assignee: tangjunjie
>
> When run  cmd as below
> bin/eagle-topology.sh --main org.apache.eagle.security.userprofile.UserProfileDetectionMain --config conf/sandbox-userprofile-topology.conf start
> Will throw the follow exception:
> {noformat}
> java.lang.NullPointerException
>         at org.apache.eagle.security.userprofile.UserProfileMLAlgorithmEvaluator.evaluate(UserProfileMLAlgorithmEvaluator.java:73) ~[eagle-topology-0.3.0-incubating-assembly.jar:?]
>         at org.apache.eagle.ml.MLPolicyEvaluator.evaluate(MLPolicyEvaluator.java:115) ~[eagle-topology-0.3.0-incubating-assembly.jar:?]
>         at org.apache.eagle.policy.executor.PolicyProcessExecutor.flatMap(PolicyProcessExecutor.java:327) [eagle-topology-0.3.0-incubating-assembly.jar:?]
>         at org.apache.eagle.datastream.storm.JavaStormBoltWrapper.execute(JavaStormBoltWrapper.scala:38) [eagle-topology-0.3.0-incubating-assembly.jar:?]
>         at backtype.storm.daemon.executor$fn__5694$tuple_action_fn__5696.invoke(executor.clj:690) [storm-core-0.10.1.jar:0.10.1]
>         at backtype.storm.daemon.executor$mk_task_receiver$fn__5615.invoke(executor.clj:435) [storm-core-0.10.1.jar:0.10.1]
>         at backtype.storm.disruptor$clojure_handler$reify__5189.onEvent(disruptor.clj:58) [storm-core-0.10.1.jar:0.10.1]
>         at backtype.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:132) [storm-core-0.10.1.jar:0.10.1]
>         at backtype.storm.utils.DisruptorQueue.consumeBatchWhenAvailable(DisruptorQueue.java:106) [storm-core-0.10.1.jar:0.10.1]
>         at backtype.storm.disruptor$consume_batch_when_available.invoke(disruptor.clj:80) [storm-core-0.10.1.jar:0.10.1]
>         at backtype.storm.daemon.executor$fn__5694$fn__5707$fn__5758.invoke(executor.clj:818) [storm-core-0.10.1.jar:0.10.1]
>         at backtype.storm.util$async_loop$fn__545.invoke(util.clj:479) [storm-core-0.10.1.jar:0.10.1]
>         at clojure.lang.AFn.run(AFn.java:22) [clojure-1.6.0.jar:?]
>         at java.lang.Thread.run(Thread.java:745) [?:1.7.0_75]
> {noformat}



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