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

Taewoo Kim commented on ASTERIXDB-1867:
---------------------------------------

Now, I see the issue. Your algebricks LOG level is FINE? If you change it to 
another, this error will not appear. Anyway, let me try to fix this issue.  

> SequentialFirstRuleCheckFixpointRuleController has null context
> ---------------------------------------------------------------
>
>                 Key: ASTERIXDB-1867
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1867
>             Project: Apache AsterixDB
>          Issue Type: Bug
>            Reporter: Xikui Wang
>            Assignee: Taewoo Kim
>
> When executing SequentialFirstRuleCheckFixpointRuleControllerTest, the 
> SequentialFirstRuleCheckFixpointRuleController has a null context which 
> causes NPE at:
> org/apache/hyracks/algebricks/core/rewriter/base/AbstractRuleController.java:69
> {noformat}
> Error Message:
> Running 
> org.apache.hyracks.algebricks.compiler.rewriter.rulecontrollers.SequentialFirstRuleCheckFixpointRuleControllerTest
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.109 sec <<< 
> FAILURE! - in 
> org.apache.hyracks.algebricks.compiler.rewriter.rulecontrollers.SequentialFirstRuleCheckFixpointRuleControllerTest
> testRewriteWithRuleCollection(org.apache.hyracks.algebricks.compiler.rewriter.rulecontrollers.SequentialFirstRuleCheckFixpointRuleControllerTest)
>   Time elapsed: 0.73 sec  <<< ERROR!
> java.lang.NullPointerException: null
>       at 
> org.apache.hyracks.algebricks.core.rewriter.base.AbstractRuleController.getPlanString(AbstractRuleController.java:70)
>       at 
> org.apache.hyracks.algebricks.core.rewriter.base.AbstractRuleController.rewriteOperatorRef(AbstractRuleController.java:90)
>       at 
> org.apache.hyracks.algebricks.compiler.rewriter.rulecontrollers.SequentialFirstRuleCheckFixpointRuleController.rewriteWithRuleCollection(SequentialFirstRuleCheckFixpointRuleController.java:76)
>       at 
> org.apache.hyracks.algebricks.compiler.rewriter.rulecontrollers.SequentialFirstRuleCheckFixpointRuleControllerTest.testRewriteWithRuleCollection(SequentialFirstRuleCheckFixpointRuleControllerTest.java:73)
> Results :
> Tests in error:
>   
> SequentialFirstRuleCheckFixpointRuleControllerTest.testRewriteWithRuleCollection:73
>  ยป NullPointer
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to