camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-5985) ClassCastException on SearchConsumer
Date Mon, 21 Jan 2013 05:10:12 GMT

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

Willem Jiang commented on CAMEL-5985:
-------------------------------------

Hi, 
I guess you are using some kind of old version of twitter4j lib, as the twitter4j 3.0 getTweets()
returns a List<Status>.
Can you double check the version of the twitter4j-core? 
Please make sure you are using the twitter4j 3.0.

Willem
                
> ClassCastException on SearchConsumer 
> -------------------------------------
>
>                 Key: CAMEL-5985
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5985
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-twitter
>            Reporter: Luca Foppiano
>            Assignee: Willem Jiang
>
> Using the last SNAPSHOT from SVN, when I try to test the SearchConsumer of the camel-twitter
component I get a ClassCastException on the line 
> List<Status> tweets = qr.getTweets();
> because the qr.getTweets() return a List<Tweet> and not a List<Status>.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message