org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal io.takari.polyglot:polyglot-translate-plugin:0.1.19:translate (default-cli) on project logging: Execution default-cli of goal io.takari.polyglot:polyglot-translate-plugin:0.1.19:translate failed: No JavaBean properties found in java.io.File

GitHub | InfoSec812 | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 99#239822315

    GitHub | 7 months ago | InfoSec812
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal io.takari.polyglot:polyglot-translate-plugin:0.1.19:translate (default-cli) on project logging: Execution default-cli of goal io.takari.polyglot:polyglot-translate-plugin:0.1.19:translate failed: No JavaBean properties found in java.io.File

    Root Cause Analysis

    1. org.yaml.snakeyaml.error.YAMLException

      No JavaBean properties found in java.io.File

      at org.sonatype.maven.polyglot.yaml.ModelRepresenter.getProperties()
    2. org.sonatype.maven
      ModelRepresenter$RepresentJavaBean.representData
      1. org.sonatype.maven.polyglot.yaml.ModelRepresenter.getProperties(ModelRepresenter.java:216)
      2. org.sonatype.maven.polyglot.yaml.ModelRepresenter.access$300(ModelRepresenter.java:43)
      3. org.sonatype.maven.polyglot.yaml.ModelRepresenter$RepresentJavaBean.representData(ModelRepresenter.java:62)
      3 frames
    3. SnakeYAML
      BaseRepresenter.representData
      1. org.yaml.snakeyaml.representer.BaseRepresenter.representData(BaseRepresenter.java:107)
      1 frame
    4. org.sonatype.maven
      ModelRepresenter$RepresentJavaBean.representData
      1. org.sonatype.maven.polyglot.yaml.ModelRepresenter.representJavaBean(ModelRepresenter.java:162)
      2. org.sonatype.maven.polyglot.yaml.ModelRepresenter.access$400(ModelRepresenter.java:43)
      3. org.sonatype.maven.polyglot.yaml.ModelRepresenter$RepresentJavaBean.representData(ModelRepresenter.java:66)
      3 frames
    5. SnakeYAML
      Yaml.dump
      1. org.yaml.snakeyaml.representer.BaseRepresenter.representData(BaseRepresenter.java:107)
      2. org.yaml.snakeyaml.representer.BaseRepresenter.represent(BaseRepresenter.java:60)
      3. org.yaml.snakeyaml.Dumper.dump(Dumper.java:51)
      4. org.yaml.snakeyaml.Yaml.dumpAll(Yaml.java:140)
      5. org.yaml.snakeyaml.Yaml.dump(Yaml.java:128)
      5 frames
    6. org.sonatype.maven
      TeslaModelTranslator.translate
      1. org.sonatype.maven.polyglot.yaml.YamlModelWriter.write(YamlModelWriter.java:46)
      2. org.sonatype.maven.polyglot.io.ModelWriterSupport.write(ModelWriterSupport.java:47)
      3. org.sonatype.maven.polyglot.io.ModelWriterSupport.write(ModelWriterSupport.java:36)
      4. org.sonatype.maven.polyglot.TeslaModelTranslator.translate(TeslaModelTranslator.java:70)
      5. org.sonatype.maven.polyglot.TeslaModelTranslator.translate(TeslaModelTranslator.java:56)
      5 frames
    7. io.takari.maven
      TranslatorMojo.execute
      1. io.takari.maven.polyglot.TranslatorMojo.execute(TranslatorMojo.java:51)
      1 frame
    8. Maven Plugin
      DefaultBuildPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
      1 frame
    9. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
      2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
      5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
      6. org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
      7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
      8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
      9. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
      10. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
      10 frames
    10. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
      2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
      3. org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
      3 frames
    11. 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:498)
      4 frames
    12. Plexus
      Launcher.main
      1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
      2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
      3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
      4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
      4 frames