`ObjectCollectedException` causes ScalaDebugTarget to shutdown
I don't know if this is a problem, but I have this in my logs. Maybe this should be handled gracefully, since it looks like a normal event.
ScalaDebugTargetActor - Shutting down scala.tools.eclipse.debug.model.ScalaDebugTargetActor@40f8866a because of
com.sun.jdi.ObjectCollectedException
at org.eclipse.jdi.internal.MirrorImpl.defaultReplyErrorHandler(MirrorImpl.java:257)
at org.eclipse.jdi.internal.ThreadReferenceImpl.threadGroup(ThreadReferenceImpl.java:558)
at scala.tools.eclipse.debug.model.ScalaThread.liftedTree1$1(ScalaThread.scala:103)
at scala.tools.eclipse.debug.model.ScalaThread.<init>(ScalaThread.scala:103)
at scala.tools.eclipse.debug.model.ScalaThread$$anon$1.<init>(ScalaThread.scala:22)
at scala.tools.eclipse.debug.model.ScalaThread$.apply(ScalaThread.scala:22)
at scala.tools.eclipse.debug.model.ScalaDebugTarget.addThread(ScalaDebugTarget.scala:189)
at scala.tools.eclipse.debug.model.ScalaDebugTargetActor$$anonfun$behavior$1.applyOrElse(ScalaDebugTarget.scala:244)
at scala.PartialFunction$OrElse.apply(PartialFunction.scala:162)
at scala.actors.ReactorTask.run(ReactorTask.scala:31)
at scala.actors.Reactor$class.resumeReceiver(Reactor.scala:129)
at scala.tools.eclipse.debug.model.ScalaDebugTargetActor.scala$actors$InternalReplyReactor$$super$resumeReceiver(ScalaDebugTarget.scala:236)
at scala.actors.InternalReplyReactor$class.resumeReceiver(InternalReplyReactor.scala:59)
at scala.tools.eclipse.debug.model.ScalaDebugTargetActor.resumeReceiver(ScalaDebugTarget.scala:236)
at scala.actors.InternalActor$class.searchMailbox(InternalActor.scala:76)
at scala.tools.eclipse.debug.model.ScalaDebugTargetActor.searchMailbox(ScalaDebugTarget.scala:236)
at scala.actors.Reactor$$anonfun$startSearch$1$$anonfun$apply$mcV$sp$1.apply$mcV$sp(Reactor.scala:117)
at scala.actors.Reactor$$anonfun$startSearch$1$$anonfun$apply$mcV$sp$1.apply(Reactor.scala:114)
at scala.actors.Reactor$$anonfun$startSearch$1$$anonfun$apply$mcV$sp$1.apply(Reactor.scala:114)
at scala.actors.ReactorTask.run(ReactorTask.scala:33)
at scala.actors.ReactorTask.compute(ReactorTask.scala:63)
at scala.concurrent.forkjoin.RecursiveAction.exec(RecursiveAction.java:160)
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:262)
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975)
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1478)
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)
Leave a comment
on 2013-02-22 13:47 *
By Iulian Dragos
Assigned to set to Iulian Dragos
Status changed from New to Fixed
(In scala-ide:a07bd6b388a3da86aebba7de3c236d7ab9b3a619) More robust against VM exceptions.
This is not exhaustive (a handful of FIXME notes are still in the codebase),
but it is a step in the right direction and fixes a number of issues I've
been seeing lately.
Fixed #1001328, Refs #1001487.
Branch: master
- clearly report an actor shutting down because of an uncaught exception
- gracefully handle the common VM exceptions.
This is not exhaustive (a handful of FIXME notes are still in the codebase),
but it is a step in the right direction and fixes a number of issues I've
been seeing lately.
Fixed #1001328, Refs #1001487.
Branch: master
on 2013-02-22 13:48 *
By Iulian Dragos
(In scala-ide:e2ac22b6a5d897e24bbb6136f24d6d818e9e82af) More robust against VM exceptions.
This is not exhaustive (a handful of FIXME notes are still in the codebase),
but it is a step in the right direction and fixes a number of issues I've
been seeing lately.
Fixed #1001328, Refs #1001487.(cherry picked from commit a07bd6b388a3da86aebba7de3c236d7ab9b3a619)
Branch: release/scala-ide-3.0.x
- clearly report an actor shutting down because of an uncaught exception
- gracefully handle the common VM exceptions.
This is not exhaustive (a handful of FIXME notes are still in the codebase),
but it is a step in the right direction and fixes a number of issues I've
been seeing lately.
Fixed #1001328, Refs #1001487.(cherry picked from commit a07bd6b388a3da86aebba7de3c236d7ab9b3a619)
Branch: release/scala-ide-3.0.x