streams-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (STREAMS-173) RssStreamsProvider attempts to cast a LinkedConcurrentQueue to a StreamsResultSet
Date Tue, 16 Sep 2014 17:03:36 GMT

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

ASF GitHub Bot commented on STREAMS-173:
----------------------------------------

GitHub user renato2099 opened a pull request:

    https://github.com/apache/incubator-streams/pull/84

    STREAMS-173 

    RssStreamsProvider attempts to cast a LinkedConcurrentQueue to a StreamsResultSet

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/renato2099/incubator-streams master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-streams/pull/84.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #84
    
----
commit 091ee82bc5793e66e0688db1e185dd7ed4b32526
Author: Renato Marroquin <rmarroquin@apache.org>
Date:   2014-09-09T14:16:54Z

    STREAMS-165

commit bf9e2d160225d03a9de4e611de6d884970c126ee
Author: Renato Marroquin <rmarroquin@apache.org>
Date:   2014-09-10T08:56:38Z

    Merge remote-tracking branch 'upstream/STREAMS-167'

commit 27bec6d65999e6ff7b99ef028028ff19a31d27a4
Author: Renato Marroquin <rmarroquin@apache.org>
Date:   2014-09-16T16:58:40Z

    STREAMS-173

commit 7810c5a1cea3920b782d12db3a552e382232077b
Author: Renato Marroquin <rmarroquin@apache.org>
Date:   2014-09-16T17:01:55Z

    Reverting to original state

----


> RssStreamsProvider attempts to cast a LinkedConcurrentQueue to a StreamsResultSet
> ---------------------------------------------------------------------------------
>
>                 Key: STREAMS-173
>                 URL: https://issues.apache.org/jira/browse/STREAMS-173
>             Project: Streams
>          Issue Type: Bug
>            Reporter: Ryan Ebanks
>
> On line 140, a queue is attempted to be cast to a StreamsResultSet.
> StackTrace:
> 00:05:59.016 [main] DEBUG o.a.s.l.builders.LocalStreamBuilder - Attaching
> shutdown handler
> 00:05:59.030 [pool-3-thread-1] DEBUG
> o.a.s.l.t.LocalStreamProcessMonitorThread - [monitor] Used Memory: 20.0 MB,
> Max: 954.7 MB
> 00:05:59.044 [main] INFO  o.a.s.l.builders.LocalStreamBuilder - Started
> stream with 2 components
> 00:05:59.067 [pool-2-thread-4] ERROR o.a.s.l.tasks.StreamsProviderTask -
> Error in processing provider stream
> java.lang.ClassCastException: java.util.concurrent.ConcurrentLinkedQueue
> cannot be cast to org.apache.streams.core.StreamsResultSet
> at
> org.apache.streams.rss.provider.RssStreamProvider.readCurrent(RssStreamProvider.java:140)
> ~[classes/:na]
> at
> org.apache.streams.local.tasks.StreamsProviderTask.run(StreamsProviderTask.java:148)
> ~[streams-runtime-local-0.1-SNAPSHOT.jar:0.1-SNAPSHOT]
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> [na:1.7.0_67]
> at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_67]
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> [na:1.7.0_67]
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> [na:1.7.0_67]
> at java.lang.Thread.run(Thread.java:745) [na:1.7.0_67]
> 00:05:59.067 [pool-2-thread-4] DEBUG o.a.s.l.tasks.StreamsProviderTask -
> Complete Provider Task execution for RssStreamProvider
> 00:05:59.077 [pool-1-thread-2] INFO  o.a.s.rss.provider.RssEventProcessor -
> Terminating!
> 00:05:59.475 [pool-1-thread-1] INFO  o.a.s.rss.provider.RssStreamProvider -
> Connected: http://www.thelocal.ch/feeds/rss.php
> java.lang.NullPointerException
> at
> org.apache.streams.rss.provider.RssStreamProviderTask.run(RssStreamProviderTask.java:62)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> Acceptance Criteria:
> * Successfully executes, i.e. no exceptions
> * Unit tests to prove correctness



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

Mime
View raw message