IBM Support

PI29648: EMAIL NOTIFICATION FAILS TO SEND WITH NULL POINTER EXCEPTION IN THE LOGS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • UrbanCode Deploy fails to send an email notification, and the
    following error is observed in the logs:
    
    2014-11-12 13:24:29,502 ERROR AsynEventService-1
    com.urbancode.ds.subsys.notification.ApplicationProcessNotificat
    ionEventListener - Error sending workflow notification
    com.urbancode.air.notification.NotificationException:
    java.io.IOException: error writing templated content
        at
    com.urbancode.air.notification.email.spooler.SpoolingTemplatedEm
    ailSender.send(SpoolingTemplatedEmailSender.java:222)
        at
    com.urbancode.air.notification.email.spooler.EmailSpoolManager.s
    end(EmailSpoolManager.java:132)
        at
    com.urbancode.ds.subsys.notification.domain.NotificationScheme.s
    endNotifications(NotificationScheme.java:172)
    ...
    Caused by: java.io.IOException: error writing templated content
        at
    com.urbancode.air.notification.template.TemplateApplication.writ
    eTo(TemplateApplication.java:151)
        at
    com.urbancode.air.notification.email.spooler.SpoolingTemplatedEm
    ailSender.send(SpoolingTemplatedEmailSender.java:101)
        ... 18 more
    Caused by:
    org.apache.velocity.exception.MethodInvocationException:
    Invocation of method 'getChangeTypeColor' in class
    com.urbancode.ds.subsys.notification.DeployTemplateHelper threw
    exception java.lang.NullPointerException @
    <unknowntemplate>[197,62]
        at
    org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMet
    hod.java:286)
        at
    org.apache.velocity.runtime.parser.node.ASTReference.execute(AST
    Reference.java:203)
    ...
    Caused by: java.lang.NullPointerException
        at
    com.urbancode.ds.subsys.notification.DeployTemplateHelper.getCha
    ngeTypeColor(DeployTemplateHelper.java:95)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)
        at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:76)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All users of IBM UrbanCode Deploy 6.1.0 and prior            *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Email Notification fails to send with Null Pointer Exception *
    * in the logs                                                  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to UCD 6.1.1                                         *
    ****************************************************************
    

Problem conclusion

  • A fix is available in IBM UrbanCode Deploy 6.1.1
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI29648

  • Reported component name

    UC DEPLOY

  • Reported component ID

    5725M5400

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-11-13

  • Closed date

    2014-12-11

  • Last modified date

    2014-12-11

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    UC DEPLOY

  • Fixed component ID

    5725M5400

Applicable component levels

  • R610 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS4GSP","label":"IBM UrbanCode Deploy"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 October 2021