Uploaded image for project: 'Guacamole'
  1. Guacamole
  2. GUACAMOLE-1819

javadoc issue while installing guacamole-client 1.5.2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 1.5.2
    • None
    • guacamole-client
    • OS: Debian 12

      Java: openjdk 17.0.6 2023-01-17

      Architecture: 64-bit

    Description

      I'm installing Guacamole using classic method following the official manual (Section "Installing Guacamole natively" > guacamole-client. When I run "mvn package -e" I have the following error report:

      [INFO] guacamole-client ................................... SUCCESS [  3.520 s]
      [INFO] guacamole-common ................................... FAILURE [  3.646 s]
      [INFO] guacamole-ext ...................................... SKIPPED
      [INFO] guacamole-common-js ................................ SKIPPED
      [INFO] guacamole .......................................... SKIPPED
      [INFO] extensions ......................................... SKIPPED
      [INFO] guacamole-auth-duo ................................. SKIPPED
      [INFO] guacamole-auth-header .............................. SKIPPED
      [INFO] guacamole-auth-jdbc ................................ SKIPPED
      [INFO] guacamole-auth-jdbc-base ........................... SKIPPED
      [INFO] guacamole-auth-jdbc-mysql .......................... SKIPPED
      [INFO] guacamole-auth-jdbc-postgresql ..................... SKIPPED
      [INFO] guacamole-auth-jdbc-sqlserver ...................... SKIPPED
      [INFO] guacamole-auth-jdbc-dist ........................... SKIPPED
      [INFO] guacamole-auth-json ................................ SKIPPED
      [INFO] guacamole-auth-ldap ................................ SKIPPED
      [INFO] guacamole-auth-quickconnect ........................ SKIPPED
      [INFO] guacamole-auth-sso ................................. SKIPPED
      [INFO] guacamole-auth-sso-base ............................ SKIPPED
      [INFO] guacamole-auth-sso-cas ............................. SKIPPED
      [INFO] guacamole-auth-sso-openid .......................... SKIPPED
      [INFO] guacamole-auth-sso-saml ............................ SKIPPED
      [INFO] guacamole-auth-sso-dist ............................ SKIPPED
      [INFO] guacamole-auth-totp ................................ SKIPPED
      [INFO] guacamole-history-recording-storage ................ SKIPPED
      [INFO] guacamole-vault .................................... SKIPPED
      [INFO] guacamole-vault-base ............................... SKIPPED
      [INFO] guacamole-vault-ksm ................................ SKIPPED
      [INFO] guacamole-vault-dist ............................... SKIPPED
      [INFO] guacamole-example .................................. SKIPPED
      [INFO] guacamole-playback-example ......................... SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  7.349 s
      [INFO] Finished at: 2023-06-23T08:09:51+02:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.2.0:jar (attach-javadocs) on project guacamole-common: MavenReportException: Error while generating Javadoc: 
      [ERROR] Exit code: 2 - /usr/lib/jvm/default-java/bin/javadoc: 16: Syntax error: Bad for loop variable
      [ERROR] 
      [ERROR] Command line was: /usr/lib/jvm/default-java/bin/javadoc @options @packages
      [ERROR] 
      [ERROR] Refer to the generated Javadoc files in '/home/cedadmin/guacamole-client-1.5.2/guacamole-common/target/apidocs' dir.
      [ERROR] 
      [ERROR] -> [Help 1]
      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.2.0:jar (attach-javadocs) on project guacamole-common: MavenReportException: Error while generating Javadoc: 
      Exit code: 2 - /usr/lib/jvm/default-java/bin/javadoc: 16: Syntax error: Bad for loop variable
      
      Command line was: /usr/lib/jvm/default-java/bin/javadoc @options @packages
      
      Refer to the generated Javadoc files in '/home/cedadmin/guacamole-client-1.5.2/guacamole-common/target/apidocs' dir.
      
          at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:375)
          at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
          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:298)
          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:960)
          at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
          at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
          at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
          at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
          at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke (Method.java:568)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:283)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)
          at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
          at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)
      Caused by: org.apache.maven.plugin.MojoExecutionException: MavenReportException: Error while generating Javadoc: 
      Exit code: 2 - /usr/lib/jvm/default-java/bin/javadoc: 16: Syntax error: Bad for loop variable
      
      Command line was: /usr/lib/jvm/default-java/bin/javadoc @options @packages
      
      Refer to the generated Javadoc files in '/home/cedadmin/guacamole-client-1.5.2/guacamole-common/target/apidocs' dir.
      
          at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.failOnError (AbstractJavadocMojo.java:6814)
          at org.apache.maven.plugins.javadoc.JavadocJar.doExecute (JavadocJar.java:203)
          at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.execute (AbstractJavadocMojo.java:1935)
          at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
          at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
          at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
          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:298)
          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:960)
          at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
          at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
          at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
          at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
          at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke (Method.java:568)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:283)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)
          at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
          at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)
      Caused by: org.apache.maven.reporting.MavenReportException: 
      Exit code: 2 - /usr/lib/jvm/default-java/bin/javadoc: 16: Syntax error: Bad for loop variable
      
      Command line was: /usr/lib/jvm/default-java/bin/javadoc @options @packages
      
      Refer to the generated Javadoc files in '/home/cedadmin/guacamole-client-1.5.2/guacamole-common/target/apidocs' dir.
      
          at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.doExecuteJavadocCommandLine (AbstractJavadocMojo.java:5861)
          at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.executeJavadocCommandLine (AbstractJavadocMojo.java:5737)
          at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.executeReport (AbstractJavadocMojo.java:2176)
          at org.apache.maven.plugins.javadoc.JavadocJar.doExecute (JavadocJar.java:199)
          at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.execute (AbstractJavadocMojo.java:1935)
          at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
          at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
          at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
          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:298)
          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:960)
          at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
          at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
          at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
          at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
          at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke (Method.java:568)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:283)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)
          at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
          at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)
      [ERROR] 
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      _[ERROR] [Help 1] [http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException_]
      [ERROR] 
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR]   mvn <args> -rf :guacamole-common
      

      OS: Debian 12

      Java: openjdk 17.0.6 2023-01-17

      Architecture: 64-bit

      Attachments

        Activity

          People

            Unassigned Unassigned
            erremme81 Riccardo Moroni
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: