Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-60193

NPE in JabberPublisherDescriptor in new install

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: jabber-plugin
    • Labels:
      None
    • Environment:
      Jenkins ver. 2.190.2
      jabber:1.38
    • Similar Issues:

      Description

      • Create a docker image with the following docker file:
      FROM jenkins/jenkins:lts}}{{RUN /usr/local/bin/install-plugins.sh \
        active-directory \
        build-failure-analyzer \
        claim \
        configuration-as-code \
        credentials-binding \
        docker-workflow \
        email-ext \
        gitlab-branch-source \
        jabber \
        ldap \
        lockable-resources \
        pipeline-stage-view \
        rebuild \
        role-strategy \
        ssh-slaves
      
      • It creates an image with the following versions
      Installed plugins:
      ace-editor:1.1
      active-directory:2.16
      apache-httpcomponents-client-4-api:4.5.10-2.0
      authentication-tokens:1.3
      branch-api:2.5.4
      build-failure-analyzer:1.24.1
      claim:2.16
      cloudbees-folder:6.9
      configuration-as-code:1.33
      credentials-binding:1.20
      credentials:2.3.0
      display-url-api:2.3.2
      docker-commons:1.15
      docker-workflow:1.21
      durable-task:1.33
      email-ext:2.68
      git-client:3.0.0
      git:4.0.0
      gitlab-api:1.0.5
      gitlab-branch-source:1.4.0
      handlebars:1.1.1
      instant-messaging:1.38
      jabber:1.38
      jackson2-api:2.10.0
      javadoc:1.5
      jquery-detached:1.2.1
      jsch:0.1.55.1
      junit:1.28
      ldap:1.21
      lockable-resources:2.7
      mailer:1.29
      matrix-auth:2.5
      matrix-project:1.14
      maven-plugin:3.4
      momentjs:1.1.1
      pipeline-graph-analysis:1.10
      pipeline-input-step:2.11
      pipeline-rest-api:2.12
      pipeline-stage-step:2.3
      pipeline-stage-view:2.12
      plain-credentials:1.5
      rebuild:1.31
      role-strategy:2.15
      scm-api:2.6.3
      script-security:1.67
      ssh-credentials:1.18
      ssh-slaves:1.31.0
      structs:1.20
      token-macro:2.10
      trilead-api:1.0.5
      workflow-api:2.37
      workflow-basic-steps:2.18
      workflow-cps:2.76
      workflow-durable-task-step:2.35
      workflow-job:2.36
      workflow-scm-step:2.9
      workflow-step-api:2.20
      workflow-support:3.3
      
      • Start the container and go to localhost:8080/configure

      GUI seems normal, with Enable jabber notifications not checked: OK

      several exceptions appears in logs (see attached file): not OK.

      NPE extract:

      2019-11-18 08:52:28.455+0000 [id=80] WARNING h.ExpressionFactory2$JexlExpression#evaluate: Caught exception evaluating: instance.proxyTypeString==value in /configure. Reason: java.lang.reflect.InvocationTargetException
      java.lang.NullPointerException
       at hudson.plugins.jabber.im.transport.JabberPublisherDescriptor.getProxyTypeString(JabberPublisherDescriptor.java:500)
      Caused: java.lang.reflect.InvocationTargetException
       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.apache.commons.jexl.util.PropertyExecutor.execute(PropertyExecutor.java:125)
      

        Attachments

          Activity

          alexv Alex V created issue -
          alexv Alex V made changes -
          Field Original Value New Value
          Description * Create a docker image with the following docker file:

          {{FROM jenkins/jenkins:lts}}{{RUN /usr/local/bin/install-plugins.sh \}}
          {{ active-directory \}}
          {{ build-failure-analyzer \}}
          {{ claim \}}
          {{ configuration-as-code \}}
          {{ credentials-binding \}}
          {{ docker-workflow \}}
          {{ email-ext \}}
          {{ gitlab-branch-source \}}
          {{ jabber \}}
          {{ ldap \}}
          {{ lockable-resources \}}
          {{ pipeline-stage-view \}}
          {{ rebuild \}}
          {{ role-strategy \}}
          {{ ssh-slaves}}

           
           * It creates an image with the following versions

          {{Installed plugins:}}
          {{ace-editor:1.1}}
          {{active-directory:2.16}}
          {{apache-httpcomponents-client-4-api:4.5.10-2.0}}
          {{authentication-tokens:1.3}}
          {{branch-api:2.5.4}}
          {{build-failure-analyzer:1.24.1}}
          {{claim:2.16}}
          {{cloudbees-folder:6.9}}
          {{configuration-as-code:1.33}}
          {{credentials-binding:1.20}}
          {{credentials:2.3.0}}
          {{display-url-api:2.3.2}}
          {{docker-commons:1.15}}
          {{docker-workflow:1.21}}
          {{durable-task:1.33}}
          {{email-ext:2.68}}
          {{git-client:3.0.0}}
          {{git:4.0.0}}
          {{gitlab-api:1.0.5}}
          {{gitlab-branch-source:1.4.0}}
          {{handlebars:1.1.1}}
          {{instant-messaging:1.38}}
          {{jabber:1.38}}
          {{jackson2-api:2.10.0}}
          {{javadoc:1.5}}
          {{jquery-detached:1.2.1}}
          {{jsch:0.1.55.1}}
          {{junit:1.28}}
          {{ldap:1.21}}
          {{lockable-resources:2.7}}
          {{mailer:1.29}}
          {{matrix-auth:2.5}}
          {{matrix-project:1.14}}
          {{maven-plugin:3.4}}
          {{momentjs:1.1.1}}
          {{pipeline-graph-analysis:1.10}}
          {{pipeline-input-step:2.11}}
          {{pipeline-rest-api:2.12}}
          {{pipeline-stage-step:2.3}}
          {{pipeline-stage-view:2.12}}
          {{plain-credentials:1.5}}
          {{rebuild:1.31}}
          {{role-strategy:2.15}}
          {{scm-api:2.6.3}}
          {{script-security:1.67}}
          {{ssh-credentials:1.18}}
          {{ssh-slaves:1.31.0}}
          {{structs:1.20}}
          {{token-macro:2.10}}
          {{trilead-api:1.0.5}}
          {{workflow-api:2.37}}
          {{workflow-basic-steps:2.18}}
          {{workflow-cps:2.76}}
          {{workflow-durable-task-step:2.35}}
          {{workflow-job:2.36}}
          {{workflow-scm-step:2.9}}
          {{workflow-step-api:2.20}}
          {{workflow-support:3.3}}
           * Start the container and go to localhost:8080/configure

          GUI seems normal, with Enable jabber notifications not checked: OK

          several exceptions appears in logs (see attached file): not OK.

          {{NPE extract:}}
          {{2019-11-18 08:52:28.455+0000 [id=80] WARNING h.ExpressionFactory2$JexlExpression#evaluate: Caught exception evaluating: instance.proxyTypeString==value in /configure. Reason: java.lang.reflect.InvocationTargetException}}
          {{java.lang.NullPointerException}}
          {{ at hudson.plugins.jabber.im.transport.JabberPublisherDescriptor.getProxyTypeString(JabberPublisherDescriptor.java:500)}}
          {{Caused: java.lang.reflect.InvocationTargetException}}
          {{ 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.apache.commons.jexl.util.PropertyExecutor.execute(PropertyExecutor.java:125)}}

          * Create a docker image with the following docker file:

          {noformat}
          FROM jenkins/jenkins:lts}}{{RUN /usr/local/bin/install-plugins.sh \
            active-directory \
            build-failure-analyzer \
            claim \
            configuration-as-code \
            credentials-binding \
            docker-workflow \
            email-ext \
            gitlab-branch-source \
            jabber \
            ldap \
            lockable-resources \
            pipeline-stage-view \
            rebuild \
            role-strategy \
            ssh-slaves
          {noformat}

           
           * It creates an image with the following versions

          {noformat}
          Installed plugins:
          ace-editor:1.1
          active-directory:2.16
          apache-httpcomponents-client-4-api:4.5.10-2.0
          authentication-tokens:1.3
          branch-api:2.5.4
          build-failure-analyzer:1.24.1
          claim:2.16
          cloudbees-folder:6.9
          configuration-as-code:1.33
          credentials-binding:1.20
          credentials:2.3.0
          display-url-api:2.3.2
          docker-commons:1.15
          docker-workflow:1.21
          durable-task:1.33
          email-ext:2.68
          git-client:3.0.0
          git:4.0.0
          gitlab-api:1.0.5
          gitlab-branch-source:1.4.0
          handlebars:1.1.1
          instant-messaging:1.38
          jabber:1.38
          jackson2-api:2.10.0
          javadoc:1.5
          jquery-detached:1.2.1
          jsch:0.1.55.1
          junit:1.28
          ldap:1.21
          lockable-resources:2.7
          mailer:1.29
          matrix-auth:2.5
          matrix-project:1.14
          maven-plugin:3.4
          momentjs:1.1.1
          pipeline-graph-analysis:1.10
          pipeline-input-step:2.11
          pipeline-rest-api:2.12
          pipeline-stage-step:2.3
          pipeline-stage-view:2.12
          plain-credentials:1.5
          rebuild:1.31
          role-strategy:2.15
          scm-api:2.6.3
          script-security:1.67
          ssh-credentials:1.18
          ssh-slaves:1.31.0
          structs:1.20
          token-macro:2.10
          trilead-api:1.0.5
          workflow-api:2.37
          workflow-basic-steps:2.18
          workflow-cps:2.76
          workflow-durable-task-step:2.35
          workflow-job:2.36
          workflow-scm-step:2.9
          workflow-step-api:2.20
          workflow-support:3.3
          {noformat}

           * Start the container and go to localhost:8080/configure

          GUI seems normal, with Enable jabber notifications not checked: OK

          several exceptions appears in logs (see attached file): not OK.

          NPE extract:

          {noformat}
          2019-11-18 08:52:28.455+0000 [id=80] WARNING h.ExpressionFactory2$JexlExpression#evaluate: Caught exception evaluating: instance.proxyTypeString==value in /configure. Reason: java.lang.reflect.InvocationTargetException
          java.lang.NullPointerException
           at hudson.plugins.jabber.im.transport.JabberPublisherDescriptor.getProxyTypeString(JabberPublisherDescriptor.java:500)
          Caused: java.lang.reflect.InvocationTargetException
           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.apache.commons.jexl.util.PropertyExecutor.execute(PropertyExecutor.java:125)
          {noformat}
          flow Florian Schmaus made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          flow Florian Schmaus made changes -
          Status In Progress [ 3 ] In Review [ 10005 ]
          flow Florian Schmaus made changes -
          Resolution Fixed [ 1 ]
          Status In Review [ 10005 ] Resolved [ 5 ]
          flow Florian Schmaus made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] In Review [ 10005 ]
          flow Florian Schmaus made changes -
          Resolution Fixed [ 1 ]
          Status In Review [ 10005 ] Resolved [ 5 ]
          Hide
          matthias_m Matthias Müller added a comment -

          Hi Florian,

          I was just wondering when this fix will make it into the next release (1.39), because our Jenkins currently can not send any Jabber messages due to this bug.

          Regards

          Matthias

           

          Show
          matthias_m Matthias Müller added a comment - Hi Florian, I was just wondering when this fix will make it into the next release (1.39), because our Jenkins currently can not send any Jabber messages due to this bug. Regards Matthias  
          Hide
          flow Florian Schmaus added a comment -

          The fix is already in master. You can easily create a snapshot jar of the pluging by running `gradle jpi`. Please report if that fixes the issues for you.

          Show
          flow Florian Schmaus added a comment - The fix is already in master. You can easily create a snapshot jar of the pluging by running `gradle jpi`. Please report if that fixes the issues for you.
          matthias_m Matthias Müller made changes -
          Comment [ Hi Florian,

          unfortunately my build fails (I'm not an gradle expert ;)):
          {code:java}
          $ ./gradlew jpi

          > Task :compileJava FAILED
          warning: [options] source value 7 is obsolete and will be removed in a future release
          warning: [options] target value 7 is obsolete and will be removed in a future release
          warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
          warning: Supported source version 'RELEASE_6' from annotation processor 'org.gradle.api.internal.tasks.compile.processing.TimeTrackingProcessor' less than -source '7'
          warning: No SupportedSourceVersion annotation found on org.kohsuke.wpc.ProcessorImpl, returning RELEASE_6.
          warning: Supported source version 'RELEASE_6' from annotation processor 'org.gradle.api.internal.tasks.compile.processing.TimeTrackingProcessor' less than -source '7'
          warning: Supported source version 'RELEASE_6' from annotation processor 'org.gradle.api.internal.tasks.compile.processing.TimeTrackingProcessor' less than -source '7'
          warning: Supported source version 'RELEASE_6' from annotation processor 'org.gradle.api.internal.tasks.compile.processing.TimeTrackingProcessor' less than -source '7'
          error: java.nio.file.NoSuchFileException: /home/mm/workspace/jabber-plugin/build/classes/java/main/META-INF/exposed.stapler-beans
           at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
           at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
           at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
           at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:219)
           at java.base/java.nio.file.Files.newByteChannel(Files.java:374)
           at java.base/java.nio.file.Files.newByteChannel(Files.java:425)
           at java.base/java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:420)
           at java.base/java.nio.file.Files.newInputStream(Files.java:159)
           at jdk.compiler/com.sun.tools.javac.file.PathFileObject.openInputStream(PathFileObject.java:461)
           at java.compiler@13.0.2/javax.tools.ForwardingFileObject.openInputStream(ForwardingFileObject.java:74)
           at org.kohsuke.stapler.jsr269.ExportedBeanAnnotationProcessor.scanExisting(ExportedBeanAnnotationProcessor.java:138)
           at org.kohsuke.stapler.jsr269.ExportedBeanAnnotationProcessor.process(ExportedBeanAnnotationProcessor.java:52)
           at org.gradle.api.internal.tasks.compile.processing.DelegatingProcessor.process(DelegatingProcessor.java:62)
           at org.gradle.api.internal.tasks.compile.processing.NonIncrementalProcessor.process(NonIncrementalProcessor.java:45)
           at org.gradle.api.internal.tasks.compile.processing.DelegatingProcessor.process(DelegatingProcessor.java:62)
           at org.gradle.api.internal.tasks.compile.processing.TimeTrackingProcessor.access$401(TimeTrackingProcessor.java:37)
           at org.gradle.api.internal.tasks.compile.processing.TimeTrackingProcessor$5.create(TimeTrackingProcessor.java:99)
           at org.gradle.api.internal.tasks.compile.processing.TimeTrackingProcessor$5.create(TimeTrackingProcessor.java:96)
           at org.gradle.api.internal.tasks.compile.processing.TimeTrackingProcessor.track(TimeTrackingProcessor.java:117)
           at org.gradle.api.internal.tasks.compile.processing.TimeTrackingProcessor.process(TimeTrackingProcessor.java:96)
           at jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:1023)
           at jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:939)
           at jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1267)
           at jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1381)
           at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1263)
           at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:935)
           at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.lambda$doCall$0(JavacTaskImpl.java:104)
           at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.handleExceptions(JavacTaskImpl.java:147)
           at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:100)
           at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:94)
           at org.gradle.api.internal.tasks.compile.AnnotationProcessingCompileTask.call(AnnotationProcessingCompileTask.java:92)
           at org.gradle.api.internal.tasks.compile.ResourceCleaningCompilationTask.call(ResourceCleaningCompilationTask.java:57)
           at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:50)
           at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:36)
           at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:100)
           at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:52)
           at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:38)
           at org.gradle.api.internal.tasks.compile.AnnotationProcessorDiscoveringCompiler.execute(AnnotationProcessorDiscoveringCompiler.java:51)
           at org.gradle.api.internal.tasks.compile.AnnotationProcessorDiscoveringCompiler.execute(AnnotationProcessorDiscoveringCompiler.java:37)
           at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:39)
           at org.gradle.api.internal.tasks.compile.incremental.IncrementalCompilerFactory$2.execute(IncrementalCompilerFactory.java:110)
           at org.gradle.api.internal.tasks.compile.incremental.IncrementalCompilerFactory$2.execute(IncrementalCompilerFactory.java:106)
           at org.gradle.api.internal.tasks.compile.incremental.IncrementalResultStoringCompiler.execute(IncrementalResultStoringCompiler.java:60)
           at org.gradle.api.internal.tasks.compile.incremental.IncrementalResultStoringCompiler.execute(IncrementalResultStoringCompiler.java:44)
           at org.gradle.api.internal.tasks.compile.CompileJavaBuildOperationReportingCompiler$2.call(CompileJavaBuildOperationReportingCompiler.java:59)
           at org.gradle.api.internal.tasks.compile.CompileJavaBuildOperationReportingCompiler$2.call(CompileJavaBuildOperationReportingCompiler.java:51)
           at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:416)
           at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:406)
           at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
           at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
           at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
           at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:102)
           at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)
           at org.gradle.api.internal.tasks.compile.CompileJavaBuildOperationReportingCompiler.execute(CompileJavaBuildOperationReportingCompiler.java:51)
           at org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:154)
           at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:122)
           at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.base/java.lang.reflect.Method.invoke(Method.java:567)
           at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:103)
           at org.gradle.api.internal.project.taskfactory.IncrementalTaskInputsTaskAction.doExecute(IncrementalTaskInputsTaskAction.java:46)
           at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:41)
           at org.gradle.api.internal.project.taskfactory.AbstractIncrementalTaskAction.execute(AbstractIncrementalTaskAction.java:25)
           at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:28)
           at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$5.run(ExecuteActionsTaskExecuter.java:404)
           at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:402)
           at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:394)
           at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
           at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
           at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
           at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:92)
           at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
           at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:393)
           at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:376)
           at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.access$200(ExecuteActionsTaskExecuter.java:80)
           at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution.execute(ExecuteActionsTaskExecuter.java:213)
           at org.gradle.internal.execution.steps.ExecuteStep.lambda$execute$0(ExecuteStep.java:32)
           at java.base/java.util.Optional.map(Optional.java:258)
           at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:32)
           at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:26)
           at org.gradle.internal.execution.steps.CleanupOutputsStep.execute(CleanupOutputsStep.java:58)
           at org.gradle.internal.execution.steps.CleanupOutputsStep.execute(CleanupOutputsStep.java:35)
           at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:48)
           at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:33)
           at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:39)
           at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:73)
           at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:54)
           at org.gradle.internal.execution.steps.CatchExceptionStep.execute(CatchExceptionStep.java:35)
           at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:51)
           at org.gradle.internal.execution.steps.SnapshotOutputsStep.execute(SnapshotOutputsStep.java:45)
           at org.gradle.internal.execution.steps.SnapshotOutputsStep.execute(SnapshotOutputsStep.java:31)
           at org.gradle.internal.execution.steps.CacheStep.executeWithoutCache(CacheStep.java:201)
           at org.gradle.internal.execution.steps.CacheStep.execute(CacheStep.java:70)
           at org.gradle.internal.execution.steps.CacheStep.execute(CacheStep.java:45)
           at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:49)
           at org.gradle.internal.execution.steps.StoreSnapshotsStep.execute(StoreSnapshotsStep.java:43)
           at org.gradle.internal.execution.steps.StoreSnapshotsStep.execute(StoreSnapshotsStep.java:32)
           at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:38)
           at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:24)
           at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:96)
           at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$0(SkipUpToDateStep.java:89)
           at java.base/java.util.Optional.map(Optional.java:258)
           at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:54)
           at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:38)
           at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:77)
           at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:37)
           at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:36)
           at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:26)
           at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:90)
           at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:48)
           at org.gradle.internal.execution.impl.DefaultWorkExecutor.execute(DefaultWorkExecutor.java:33)
           at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:120)
           at org.gradle.api.internal.tasks.execution.ResolveBeforeExecutionStateTaskExecuter.execute(ResolveBeforeExecutionStateTaskExecuter.java:75)
           at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:62)
           at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:108)
           at org.gradle.api.internal.tasks.execution.ResolveBeforeExecutionOutputsTaskExecuter.execute(ResolveBeforeExecutionOutputsTaskExecuter.java:67)
           at org.gradle.api.internal.tasks.execution.ResolveAfterPreviousExecutionStateTaskExecuter.execute(ResolveAfterPreviousExecutionStateTaskExecuter.java:46)
           at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:94)
           at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
           at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:95)
           at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
           at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)
           at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
           at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:73)
           at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
           at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:49)
           at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:416)
           at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:406)
           at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
           at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
           at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
           at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:102)
           at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)
           at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:49)
           at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:43)
           at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:355)
           at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:343)
           at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:336)
           at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:322)
           at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker$1.execute(DefaultPlanExecutor.java:134)
           at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker$1.execute(DefaultPlanExecutor.java:129)
           at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:202)
           at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:193)
           at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:129)
           at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
           at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
           at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
           at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
           at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
           at java.base/java.lang.Thread.run(Thread.java:830)
          warning: Supported source version 'RELEASE_6' from annotation processor 'org.gradle.api.internal.tasks.compile.processing.TimeTrackingProcessor' less than -source '7'
          warning: Supported source version 'RELEASE_6' from annotation processor 'org.gradle.api.internal.tasks.compile.processing.TimeTrackingProcessor' less than -source '7'
          warning: Supported source version 'RELEASE_6' from annotation processor 'org.gradle.api.internal.tasks.compile.processing.TimeTrackingProcessor' less than -source '7'
          warning: Supported source version 'RELEASE_6' from annotation processor 'org.gradle.api.internal.tasks.compile.processing.TimeTrackingProcessor' less than -source '7'
          error: java.nio.file.NoSuchFileException: /home/mm/workspace/jabber-plugin/build/classes/java/main/META-INF/annotations/org.kohsuke.stapler.export.ExportedBean
          warning: Supported source version 'RELEASE_6' from annotation processor 'org.gradle.api.internal.tasks.compile.processing.TimeTrackingProcessor' less than -source '7'
          error: java.nio.file.NoSuchFileException: /home/mm/workspace/jabber-plugin/build/classes/java/main/META-INF/annotations/hudson.Extension
          Note: Some input files use or override a deprecated API.
          Note: Recompile with -Xlint:deprecation for details.
          3 errors
          13 warnings

          FAILURE: Build failed with an exception.

          * What went wrong:
          Execution failed for task ':compileJava'.
          > Compilation failed; see the compiler error output for details.

          * Try:
          Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

          * Get more help at https://help.gradle.org

          BUILD FAILED in 1s
          2 actionable tasks: 1 executed, 1 up-to-date

          {code}
          Which Java Version should I use?

          Regards

          Mattias ]
          Hide
          matthias_m Matthias Müller added a comment -

          Hi Florian,

          thank you, that worked! The Exception is gone, but unfortunately my Jenkins still is not able to connect to Jabber/Openfire.

          Apr 24, 2020 4:22:34 PM INFO hudson.plugins.im.IMConnectionProvider$ConnectorRunnable run
          Trying to reconnect
          Apr 24, 2020 4:22:34 PM INFO hudson.plugins.jabber.im.transport.JabberIMConnectionProvider createConnection
          Creating XMPP JabberIMConnection
          Apr 24, 2020 4:22:34 PM INFO hudson.plugins.im.IMConnectionProvider$ConnectorRunnable run
          Reconnect failed. Next connection attempt in 1 minutes
          Apr 24, 2020 4:23:34 PM WARNING hudson.plugins.im.IMConnectionProvider$ConnectorRunnable run
          Could not acquire semaphore for 60sec
          

          I'll have to investigate further.

          Regards

          Matthias

           

          Show
          matthias_m Matthias Müller added a comment - Hi Florian, thank you, that worked! The Exception is gone, but unfortunately my Jenkins still is not able to connect to Jabber/Openfire. Apr 24, 2020 4:22:34 PM INFO hudson.plugins.im.IMConnectionProvider$ConnectorRunnable run Trying to reconnect Apr 24, 2020 4:22:34 PM INFO hudson.plugins.jabber.im.transport.JabberIMConnectionProvider createConnection Creating XMPP JabberIMConnection Apr 24, 2020 4:22:34 PM INFO hudson.plugins.im.IMConnectionProvider$ConnectorRunnable run Reconnect failed. Next connection attempt in 1 minutes Apr 24, 2020 4:23:34 PM WARNING hudson.plugins.im.IMConnectionProvider$ConnectorRunnable run Could not acquire semaphore for 60sec I'll have to investigate further. Regards Matthias  

            People

            Assignee:
            flow Florian Schmaus
            Reporter:
            alexv Alex V
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: