Skip to content

2.1.19 Cannot read properties of null (reading 'info') #955

@sdernbach-ionos

Description

@sdernbach-ionos

Problem Description

What is actually happening

Since 2.1.19 I get "Cannot read properties of null (reading 'info') at performFullSync (/home/runner/_work/admin/admin/.safe-settings-code/full-sync.js:7:14)

probot.log.info(Starting full sync with NOP=${nop})

Which is breaking the whole sync. I guess it is cause of the breaking changes in probot version 14.

What is the expected behavior

Sync should run through without errors

Error output, if available

> node ./full-sync.js
Fatal error during full sync: TypeError: Cannot read properties of null (reading 'info')
    at performFullSync (/home/runner/_work/admin/admin/.safe-settings-code/full-sync.js:7:14)
    at Object.<anonymous> (/home/runner/_work/admin/admin/.safe-settings-code/full-sync.js:25:1)
    at Module._compile (node:internal/modules/cjs/loader:1705:14)
    at Object..js (node:internal/modules/cjs/loader:1838:10)
    at Module.load (node:internal/modules/cjs/loader:1441:32)
    at Function._load (node:internal/modules/cjs/loader:1263:12)
    at TracingChannel.traceSync (node:diagnostics_channel:328:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)
    at node:internal/main/run_main_module:36:49

Context

Are you using the hosted instance of probot/settings or running your own?

Within GitHub Actions

If running your own instance, are you using it with github.com or GitHub Enterprise?

github.com

Version of probot/settings

2.1.9

Version of GitHub Enterprise

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions