incubator-s4-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthieu Morel <mmo...@apache.org>
Subject Re: Twitter feed listener error
Date Thu, 15 Dec 2011 10:00:07 GMT
On 12/15/11 9:07 AM, raghavendhra rahul wrote:
> I get the following error while trying to start twitterfeedlistener.
>
> 2011-12-15 13:33:42,133 adapter ERROR (GenericJsonClientStub.java:79)
> failed to build object from JSON
> org.apache.s4.client.util.ObjectBuilder$Exception: bad class name for
> json-encoded object: org.apache.s4.example.twittertopiccount.Status
>          at
> org.apache.s4.client.GenericJsonClientStub.eventWrapperFromBytes(GenericJsonClientStub.java:56)
>          at
> org.apache.s4.client.ClientConnection$1.run(ClientConnection.java:132)
>          at java.lang.Thread.run(Thread.java:679)
> Caused by: java.lang.ClassNotFoundException:
> org.apache.s4.example.twittertopiccount.Status
>          at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
>          at java.security.AccessController.doPrivileged(Native Method)
>          at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
>          at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
>          at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
>          at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
>          at java.lang.Class.forName0(Native Method)
>          at java.lang.Class.forName(Class.java:186)
>          at
> org.apache.s4.client.GenericJsonClientStub.eventWrapperFromBytes(GenericJsonClientStub.java:54)
>          ... 2 more
>
> Any suggestions....

How exactly are you starting the twitter feed listener? Following the 
manual?

The manual currently documents release 0.3., but it seems you are using 
an unreleased version. Therefore not thoroughly tested yet.

--> You should adapt the classpath to include missing classes.

Matthieu

Mime
View raw message