Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %%% CREATED actor caoproute1 - thread=CoapServer(main)#1 n=3
- %%% ActorBasic caoproute1 | RUNNING IN java.util.concurrent.ScheduledThreadPoolExecutor@70754a5c[Running, pool size = 16, active threads = 1, queued tasks = 0, completed tasks = 19] thread=qakcpuspool-1 n=27
- %%% coldstorageservice | aaddValueToRequestMap storerequestcaoproute1, listSize={storerequestcaoproute1=[msg(storerequest,request,caoproute1,coldstorageservice,storerequest(1.0),15)]} mapsize=1
- %%% ActorBasic coldstorageservice | answer loadaccepted:loadaccepted(arg) to null mapsize=1
- findStoredRequest reqId=storerequest sender=null mapsize=1
- findStoredRequest storerequest key=storerequestcaoproute1 sender=null
- %%% coldstorageservice | BEFORE removeValueFromRequestMap storerequestcaoproute1, listSize=1 mapsize=1
- %%% coldstorageservice | AFTER removeValueFromRequestMap storerequestcaoproute1,listSize= 0 mapsize=1
- %%% coldstorageservice | answer NO sender map remove, mapsize=1
- %%% ActorBasic coldstorageservice | answer destName=caoproute1 msg=msg(loadaccepted,reply,coldstorageservice,caoproute1,loadaccepted(arg),16) }
- CSS: load for 1.0 KG accepted, currentWeight = 0.0
- CSS: waiting for new storage request
- TT: moving robot to indoor
- %%% trolleyexecutor | aaddValueToRequestMap movetransporttrolley, listSize={movetransporttrolley=[msg(move,request,transporttrolley,trolleyexecutor,move(0,4),18)]} mapsize=1
- TE: move
- TE: moveCompleted
- %%% ActorBasic trolleyexecutor | answer movedone:movedone(arg) to null mapsize=1
- findStoredRequest reqId=move sender=null mapsize=1
- findStoredRequest move key=movetransporttrolley sender=null
- %%% trolleyexecutor | BEFORE removeValueFromRequestMap movetransporttrolley, listSize=1 mapsize=1
- %%% trolleyexecutor | AFTER removeValueFromRequestMap movetransporttrolley,listSize= 0 mapsize=1
- %%% trolleyexecutor | answer NO sender map remove, mapsize=1
- %%% ActorBasic trolleyexecutor | answer destName=transporttrolley msg=msg(movedone,reply,trolleyexecutor,transporttrolley,movedone(arg),20) }
- TE: waiting
- TT: loading charge
- TT: charge loaded
- CSS: charge taken
- TT: moving to access port
- %%% trolleyexecutor | aaddValueToRequestMap movetransporttrolley, listSize={movetransporttrolley=[msg(move,request,transporttrolley,trolleyexecutor,move(4,3),22)]} mapsize=1
- TE: move
- TE: moveCompleted
- %%% ActorBasic trolleyexecutor | answer movedone:movedone(arg) to null mapsize=1
- findStoredRequest reqId=move sender=null mapsize=1
- findStoredRequest move key=movetransporttrolley sender=null
- %%% trolleyexecutor | BEFORE removeValueFromRequestMap movetransporttrolley, listSize=1 mapsize=1
- %%% trolleyexecutor | AFTER removeValueFromRequestMap movetransporttrolley,listSize= 0 mapsize=1
- %%% trolleyexecutor | answer NO sender map remove, mapsize=1
- %%% ActorBasic trolleyexecutor | answer destName=transporttrolley msg=msg(movedone,reply,trolleyexecutor,transporttrolley,movedone(arg),24) }
- TE: waiting
- TT: charge deposited
- CSS: current load deposited in ColdRoom, currentWeight = 1.0
- TT: no queued requests, returning to home
- %%% trolleyexecutor | aaddValueToRequestMap movetransporttrolley, listSize={movetransporttrolley=[msg(move,request,transporttrolley,trolleyexecutor,move(0,0),26)]} mapsize=1
- TE: move
- TE: moveCompleted
- %%% ActorBasic trolleyexecutor | answer movedone:movedone(arg) to null mapsize=1
- findStoredRequest reqId=move sender=null mapsize=1
- findStoredRequest move key=movetransporttrolley sender=null
- %%% trolleyexecutor | BEFORE removeValueFromRequestMap movetransporttrolley, listSize=1 mapsize=1
- %%% trolleyexecutor | AFTER removeValueFromRequestMap movetransporttrolley,listSize= 0 mapsize=1
- %%% trolleyexecutor | answer NO sender map remove, mapsize=1
- %%% ActorBasic trolleyexecutor | answer destName=transporttrolley msg=msg(movedone,reply,trolleyexecutor,transporttrolley,movedone(arg),28) }
- TE: waiting
- TT: waiting for new deposit request
- %%% CREATED actor caoproute2 - thread=CoapServer(main)#1 n=3
- %%% ActorBasic caoproute2 | RUNNING IN java.util.concurrent.ScheduledThreadPoolExecutor@70754a5c[Running, pool size = 16, active threads = 1, queued tasks = 0, completed tasks = 58] thread=qakcpuspool-7 n=29
- %%% coldstorageservice | aaddValueToRequestMap storerequestcaoproute2, listSize={storerequestcaoproute1=[], storerequestcaoproute2=[msg(storerequest,request,caoproute2,coldstorageservice,storerequest(1.0),30)]} mapsize=2
- %%% ActorBasic coldstorageservice | answer loadaccepted:loadaccepted(arg) to null mapsize=2
- findStoredRequest reqId=storerequest sender=null mapsize=2
- findStoredRequest storerequest key=storerequestcaoproute1 sender=null
- %%% coldstorageservice | BEFORE removeValueFromRequestMap storerequestcaoproute1, listSize=0 mapsize=2
- Exception in thread "main" java.util.NoSuchElementException: List is empty.
- at kotlin.collections.CollectionsKt__MutableCollectionsKt.removeFirst(MutableCollections.kt:241)
- at it.unibo.kactor.ActorBasic.removeValueFromRequestMap(ActorBasic.kt:300)
- at it.unibo.kactor.ActorBasic.findStoredRequest(ActorBasic.kt:268)
- at it.unibo.kactor.ActorBasic.answer(ActorBasic.kt:317)
- at it.unibo.kactor.ActorBasic.answer$default(ActorBasic.kt:313)
- at it.unibo.coldstorageservice.Coldstorageservice$getBody$1$3$1.invokeSuspend(Coldstorageservice.kt:53)
- at it.unibo.coldstorageservice.Coldstorageservice$getBody$1$3$1.invoke(Coldstorageservice.kt)
- at it.unibo.coldstorageservice.Coldstorageservice$getBody$1$3$1.invoke(Coldstorageservice.kt)
- at it.unibo.kactor.State$enterState$2.invokeSuspend(ActorBasicFsm.kt:71)
- at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
- at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
- at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:279)
- at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
- at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
- at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
- at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
- at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
- at it.unibo.ctx_coldstorageservice.MainCtx_coldstorageserviceKt.main(MainCtx_coldstorageservice.kt:7)
- at it.unibo.ctx_coldstorageservice.MainCtx_coldstorageserviceKt.main(MainCtx_coldstorageservice.kt)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement