jqassistant-archive / jqa-asciidoc-report-plugin

http://jqassistant.org
GNU General Public License v3.0
2 stars 3 forks source link

Goal "analyze" fails if project path contains whitespaces #7

Closed aberndl closed 4 years ago

aberndl commented 4 years ago

This is the corresponding stacktrace:

[ERROR] Failed to execute goal com.buschmais.jqassistant:jqassistant-maven-plugin:1.8.0:analyze (default-cli) on project SingleServer: Analysis failed.: Caught unexpected exception from store. (ENOENT) No such file or directory - /home/aberndl/repositories%20with%20whitespace/onedata%20backend/jqassistant/index.adoc -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.buschmais.jqassistant:jqassistant-maven-plugin:1.8.0:analyze (default-cli) on project SingleServer: Analysis failed.
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
    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:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: Analysis failed.
    at com.buschmais.jqassistant.scm.maven.AnalyzeMojo.aggregate (AnalyzeMojo.java:103)
    at com.buschmais.jqassistant.scm.maven.AbstractProjectMojo$1.run (AbstractProjectMojo.java:33)
    at com.buschmais.jqassistant.scm.maven.AbstractMojo.execute (AbstractMojo.java:339)
    at com.buschmais.jqassistant.scm.maven.AbstractProjectMojo.execute (AbstractProjectMojo.java:30)
    at com.buschmais.jqassistant.scm.maven.AbstractMojo.execute (AbstractMojo.java:200)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
    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:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
Caused by: com.buschmais.jqassistant.core.rule.api.model.RuleException: Caught unexpected exception from store.
    at com.buschmais.jqassistant.core.analysis.impl.TransactionalRuleVisitor.doInXOTransaction (TransactionalRuleVisitor.java:89)
    at com.buschmais.jqassistant.core.analysis.impl.TransactionalRuleVisitor.doInXOTransaction (TransactionalRuleVisitor.java:62)
    at com.buschmais.jqassistant.core.analysis.impl.TransactionalRuleVisitor.afterRules (TransactionalRuleVisitor.java:28)
    at com.buschmais.jqassistant.core.rule.api.executor.RuleSetExecutor.execute (RuleSetExecutor.java:56)
    at com.buschmais.jqassistant.core.analysis.impl.AnalyzerImpl.execute (AnalyzerImpl.java:61)
    at com.buschmais.jqassistant.scm.maven.AnalyzeMojo.aggregate (AnalyzeMojo.java:101)
    at com.buschmais.jqassistant.scm.maven.AbstractProjectMojo$1.run (AbstractProjectMojo.java:33)
    at com.buschmais.jqassistant.scm.maven.AbstractMojo.execute (AbstractMojo.java:339)
    at com.buschmais.jqassistant.scm.maven.AbstractProjectMojo.execute (AbstractProjectMojo.java:30)
    at com.buschmais.jqassistant.scm.maven.AbstractMojo.execute (AbstractMojo.java:200)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
    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:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
Caused by: org.jruby.exceptions.SystemCallError: (ENOENT) No such file or directory - /home/aberndl/repositories%20with%20whitespace/onedata%20backend/jqassistant/index.adoc
    at org.jruby.RubyIO.sysopen (org/jruby/RubyIO.java:1233)
    at org.jruby.RubyFile.initialize (org/jruby/RubyFile.java:361)
    at org.jruby.RubyIO.open (org/jruby/RubyIO.java:1152)
    at RUBY.load_file (uri:classloader:/gems/asciidoctor-1.5.8/lib/asciidoctor.rb:1399)
    at RUBY.load_file ( Githubissues.
            
  • Githubissues is a development platform for aggregating issues.