New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClassCastException when error is a String #61

Closed
ypujante opened this Issue May 23, 2011 · 2 comments

Comments

Projects
None yet
1 participant
@ypujante
Member

ypujante commented May 23, 2011

As reported in the thread: http://glu.977617.n3.nabble.com/Agent-error-class-java-lang-ClassCastException-message-java-lang-String-cannot-be-cast-to-java-lang-e-td2974820.html

2011/05/23 03:45:22.330 WARN [/CrawlerSpawn/i001] Exception while running monitor: Can't get http://ofl9.crawl.outbrain.com:8080/CrawlerSpawn//selftest?format=text to /outbrain/glu/org.linkedin.glu.packaging-all-1.5.1/org.linkedin.glu.agent-server-1.5.1/data/tmp/CrawlerSpawn/i001/__tmp1708500738Dir/selftest
2011/05/23 03:45:22.331 WARN [/CrawlerSpawn/i001] Self test failed => forcing new state stopped
2011/05/23 03:45:23.886 WARN [BaseResource] unexpected error while processing request
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Throwable
at org.linkedin.groovy.util.state.StateMachineImpl$_waitForState_closure13.doCall(StateMachineImpl.groovy:308)
at sun.reflect.GeneratedMethodAccessor15011.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:88)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:273)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886)
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)

@ypujante

This comment has been minimized.

Member

ypujante commented May 23, 2011

It is due to an issue in the state machine (linkedin-utils module)

@ghost ghost assigned ypujante May 23, 2011

ypujante added a commit that referenced this issue May 24, 2011

@ypujante

This comment has been minimized.

Member

ypujante commented May 24, 2011

Fixed with 2.4.1

@ypujante ypujante closed this May 24, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment