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

Shixiong Zhu resolved SPARK-1382.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.0
         Assignee: Shixiong Zhu

> NullPointerException when calling DStream.slice() before 
> StreamingContext.start()
> ---------------------------------------------------------------------------------
>
>                 Key: SPARK-1382
>                 URL: https://issues.apache.org/jira/browse/SPARK-1382
>             Project: Spark
>          Issue Type: Bug
>          Components: Streaming
>    Affects Versions: 0.9.0
>            Reporter: Alessandro Chacón
>            Assignee: Shixiong Zhu
>            Priority: Minor
>             Fix For: 1.0.0
>
>
> If we call the DStream.slice() before StreamingContext.start() has been 
> called, then zeroTime is still null, and it will throw a null pointer 
> exception. Ideally, it should throw something like a "ContextNotInitlalized" 
> exception.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to