Skip to content

TypeError: Cannot read property 'forEach' of null #50

Description

@gerroon

Debian Buster X64

a user connected
(node:18494) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'forEach' of null
    at new SinkInput (/opt/PaWebControl/src/backend/sinkInput.ts:40:13)
    at filteredOutput.forEach (/opt/PaWebControl/src/backend/pactl.ts:88:25)
    at Array.forEach (<anonymous>)
    at Pactl.<anonymous> (/opt/PaWebControl/src/backend/pactl.ts:86:20)
    at Generator.next (<anonymous>)
    at fulfilled (/opt/PaWebControl/src/backend/pactl.ts:4:58)
(node:18494) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or
 by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:18494) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js 
process with a non-zero exit code.
(node:18494) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'forEach' of null
    at new SinkInput (/opt/PaWebControl/src/backend/sinkInput.ts:40:13)
    at filteredOutput.forEach (/opt/PaWebControl/src/backend/pactl.ts:88:25)
    at Array.forEach (<anonymous>)
    at Pactl.<anonymous> (/opt/PaWebControl/src/backend/pactl.ts:86:20)
    at Generator.next (<anonymous>)
    at fulfilled (/opt/PaWebControl/src/backend/pactl.ts:4:58)
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:18494) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or
 by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:18494) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'forEach' of null
    at new SinkInput (/opt/PaWebControl/src/backend/sinkInput.ts:40:13)
    at filteredOutput.forEach (/opt/PaWebControl/src/backend/pactl.ts:88:25)
    at Array.forEach (<anonymous>)
    at Pactl.<anonymous> (/opt/PaWebControl/src/backend/pactl.ts:86:20)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions