Closed velvia closed 11 years ago
Thanks. I'll update this issue when the instrumentation is fixed for this.
We'll protect against the null.
It looks like the part of spray 1.0-M6 that causes this problem is not in 1.0-M8.1. I haven't tried it but updating to this latest version of spray could allow things to be traced now.
Thanks Peter. Will try Spray 1.0-M8.1.
On Mon, Jul 22, 2013 at 10:34 PM, Peter Vlugter notifications@github.comwrote:
We'll protect against the null.
It looks like the part of spray 1.0-M6 that causes this problem is not in 1.0-M8.1. I haven't tried it but updating to this latest version of spray could allow things to be traced now.
— Reply to this email directly or view it on GitHubhttps://github.com/sbt/sbt-atmos/issues/2#issuecomment-21394087 .
Because the people who are crazy enough to think they can change the world, are the ones who do. -- Steve Jobs
Atmos 1.2.1 (and sbt-atmos 0.2.0) should be okay with spray 1.0-M6.
I have a project using Akka 2.0.5 / Spray 1.0-M6 / Scala 2.9.3. When running atmos:run, I get the following stack trace:
[info] [2013-07-22 12:01:11,981] INFO a.e.s.Slf4jEventHandler [] - Slf4jEventHandler started [info] [2013-07-22 12:01:12,249] INFO o.r.jobserver.JarManager [akka://JobServer/user/jar-manager] - Starting actor ooyala.rookery.jobserver.JarManager [info] [2013-07-22 12:01:12,249] INFO o.r.jobserver.Supervisor [akka://JobServer/user/supervisor] - Starting actor ooyala.rookery.jobserver.Supervisor [info] [2013-07-22 12:01:12,942] INFO o.rookery.jobserver.WebApi [] - Starting browser web service... [info] [2013-07-22 12:01:13,073] ERROR a.s.i.SelectorWakingMailbox [akka://JobServer/user/io-bridge] - exception during processing system messages, dropping 1 messages! [info] java.lang.NullPointerException: null [info] at com.typesafe.atmos.trace.ActiveTrace.(TraceContext.scala:45) ~[atmos-event_2.9.2-1.2.0.jar:1.2.0]
[info] at com.typesafe.atmos.trace.TraceLocal.start(TraceLocal.scala:58) ~[atmos-trace_2.9.2-1.2.0.jar:1.2.0]
[info] at akka.actor.ActorCell.systemInvoke_aroundBody1$advice(ActorCell.scala:470) ~[akka-actor-2.0.5.jar:2.0.5]
[info] at akka.actor.ActorCell.systemInvoke(ActorCell.scala:1) ~[akka-actor-2.0.5.jar:2.0.5]
[info] at akka.dispatch.Mailbox.processAllSystemMessages(Mailbox.scala:209) ~[akka-actor-2.0.5.jar:2.0.5]
[info] at akka.dispatch.Mailbox.run(Mailbox.scala:178) ~[akka-actor-2.0.5.jar:2.0.5]
[info] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) ~[na:1.6.0_41]
[info] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) ~[na:1.6.0_41]
[info] at java.lang.Thread.run(Thread.java:680) ~[na:1.6.0_41]
[info] [2013-07-22 12:01:13,074] ERROR akka.actor.ActorCell [akka://JobServer/user/io-bridge] - null
[info] java.lang.NullPointerException: null
[info] at akka.actor.ActorCell.invoke_aroundBody2(ActorCell.scala:626) ~[akka-actor-2.0.5.jar:2.0.5]
[info] at akka.actor.ActorCell.invoke_aroundBody3$advice(ActorCell.scala:537) ~[akka-actor-2.0.5.jar:2.0.5]
[info] at akka.actor.ActorCell.invoke(ActorCell.scala:1) ~[akka-actor-2.0.5.jar:2.0.5]
[info] at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197) ~[akka-actor-2.0.5.jar:2.0.5]
[info] at akka.dispatch.Mailbox.run(Mailbox.scala:179) ~[akka-actor-2.0.5.jar:2.0.5]
[info] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) ~[na:1.6.0_41]
[info] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) ~[na:1.6.0_41]
[info] at java.lang.Thread.run(Thread.java:680) ~[na:1.6.0_41]
[info] [2013-07-22 12:01:13,077] ERROR akka.actor.ActorSystemImpl [ActorSystem(JobServer)] - Uncaught error from thread [JobServer-5]
[info] java.lang.NullPointerException: null
[info] at com.typesafe.atmos.trace.ActiveTrace.(TraceContext.scala:45) ~[atmos-event_2.9.2-1.2.0.jar:1.2.0]
[info] at com.typesafe.atmos.trace.TraceLocal.start(TraceLocal.scala:58) ~[atmos-trace_2.9.2-1.2.0.jar:1.2.0]
[info] at akka.actor.ActorCell.systemInvoke_aroundBody1$advice(ActorCell.scala:470) ~[akka-actor-2.0.5.jar:2.0.5]
[info] at akka.actor.ActorCell.systemInvoke(ActorCell.scala:1) ~[akka-actor-2.0.5.jar:2.0.5]
[info] at akka.dispatch.Mailbox.processAllSystemMessages(Mailbox.scala:209) ~[akka-actor-2.0.5.jar:2.0.5]
[info] at akka.dispatch.Mailbox.run(Mailbox.scala:178) ~[akka-actor-2.0.5.jar:2.0.5]
[info] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) ~[na:1.6.0_41]
[info] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) ~[na:1.6.0_41]
[info] at java.lang.Thread.run(Thread.java:680) ~[na:1.6.0_41]
[info] [2013-07-22 12:01:13,080] ERROR a.s.i.SelectorWakingMailbox [akka://JobServer/user/io-bridge] - exception during processing system messages, dropping 1 messages!
[info] java.lang.NullPointerException: null
[info] at com.typesafe.atmos.trace.ActiveTrace.(TraceContext.scala:45) ~[atmos-event_2.9.2-1.2.0.jar:1.2.0]
[info] at com.typesafe.atmos.trace.TraceLocal.start(TraceLocal.scala:58) ~[atmos-trace_2.9.2-1.2.0.jar:1.2.0]
[info] at akka.actor.ActorCell.systemInvoke_aroundBody1$advice(ActorCell.scala:470) ~[akka-actor-2.0.5.jar:2.0.5]
[info] at akka.actor.ActorCell.systemInvoke(ActorCell.scala:1) ~[akka-actor-2.0.5.jar:2.0.5]
[info] at akka.dispatch.Mailbox.processAllSystemMessages(Mailbox.scala:209) ~[akka-actor-2.0.5.jar:2.0.5]
[info] at akka.dispatch.Mailbox.run(Mailbox.scala:178) ~[akka-actor-2.0.5.jar:2.0.5]
[info] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) ~[na:1.6.0_41]
[info] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) ~[na:1.6.0_41]
[info] at java.lang.Thread.run(Thread.java:680) ~[na:1.6.0_41]
[info] [2013-07-22 12:01:13,081] ERROR akka.actor.ActorSystemImpl [ActorSystem(JobServer)] - Uncaught error from thread [JobServer-6]
The service runs fine otherwise when I do "run".