Skip to content

passing null to event callback throwing type error #268

@ChetHarrison

Description

@ChetHarrison

I'm not sure at the moment which radio event I called (I assume this would happen on all event callbacks though). This has got to be a pretty exotic edge case. Not many people would spend the effort I am trying to defend my app against my vendor lib commitments. Passing null as a callback is def a legit error under certain circumstances but not always. I will try and box this in on Monday

here's the trace:
Uncaught TypeError: Cannot read property '_callback' of null agent.js:28757 window.__agent.Agent.unwrapListenToOnceWrapper agent.js:28733 window.__agent.Agent.findKeyagent.js:28539 window.__agent.Agent.inspectValue agent.js:31221 (anonymous function)agent.js:95 window.__agent._.each._.forEach agent.js:31217 window.__agent.Agent.serializeChannelRadio agent.js:30498 window.__agent.Agent.reportNewRadioChannel.Agent.lazyWorker.push.callback agent.js:28834 window.__agent.Agent.LazyWorker.Marionette.Object.extend.startWork agent.js:675 window.__agent._.debounce.later

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions