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

NPE in JabberPublisherDescriptor in new install

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • jabber-plugin
    • None
    • Jenkins ver. 2.190.2
      jabber:1.38

      • 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)
      

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

              Created:
              Updated:
              Resolved: