java.lang.IllegalStateException: Expected mastre didn't occure in 8 trials.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

java.lang.IllegalStateException: Expected mastre didn't occure in 8 trials.
at com.bwsw.tstreams.coordination.producer.PeerAgent$$anonfun$com$bwsw$tstreams$coordination$producer$PeerAgent$$electPartitionMasterInternal$1.apply(PeerAgent.scala:158)
at com.bwsw.tstreams.coordination.producer.PeerAgent$$anonfun$com$bwsw$tstreams$coordination$producer$PeerAgent$$electPartitionMasterInternal$1.apply(PeerAgent.scala:153)
at scala.Option.fold(Option.scala:158)
at com.bwsw.tstreams.coordination.producer.PeerAgent.com$bwsw$tstreams$coordination$producer$PeerAgent$$electPartitionMasterInternal(PeerAgent.scala:171)
at com.bwsw.tstreams.coordination.producer.PeerAgent$$anonfun$com$bwsw$tstreams$coordination$producer$PeerAgent$$electPartitionMasterInternal$1.apply(PeerAgent.scala:161)
at com.bwsw.tstreams.coordination.producer.PeerAgent$$anonfun$com$bwsw$tstreams$coordination$producer$PeerAgent$$electPartitionMasterInternal$1.apply(PeerAgent.scala:153)
at scala.Option.fold(Option.scala:158)
at com.bwsw.tstreams.coordination.producer.PeerAgent.com$bwsw$tstreams$coordination$producer$PeerAgent$$electPartitionMasterInternal(PeerAgent.scala:171)
at com.bwsw.tstreams.coordination.producer.PeerAgent$$anonfun$com$bwsw$tstreams$coordination$producer$PeerAgent$$electPartitionMasterInternal$1.apply(PeerAgent.scala:161)
at com.bwsw.tstreams.coordination.producer.PeerAgent$$anonfun$com$bwsw$tstreams$coordination$producer$PeerAgent$$electPartitionMasterInternal$1.apply(PeerAgent.scala:153)
at scala.Option.fold(Option.scala:158)
at com.bwsw.tstreams.coordination.producer.PeerAgent.com$bwsw$tstreams$coordination$producer$PeerAgent$$electPartitionMasterInternal(PeerAgent.scala:171)
at com.bwsw.tstreams.coordination.producer.PeerAgent$$anonfun$com$bwsw$tstreams$coordination$producer$PeerAgent$$electPartitionMasterInternal$1.apply(PeerAgent.scala:161)
at com.bwsw.tstreams.coordination.producer.PeerAgent$$anonfun$com$bwsw$tstreams$coordination$producer$PeerAgent$$electPartitionMasterInternal$1.apply(PeerAgent.scala:153)
at scala.Option.fold(Option.scala:158)
at com.bwsw.tstreams.coordination.producer.PeerAgent.com$bwsw$tstreams$coordination$producer$PeerAgent$$electPartitionMasterInternal(PeerAgent.scala:171)
at com.bwsw.tstreams.coordination.producer.PeerAgent$$anonfun$com$bwsw$tstreams$coordination$producer$PeerAgent$$electPartitionMasterInternal$1.apply(PeerAgent.scala:161)
at com.bwsw.tstreams.coordination.producer.PeerAgent$$anonfun$com$bwsw$tstreams$coordination$producer$PeerAgent$$electPartitionMasterInternal$1.apply(PeerAgent.scala:153)
at scala.Option.fold(Option.scala:158)
at com.bwsw.tstreams.coordination.producer.PeerAgent.com$bwsw$tstreams$coordination$producer$PeerAgent$$electPartitionMasterInternal(PeerAgent.scala:171)
at com.bwsw.tstreams.coordination.producer.PeerAgent$$anonfun$com$bwsw$tstreams$coordination$producer$PeerAgent$$electPartitionMasterInternal$1.apply(PeerAgent.scala:161)
at com.bwsw.tstreams.coordination.producer.PeerAgent$$anonfun$com$bwsw$tstreams$coordination$producer$PeerAgent$$electPartitionMasterInternal$1.apply(PeerAgent.scala:153)
at scala.Option.fold(Option.scala:158)
at com.bwsw.tstreams.coordination.producer.PeerAgent.com$bwsw$tstreams$coordination$producer$PeerAgent$$electPartitionMasterInternal(PeerAgent.scala:171)
at com.bwsw.tstreams.coordination.producer.PeerAgent$$anonfun$com$bwsw$tstreams$coordination$producer$PeerAgent$$electPartitionMasterInternal$1.apply(PeerAgent.scala:161)
at com.bwsw.tstreams.coordination.producer.PeerAgent$$anonfun$com$bwsw$tstreams$coordination$producer$PeerAgent$$electPartitionMasterInternal$1.apply(PeerAgent.scala:153)
at scala.Option.fold(Option.scala:158)
at com.bwsw.tstreams.coordination.producer.PeerAgent.com$bwsw$tstreams$coordination$producer$PeerAgent$$electPartitionMasterInternal(PeerAgent.scala:171)
at com.bwsw.tstreams.coordination.producer.PeerAgent$$anonfun$com$bwsw$tstreams$coordination$producer$PeerAgent$$electPartitionMasterInternal$1.apply(PeerAgent.scala:161)
at com.bwsw.tstreams.coordination.producer.PeerAgent$$anonfun$com$bwsw$tstreams$coordination$producer$PeerAgent$$electPartitionMasterInternal$1.apply(PeerAgent.scala:153)
at scala.Option.fold(Option.scala:158)
at com.bwsw.tstreams.coordination.producer.PeerAgent.com$bwsw$tstreams$coordination$producer$PeerAgent$$electPartitionMasterInternal(PeerAgent.scala:171)
at com.bwsw.tstreams.coordination.producer.PeerAgent$$anonfun$com$bwsw$tstreams$coordination$producer$PeerAgent$$electPartitionMasterInternal$1.apply(PeerAgent.scala:161)
at com.bwsw.tstreams.coordination.producer.PeerAgent$$anonfun$com$bwsw$tstreams$coordination$producer$PeerAgent$$electPartitionMasterInternal$1.apply(PeerAgent.scala:153)
at scala.Option.fold(Option.scala:158)
at com.bwsw.tstreams.coordination.producer.PeerAgent.com$bwsw$tstreams$coordination$producer$PeerAgent$$electPartitionMasterInternal(PeerAgent.scala:171)
at com.bwsw.tstreams.coordination.producer.PeerAgent$$anonfun$com$bwsw$tstreams$coordination$producer$PeerAgent$$electPartitionMaster$1.apply(PeerAgent.scala:181)
at com.bwsw.tstreams.coordination.producer.PeerAgent$$anonfun$com$bwsw$tstreams$coordination$producer$PeerAgent$$electPartitionMaster$1.apply(PeerAgent.scala:181)
at com.bwsw.tstreams.common.LockUtil$.withZkLockOrDieDo(LockUtil.scala:100)
at com.bwsw.tstreams.coordination.producer.AgentsStateDBService.withElectionLockDo(AgentsStateDBService.scala:301)
at com.bwsw.tstreams.coordination.producer.PeerAgent.com$bwsw$tstreams$coordination$producer$PeerAgent$$electPartitionMaster(PeerAgent.scala:181)
at com.bwsw.tstreams.coordination.producer.PeerAgent$$anonfun$updateMaster$1.apply$mcV$sp(PeerAgent.scala:205)
at com.bwsw.tstreams.coordination.producer.PeerAgent$$anonfun$updateMaster$1.apply(PeerAgent.scala:205)
at com.bwsw.tstreams.coordination.producer.PeerAgent$$anonfun$updateMaster$1.apply(PeerAgent.scala:205)
at scala.Option.fold(Option.scala:158)
at com.bwsw.tstreams.coordination.producer.PeerAgent.updateMaster(PeerAgent.scala:205)
at com.bwsw.tstreams.coordination.producer.PeerAgent$$anonfun$updateMaster$2.apply(PeerAgent.scala:214)
at com.bwsw.tstreams.coordination.producer.PeerAgent$$anonfun$updateMaster$2.apply(PeerAgent.scala:205)
at scala.Option.fold(Option.scala:158)
at com.bwsw.tstreams.coordination.producer.PeerAgent.updateMaster(PeerAgent.scala:205)
at com.bwsw.tstreams.coordination.producer.PeerAgent$$anon$2.run(PeerAgent.scala:131)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.