java.lang.AbstractMethodError: ch.qos.logback.core.net.SyslogAppenderBase.createOutputStream()Lch/qos/logback/core/net/SyslogOutputStream;

JIRA | Curtis Ruck | 9 months ago
  1. 0

    When starting the new puppetserver, it fails when logback is configured with a SyslogAppender. This functionality worked in all versions from 2.0 to 2.2. The new puppetserver is mismatching logback-core-1.1.3 with logback-classic-1.1.1. I'd try to provide a pull request with the fix, but I can't even figure out how the logback dependency versions are selected. Exception in thread "main" java.lang.AbstractMethodError: ch.qos.logback.core.net.SyslogAppenderBase.createOutputStream()Lch/qos/logback/core/net/SyslogOutputStream; at ch.qos.logback.core.net.SyslogAppenderBase.start(SyslogAppenderBase.java:62) at ch.qos.logback.classic.net.SyslogAppender.start(SyslogAppender.java:48) at ch.qos.logback.core.joran.action.AppenderAction.end(AppenderAction.java:96) at ch.qos.logback.core.joran.spi.Interpreter.callEndAction(Interpreter.java:317) at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:196) at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:182) at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:62) at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:149) at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:135) at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:99) at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:76) at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:68) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:93) at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:28) at puppetlabs.trapperkeeper.logging$configure_logger_BANG_.invoke(logging.clj:89) at puppetlabs.trapperkeeper.logging$configure_logging_BANG_.invoke(logging.clj:102) at puppetlabs.trapperkeeper.config$initialize_logging_BANG_.invoke(config.clj:131) at puppetlabs.trapperkeeper.core$boot_with_cli_data.invoke(core.clj:128) at puppetlabs.trapperkeeper.core$run.invoke(core.clj:155) at puppetlabs.trapperkeeper.core$main.doInvoke(core.clj:177) at clojure.lang.RestFn.invoke(RestFn.java:457) at clojure.lang.Var.invoke(Var.java:394) at clojure.lang.AFn.applyToHelper(AFn.java:165) at clojure.lang.Var.applyTo(Var.java:700) at clojure.core$apply.invoke(core.clj:630) at puppetlabs.trapperkeeper.main$_main.doInvoke(main.clj:7) at clojure.lang.RestFn.invoke(RestFn.java:457) at clojure.lang.Var.invoke(Var.java:394) at clojure.lang.AFn.applyToHelper(AFn.java:165) at clojure.lang.Var.applyTo(Var.java:700) at clojure.core$apply.invoke(core.clj:630) at clojure.main$main_opt.invoke(main.clj:316) at clojure.main$main.doInvoke(main.clj:421) at clojure.lang.RestFn.invoke(RestFn.java:512) at clojure.lang.Var.invoke(Var.java:409) at clojure.lang.AFn.applyToHelper(AFn.java:178) at clojure.lang.Var.applyTo(Var.java:700) at clojure.main.main(main.java:37)

    JIRA | 9 months ago | Curtis Ruck
    java.lang.AbstractMethodError: ch.qos.logback.core.net.SyslogAppenderBase.createOutputStream()Lch/qos/logback/core/net/SyslogOutputStream;
  2. 0

    When starting the new puppetserver, it fails when logback is configured with a SyslogAppender. This functionality worked in all versions from 2.0 to 2.2. The new puppetserver is mismatching logback-core-1.1.3 with logback-classic-1.1.1. I'd try to provide a pull request with the fix, but I can't even figure out how the logback dependency versions are selected. Exception in thread "main" java.lang.AbstractMethodError: ch.qos.logback.core.net.SyslogAppenderBase.createOutputStream()Lch/qos/logback/core/net/SyslogOutputStream; at ch.qos.logback.core.net.SyslogAppenderBase.start(SyslogAppenderBase.java:62) at ch.qos.logback.classic.net.SyslogAppender.start(SyslogAppender.java:48) at ch.qos.logback.core.joran.action.AppenderAction.end(AppenderAction.java:96) at ch.qos.logback.core.joran.spi.Interpreter.callEndAction(Interpreter.java:317) at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:196) at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:182) at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:62) at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:149) at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:135) at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:99) at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:76) at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:68) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:93) at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:28) at puppetlabs.trapperkeeper.logging$configure_logger_BANG_.invoke(logging.clj:89) at puppetlabs.trapperkeeper.logging$configure_logging_BANG_.invoke(logging.clj:102) at puppetlabs.trapperkeeper.config$initialize_logging_BANG_.invoke(config.clj:131) at puppetlabs.trapperkeeper.core$boot_with_cli_data.invoke(core.clj:128) at puppetlabs.trapperkeeper.core$run.invoke(core.clj:155) at puppetlabs.trapperkeeper.core$main.doInvoke(core.clj:177) at clojure.lang.RestFn.invoke(RestFn.java:457) at clojure.lang.Var.invoke(Var.java:394) at clojure.lang.AFn.applyToHelper(AFn.java:165) at clojure.lang.Var.applyTo(Var.java:700) at clojure.core$apply.invoke(core.clj:630) at puppetlabs.trapperkeeper.main$_main.doInvoke(main.clj:7) at clojure.lang.RestFn.invoke(RestFn.java:457) at clojure.lang.Var.invoke(Var.java:394) at clojure.lang.AFn.applyToHelper(AFn.java:165) at clojure.lang.Var.applyTo(Var.java:700) at clojure.core$apply.invoke(core.clj:630) at clojure.main$main_opt.invoke(main.clj:316) at clojure.main$main.doInvoke(main.clj:421) at clojure.lang.RestFn.invoke(RestFn.java:512) at clojure.lang.Var.invoke(Var.java:409) at clojure.lang.AFn.applyToHelper(AFn.java:178) at clojure.lang.Var.applyTo(Var.java:700) at clojure.main.main(main.java:37)

    JIRA | 9 months ago | Curtis Ruck
    java.lang.AbstractMethodError: ch.qos.logback.core.net.SyslogAppenderBase.createOutputStream()Lch/qos/logback/core/net/SyslogOutputStream;
  3. 0

    dropwizard 0.7.1 syslog throws java.lang.AbstractMethodError

    GitHub | 2 years ago | wendell-bu
    java.lang.AbstractMethodError: ch.qos.logback.core.net.SyslogAppenderBase.createOutputStream()Lch/qos/logback/core/net/SyslogOutputStream;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    "SLF4J: Class path contains multiple SLF4J bindings" error when deploying the Spring example application to Cloud Foundry

    Stack Overflow | 7 months ago | Sanjay
    java.lang.AbstractMethodError: ch.qos.logback.classic.pattern.EnsureExceptionHandling.process(Lch/qos/logback/core/Context;Lch/qos/logback/core/pattern/Converter;)V

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.AbstractMethodError

      ch.qos.logback.core.net.SyslogAppenderBase.createOutputStream()Lch/qos/logback/core/net/SyslogOutputStream;

      at ch.qos.logback.core.net.SyslogAppenderBase.start()
    2. Logback Core Module
      SyslogAppenderBase.start
      1. ch.qos.logback.core.net.SyslogAppenderBase.start(SyslogAppenderBase.java:62)
      1 frame
    3. Logback Classic Module
      SyslogAppender.start
      1. ch.qos.logback.classic.net.SyslogAppender.start(SyslogAppender.java:48)
      1 frame
    4. Logback Core Module
      GenericConfigurator.doConfigure
      1. ch.qos.logback.core.joran.action.AppenderAction.end(AppenderAction.java:96)
      2. ch.qos.logback.core.joran.spi.Interpreter.callEndAction(Interpreter.java:317)
      3. ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:196)
      4. ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:182)
      5. ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:62)
      6. ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:149)
      7. ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:135)
      8. ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:99)
      9. ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:76)
      10. ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:68)
      10 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    6. Clojure
      Reflector.invokeInstanceMethod
      1. clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:93)
      2. clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:28)
      2 frames
    7. puppetlabs.trapperkeeper
      core$main.doInvoke
      1. puppetlabs.trapperkeeper.logging$configure_logger_BANG_.invoke(logging.clj:89)
      2. puppetlabs.trapperkeeper.logging$configure_logging_BANG_.invoke(logging.clj:102)
      3. puppetlabs.trapperkeeper.config$initialize_logging_BANG_.invoke(config.clj:131)
      4. puppetlabs.trapperkeeper.core$boot_with_cli_data.invoke(core.clj:128)
      5. puppetlabs.trapperkeeper.core$run.invoke(core.clj:155)
      6. puppetlabs.trapperkeeper.core$main.doInvoke(core.clj:177)
      6 frames
    8. Clojure
      core$apply.invoke
      1. clojure.lang.RestFn.invoke(RestFn.java:457)
      2. clojure.lang.Var.invoke(Var.java:394)
      3. clojure.lang.AFn.applyToHelper(AFn.java:165)
      4. clojure.lang.Var.applyTo(Var.java:700)
      5. clojure.core$apply.invoke(core.clj:630)
      5 frames
    9. puppetlabs.trapperkeeper
      main$_main.doInvoke
      1. puppetlabs.trapperkeeper.main$_main.doInvoke(main.clj:7)
      1 frame
    10. Clojure
      main.main
      1. clojure.lang.RestFn.invoke(RestFn.java:457)
      2. clojure.lang.Var.invoke(Var.java:394)
      3. clojure.lang.AFn.applyToHelper(AFn.java:165)
      4. clojure.lang.Var.applyTo(Var.java:700)
      5. clojure.core$apply.invoke(core.clj:630)
      6. clojure.main$main_opt.invoke(main.clj:316)
      7. clojure.main$main.doInvoke(main.clj:421)
      8. clojure.lang.RestFn.invoke(RestFn.java:512)
      9. clojure.lang.Var.invoke(Var.java:409)
      10. clojure.lang.AFn.applyToHelper(AFn.java:178)
      11. clojure.lang.Var.applyTo(Var.java:700)
      12. clojure.main.main(main.java:37)
      12 frames