Github user Leemoonsoo commented on the issue:

    https://github.com/apache/zeppelin/pull/2240
  
    @zjffdu 
    
    In ZeppelinIT.testAngularDisplay, 4th paragraph creates watcher and watcher 
call `z.run()` without passing interpreter context. like
    
    ```scala
    z.angularWatch("myVar", (before:Object, after:Object, 
      context:org.apache.zeppelin.interpreter.InterpreterContext)=>{ 
        z.run(2)
      }
    )
    ```
    
    If we pass interpreter context is passed to `z.run()`, the error does not 
occur. like
    
    ```scala
    z.angularWatch("myVar", (before:Object, after:Object, 
      context:org.apache.zeppelin.interpreter.InterpreterContext)=>{ 
        z.run(context.getNoteId, 2, context)
      }
    )
    ```
    
    @zjffdu Do you think will there a way `z.run()` takes `InterpreterContext` 
automatically? If that's possible, then user does not need to care about 
`checkCurrentParagraph`.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to