[Sync] Verticle deployment failing with java.lang.IllegalStateException: Not on event loop

187 views
Skip to first unread message

Vinay Samudre

unread,
Jul 27, 2016, 8:42:53 PM7/27/16
to vert.x
Hi,

We are trying vert.x upgrade to 3.3.2 using Sync in embedded mode. Please have a look at https://gist.github.com/anonymous/4423c23b592c70bad993015495977d1a for source code and output.

$java -version
java version "1.8.0_73"
Java(TM) SE Runtime Environment (build 1.8.0_73-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.73-b02, mixed mode)

$java -javaagent:$CD/lib/vertxlibs/quasar-core-0.7.5-jdk8.jar au.edu.vu.its.as.vertx.VertxFacade > x 2> x2

Basically while installing simple Sync Verticle using above command we are getting "java.lang.IllegalStateException: Not on event loop"
Also we are getting [quasar] ERROR: Unable to instrument class io/vertx/spi/cluster/hazelcast/HazelcastClusterManager



please let us know what we are doing wrong.

cheers,
Vinay


Julien Viet

unread,
Aug 5, 2016, 9:12:00 AM8/5/16
to ve...@googlegroups.com
Hi,

can you provide a reproducer so we can try ?

--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/df66d52e-eaba-41c5-ae83-05de8dfa22d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Vinay Samudre

unread,
Aug 7, 2016, 9:56:28 PM8/7/16
to vert.x
Hi Julien,


what do you mean by producer?

cheers,
Vinay

Julien Viet

unread,
Aug 8, 2016, 2:20:43 AM8/8/16
to ve...@googlegroups.com
a small project (either maven or gradle) that anyone can run and demonstrate the problem.



chermah

unread,
Feb 2, 2017, 8:38:38 AM2/2/17
to vert.x
Hi did you find a solution to that ?

Vinay Samudre

unread,
Feb 5, 2017, 10:55:52 PM2/5/17
to vert.x
Hi,

No we dropped Sync altogether...

pochadri ariga

unread,
Mar 9, 2018, 12:34:49 PM3/9/18
to vert.x
Did somebody find solution for the problem described?

we are getting the same problem using zookeeper as well.

it seems the problem occurs when using Vertx.clusteredVertx

Julien Viet

unread,
Mar 10, 2018, 2:58:32 AM3/10/18
to ve...@googlegroups.com
can you share your Zookeeper stack trace ?

-- 
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
Reply all
Reply to author
Forward
0 new messages