{"action":"created","issue":{"url":"https://api.github.com/repos/kamon-io/Kamon/issues/295","labels_url":"https://api.github.com/repos/kamon-io/Kamon/issues/295/labels{/name}","comments_url":"https://api.github.com/repos/kamon-io/Kamon/issues/295/comments","events_url":"https://api.github.com/repos/kamon-io/Kamon/issues/295/events","html_url":"https://github.com/kamon-io/Kamon/issues/295","id":119918904,"number":295,"title":"Kamon StackOverflowError shutting down JVM","user":{"login":"ShakhoVW","id":4647183,"avatar_url":"https://avatars.githubusercontent.com/u/4647183?v=3","gravatar_id":"","url":"https://api.github.com/users/ShakhoVW","html_url":"https://github.com/ShakhoVW","followers_url":"https://api.github.com/users/ShakhoVW/followers","following_url":"https://api.github.com/users/ShakhoVW/following{/other_user}","gists_url":"https://api.github.com/users/ShakhoVW/gists{/gist_id}","starred_url":"https://api.github.com/users/ShakhoVW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShakhoVW/subscriptions","organizations_url":"https://api.github.com/users/ShakhoVW/orgs","repos_url":"https://api.github.com/users/ShakhoVW/repos","events_url":"https://api.github.com/users/ShakhoVW/events{/privacy}","received_events_url":"https://api.github.com/users/ShakhoVW/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-02T11:05:51Z","updated_at":"2015-12-04T08:57:20Z","closed_at":null,"body":"Hi! Can somebody help me with this Kamon error:\r\n\r\n```\r\n[ERROR] [12/01/2015 19:09:44.697] [kamon-akka.actor.default-dispatcher-3] [akka.actor.ActorSystemImpl(kamon)] Uncaught error from thread [kamon-akka.actor.default-dispatcher-3] shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled\r\njava.lang.StackOverflowError\r\n        at java.util.regex.Pattern$CharProperty.match(Pattern.java:3776)\r\n        at java.util.regex.Pattern$Curly.match0(Pattern.java:4250)\r\n        at java.util.regex.Pattern$Curly.match(Pattern.java:4234)\r\n        at java.util.regex.Matcher.match(Matcher.java:1270)\r\n        at java.util.regex.Matcher.matches(Matcher.java:604)\r\n        at kamon.util.GlobPathFilter.accept(GlobPathFilter.java:51)\r\n        at kamon.metric.SubscriptionFilter$$anon$3.accept(SubscriptionsDispatcher.scala:113)\r\n        at kamon.metric.SubscriptionFilter$$anon$2.accept(SubscriptionsDispatcher.scala:99)\r\n        at kamon.metric.SubscriptionFilter$$anon$2.accept(SubscriptionsDispatcher.scala:99)\r\n        at kamon.metric.SubscriptionFilter$$anon$2.accept(SubscriptionsDispatcher.scala:99)\r\n        at kamon.metric.SubscriptionFilter$$anon$2.accept(SubscriptionsDispatcher.scala:99)\r\n        at kamon.metric.SubscriptionFilter$$anon$2.accept(SubscriptionsDispatcher.scala:99)\r\n...\r\n```\r\nMy config:\r\n\r\n```\r\nkamon {\r\n  disable = false\r\n  akka {\r\n    ask-pattern-timeout-warning = off\r\n  }\r\n\r\n  metric {\r\n    tick-interval = 2 second\r\n    filters {\r\n      akka-actor {\r\n        includes = [\"**\"]\r\n        excludes = [\"*/system/**\", \"*/user/IO-**\"]\r\n      }\r\n\r\n      akka-dispatcher {\r\n        includes = [\"*\"]\r\n        excludes = []\r\n      }\r\n    }\r\n  }\r\n\r\n  riemann {\r\n    hostname = \"riemann\"\r\n    port = 5555\r\n\r\n    subscriptions {\r\n      trace           = [\"**\"]\r\n      akka-actor      = [\"**\"]\r\n      akka-dispatcher = [\"**\"]\r\n      akka-router     = [\"**\"]\r\n      counter         = [\"**\"]\r\n      min-max-counter = [\"**\"]\r\n      histogram       = [\"**\"]\r\n      gauge           = [\"**\"]\r\n      system-metric   = [\"**\"]\r\n    }\r\n  }\r\n\r\n  modules {\r\n    kamon-riemann {\r\n      auto-start = yes\r\n      requires-aspectj = no\r\n      extension-id = \"RiemannReporter\"\r\n    }\r\n    kamon-akka {\r\n      auto-start = yes\r\n      requires-aspectj = yes\r\n      extension-id = \"kamon.akka.Akka\"\r\n    }\r\n    kamon-system-metrics {\r\n      auto-start: yes\r\n      requires-aspectj: no\r\n      extension-id: \"kamon.system.SystemMetrics\"\r\n    }\r\n  }\r\n}\r\n```\r\n\r\nThis is actor wrapper to send custom metrics to Riemann\r\nDeps:\r\n```\r\n  val kamonVersion = \"0.4.0\"\r\n  val kamonCore = \"io.kamon\" %% \"kamon-core\" % kamonVersion % Provided\r\n  val kamonScala = \"io.kamon\" %% \"kamon-scala\" % kamonVersion % Provided\r\n  val kamonAkka = \"io.kamon\" %% \"kamon-akka\" % kamonVersion\r\n  val kamonSM = \"io.kamon\" %% \"kamon-system-metrics\" % kamonVersion\r\n```\r\nPS: I know about jvm-exit-on-fatal-error = off option, but I need a solution to avoid this error"},"comment":{"url":"https://api.github.com/repos/kamon-io/Kamon/issues/comments/161911782","html_url":"https://github.com/kamon-io/Kamon/issues/295#issuecomment-161911782","issue_url":"https://api.github.com/repos/kamon-io/Kamon/issues/295","id":161911782,"user":{"login":"ShakhoVW","id":4647183,"avatar_url":"https://avatars.githubusercontent.com/u/4647183?v=3","gravatar_id":"","url":"https://api.github.com/users/ShakhoVW","html_url":"https://github.com/ShakhoVW","followers_url":"https://api.github.com/users/ShakhoVW/followers","following_url":"https://api.github.com/users/ShakhoVW/following{/other_user}","gists_url":"https://api.github.com/users/ShakhoVW/gists{/gist_id}","starred_url":"https://api.github.com/users/ShakhoVW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShakhoVW/subscriptions","organizations_url":"https://api.github.com/users/ShakhoVW/orgs","repos_url":"https://api.github.com/users/ShakhoVW/repos","events_url":"https://api.github.com/users/ShakhoVW/events{/privacy}","received_events_url":"https://api.github.com/users/ShakhoVW/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T08:57:20Z","updated_at":"2015-12-04T08:57:20Z","body":"@dpsoft yeah, but I might share it\r\nbtw load test hasn't fallen with exception above"}}