Skip to content

B: Person Audience job exception #125

@KelleyLangkamp

Description

@KelleyLangkamp

Expected Behavior

No exceptions

Current Behavior

When the job runs, if there are any person audience defined values that do not have the Audience Data View attribute set you will get an "Object reference not set to an instance of an object" error. The audience data view attribute does not and should not require a value. Therefore, no exception should be getting generated.

Failure Information (for bugs)

Exceptions can be seen on Venture's Rock install
image

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. On the Audience Type defined type, set the Audience Data View on some but not all of the values.
  2. Run the Set Person Audience job.
  3. Exception

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

  • Rock Version: 13.7
  • SQL Server Version: Azure
  • Windows Version:

Failure Logs

Please include any relevant log snippets or files here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions