spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shixiong Zhu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-1382) NullPointerException when calling DStream.slice() before StreamingContext.start()
Date Wed, 09 Apr 2014 03:06:15 GMT

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

Shixiong Zhu commented on SPARK-1382:
-------------------------------------

PR: https://github.com/apache/spark/pull/365

> 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
>            Priority: Minor
>
> 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)

Mime
View raw message