Skip to content
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

Sim exception #532

Open
patsonluk opened this issue Nov 21, 2022 · 1 comment
Open

Sim exception #532

patsonluk opened this issue Nov 21, 2022 · 1 comment

Comments

@patsonluk
Copy link
Owner

Airline(Great Northern Airways,false,4056) profit is: ...
[ERROR] [11/21/2022 16:18:24.523] [pool-6-thread-70] [akka://rabbit-akka-stream/user/$a] null
java.util.NoSuchElementException
        at scala.collection.immutable.BitmapIndexedMapNode.apply(HashMap.scala:569)
        at scala.collection.immutable.HashMap.apply(HashMap.scala:132)
        at com.patson.data.DelegateSource$.$anonfun$loadBusyDelegatesByQueryString$5(DelegateSource.scala:83)
        at scala.collection.immutable.List.map(List.scala:226)
        at com.patson.data.DelegateSource$.$anonfun$loadBusyDelegatesByQueryString$3(DelegateSource.scala:82)
        at scala.collection.immutable.List.map(List.scala:222)
        at com.patson.data.DelegateSource$.loadBusyDelegatesByQueryString(DelegateSource.scala:75)
        at com.patson.data.DelegateSource$.loadBusyDelegatesByCriteria(DelegateSource.scala:38)
        at com.patson.data.DelegateSource$.loadBusyDelegatesByAirline(DelegateSource.scala:24)
        at com.patson.data.DelegateSource$.loadCampaignTasksByAirlineId(DelegateSource.scala:153)
        at com.patson.AirlineSimulation$.$anonfun$airlineSimulation$18(AirlineSimulation.scala:254)
        at com.patson.AirlineSimulation$.$anonfun$airlineSimulation$18$adapted(AirlineSimulation.scala:67)
        at scala.collection.immutable.List.foreach(List.scala:312)
        at com.patson.AirlineSimulation$.airlineSimulation(AirlineSimulation.scala:67)
        at com.patson.MainSimulation$.startCycle(MainSimulation.scala:61)
        at com.patson.MainSimulation$MainSimulationActor$$anonfun$receive$1.applyOrElse(MainSimulation.scala:113)
        at akka.actor.Actor.aroundReceive(Actor.scala:539)
        at akka.actor.Actor.aroundReceive$(Actor.scala:537)
        at com.patson.MainSimulation$MainSimulationActor.aroundReceive(MainSimulation.scala:108)
        at akka.actor.ActorCell.receiveMessage(ActorCell.scala:612)
        at akka.actor.ActorCell.invoke(ActorCell.scala:581)
        at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:268)
        at akka.dispatch.Mailbox.run(Mailbox.scala:229)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:829)

cycle 19609 starting!
Bridge actor: received from simulation that CycleStart(19609,1669047504560)
@patsonluk
Copy link
Owner Author

patsonluk commented Nov 26, 2022

Probably race condition? or drop of delegates?

Has entry in busy_delegate but no corresponding entry in various delegate tasks table - very weird...as there are constraints? This also self recovered?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant