Skip to content

inline_macro fails due to missing method override #38

@vwegert-adesso

Description

@vwegert-adesso

I'm trying to use inline_macro with the last published release 2.0.2 as described in the README, but I'm getting the following error:

Exception in thread "main" org.asciidoctor.gradle.remote.AsciidoctorRemoteExecutionException: Error running Asciidoctor whilst attempting to process x.adoc using backend html5
        at org.asciidoctor.gradle.remote.AsciidoctorJavaExec$_convertFiles_closure4.doCall(AsciidoctorJavaExec.groovy:91)
        at [...]

Caused by: java.lang.AbstractMethodError: Receiver class org.asciidoctor.groovydsl.extensions.DelegatingInlineMacroProcessor does not define or inherit an implementation of the resolved method 'abstract org.asciidoctor.ast.ContentNode process(org.asciidoctor.ast.StructuralNode, java.lang.String, java.util.Map)' of abstract class org.asciidoctor.extension.MacroProcessor.
        at org.asciidoctor.jruby.extension.processorproxies.InlineMacroProcessorProxy.process(InlineMacroProcessorProxy.java:124)
        at org.asciidoctor.jruby.extension.processorproxies.InlineMacroProcessorProxy$INVOKER$i$3$0$process.call(InlineMacroProcessorProxy$INVOKER$i$3$0$process.gen)
        at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodThreeOrN.call(JavaMethod.java:1082)
        at org.jruby.RubyMethod.call(RubyMethod.java:136)
        at [...]

Comparing the main branch and the 2.0.2 branch, I believe that this might already be fixed in the main branch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions