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

Match error with auto-start=false #300

Closed
trobert opened this issue Jan 8, 2016 · 1 comment
Closed

Match error with auto-start=false #300

trobert opened this issue Jan 8, 2016 · 1 comment

Comments

@trobert
Copy link
Contributor

trobert commented Jan 8, 2016

(On branch java8)
Kamon crash when I start with the following config kamon. modules.kamon-system-metrics.auto-start = false

17:44:24.985 [main] INFO  Kamon - Initializing Kamon...
17:44:24.992 [main] INFO  Kamon - Trying to load kamon-autoweave...
17:44:24.994 [main] INFO  Kamon - Kamon-autoweave failed to load. Reason: we have not found the kamon.autoweave.Autoweave$ class in the classpath.
17:44:26.993 [main] DEBUG kamon.ModuleLoaderExtension - Auto starting the [kamon-log-reporter] module.
[INFO] [01/08/2016 17:44:26.999] [main] [LogReporterExtension(akka://kamon)] Starting the Kamon(LogReporter) extension
17:44:27.026 [main] DEBUG kamon.ModuleLoaderExtension - Auto starting the [kamon-statsd] module.
[INFO] [01/08/2016 17:44:27.030] [main] [StatsDExtension(akka://kamon)] Starting the Kamon(StatsD) extension
Exception in thread "main" scala.MatchError: AvailableModuleInfo(kamon-system-metrics,false,Some(ModuleStartInfo(false,kamon.system.SystemMetrics))) (of class kamon.AvailableModuleInfo)
    at kamon.ModuleLoaderExtension.<init>(ModuleLoader.scala:38)
    at kamon.ModuleLoader$.createExtension(ModuleLoader.scala:27)
    at kamon.ModuleLoader$.createExtension(ModuleLoader.scala:25)
    at akka.actor.ActorSystemImpl.registerExtension(ActorSystem.scala:757)
    at kamon.Kamon$._start$lzycompute(Kamon.scala:52)
    at kamon.Kamon$._start(Kamon.scala:49)
    at kamon.Kamon$.start(Kamon.scala:55)

@dpsoft
Copy link
Contributor

dpsoft commented Jan 9, 2016

related to #302

@dpsoft dpsoft closed this as completed Jan 9, 2016
dpsoft pushed a commit that referenced this issue Jan 14, 2016
dpsoft added a commit that referenced this issue Dec 4, 2016
= core: don't throw MathError when auto-start is disabled for a module #300
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

2 participants