[JIRA] (JENKINS-60193) NPE in JabberPublisherDescriptor in new install
Title: Message Title Matthias Müller commented on JENKINS-60193 Re: NPE in JabberPublisherDescriptor in new install 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 Add Comment This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.203163.1574067471000.17333.1587741960149%40Atlassian.JIRA.
[JIRA] (JENKINS-60193) NPE in JabberPublisherDescriptor in new install
Title: Message Title Matthias Müller updated an issue Jenkins / JENKINS-60193 NPE in JabberPublisherDescriptor in new install Change By: Matthias Müller Comment: Hi Florian,unfortunately my build fails (I'm not an gradle expert ;)):{code:java}$ ./gradlew jpi> Task :compileJava FAILEDwarning: [options] source value 7 is obsolete and will be removed in a future releasewarning: [options] target value 7 is obsolete and will be removed in a future releasewarning: [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
[JIRA] (JENKINS-60193) NPE in JabberPublisherDescriptor in new install
Title: Message Title Matthias Müller edited a comment on JENKINS-60193 Re: NPE in JabberPublisherDescriptor in new install Hi Florian,unfortunately my build fails (I'm not an gradle expert ; - ) ) : {code :java } $ ./gradlew jpi> Task :compileJava FAILEDwarning: [options] source value 7 is obsolete and will be removed in a future releasewarning: [options] target value 7 is obsolete and will be removed in a future releasewarning: [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
[JIRA] (JENKINS-60193) NPE in JabberPublisherDescriptor in new install
Title: Message Title Matthias Müller commented on JENKINS-60193 Re: NPE in JabberPublisherDescriptor in new install Hi Florian, unfortunately my build fails (I'm not an gradle expert : $ ./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
[JIRA] (JENKINS-60193) NPE in JabberPublisherDescriptor in new install
Title: Message Title Florian Schmaus commented on JENKINS-60193 Re: NPE in JabberPublisherDescriptor in new install 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. Add Comment This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.203163.1574067471000.17186.1587733800185%40Atlassian.JIRA.
[JIRA] (JENKINS-60193) NPE in JabberPublisherDescriptor in new install
Title: Message Title Matthias Müller commented on JENKINS-60193 Re: NPE in JabberPublisherDescriptor in new install 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 Add Comment This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.203163.1574067471000.17176.1587733445460%40Atlassian.JIRA.
[JIRA] (JENKINS-60193) NPE in JabberPublisherDescriptor in new install
Title: Message Title Florian Schmaus updated JENKINS-60193 Jenkins / JENKINS-60193 NPE in JabberPublisherDescriptor in new install Change By: Florian Schmaus Status: In Review Resolved Resolution: Fixed Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.203163.1574067471000.13219.1576701420607%40Atlassian.JIRA.
[JIRA] (JENKINS-60193) NPE in JabberPublisherDescriptor in new install
Title: Message Title Florian Schmaus updated JENKINS-60193 Jenkins / JENKINS-60193 NPE in JabberPublisherDescriptor in new install Change By: Florian Schmaus Resolution: Fixed Status: Resolved In Review Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.203163.1574067471000.13217.1576701420577%40Atlassian.JIRA.
[JIRA] (JENKINS-60193) NPE in JabberPublisherDescriptor in new install
Title: Message Title Florian Schmaus updated JENKINS-60193 Jenkins / JENKINS-60193 NPE in JabberPublisherDescriptor in new install Change By: Florian Schmaus Status: In Review Resolved Resolution: Fixed Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.203163.1574067471000.13215.1576701300636%40Atlassian.JIRA.
[JIRA] (JENKINS-60193) NPE in JabberPublisherDescriptor in new install
Title: Message Title Florian Schmaus updated JENKINS-60193 Jenkins / JENKINS-60193 NPE in JabberPublisherDescriptor in new install Change By: Florian Schmaus Status: In Progress Review Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.203163.1574067471000.6971.1576227002544%40Atlassian.JIRA.
[JIRA] (JENKINS-60193) NPE in JabberPublisherDescriptor in new install
Title: Message Title Florian Schmaus started work on JENKINS-60193 Change By: Florian Schmaus Status: Open In Progress Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.203163.1574067471000.6969.1576226220296%40Atlassian.JIRA.
[JIRA] (JENKINS-60193) NPE in JabberPublisherDescriptor in new install
Title: Message Title Alex V updated an issue Jenkins / JENKINS-60193 NPE in JabberPublisherDescriptor in new install Change By: Alex V * 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/configureGUI seems normal, with Enable jabber notifications not checked: OKseveral exceptions appears in logs (see attached file): not OK. {{ NPE extract: }} { { noformat} 2019-11-18 08:52:28.455+ [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
[JIRA] (JENKINS-60193) NPE in JabberPublisherDescriptor in new install
Title: Message Title Alex V created an issue Jenkins / JENKINS-60193 NPE in JabberPublisherDescriptor in new install Issue Type: Bug Assignee: Florian Schmaus Attachments: jenkins.log Components: jabber-plugin Created: 2019-11-18 08:57 Environment: Jenkins ver. 2.190.2 jabber:1.38 Priority: Minor Reporter: Alex V 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