question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Uncaught TypeError: Cannot read property 'yadcfState' of null

See original GitHub issue

I see the following with 0.9.4-beta.28 (via yarn).

jquery.dataTables.yadcf.js:4275 Uncaught TypeError: Cannot read property 'yadcfState' of null
    at saveTextKeyUpState (jquery.dataTables.yadcf.js:4275)
    at keyUp (jquery.dataTables.yadcf.js:4261)
    at jquery.dataTables.yadcf.js:4269
    at jquery.dataTables.yadcf.js:901

This happens when I type into a column search field.

This is defined as:

      {column_number: 0,
       filter_type: 'text',
       filter_default_label: 'Filter Vuln IDs',
       regex_check_box: true,
       filter_delay: 1500
      },

Not sure if relevant, the datatables column has a render property:

      {
        data: 'vulnerability__vuln_id',
        render: (data, _type, row, _meta) =>
          `
<a href="${location.origin}/airshield/findings/${row.id}/">
${data}
</a>
`
      },

Sorry, if this is not a bug in yadcf.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
TauPancommented, Feb 11, 2020

Uhm, when I reinstall (beta 28 or 40, doesn’t matter) this behaviour disappears. Maybe I had the wrong beta (possibly 5, from npm) installed here.

0reactions
vedmackcommented, Aug 2, 2020
Read more comments on GitHub >

github_iconTop Results From Across the Web

Uncaught TypeError: Cannot read property of null - iDiallo
This will result in Uncaught TypeError: Cannot read property 'value' of null . The reason will be that the element with id input...
Read more >
Cannot read properties of null (reading 'value') javascript ...
Uncaught TypeError : Cannot read properties of null (reading 'value') at HTMLButtonElement.document.getElementById.onclick (Login2.js:12:55).
Read more >
Source - GitHub
... https://github.com/vedmack/yadcf/issues/482 - Autocomplete is not reading ... Uncaught TypeError: Cannot read property 'yadcfState' of null ## 0.9.3 ...
Read more >
Uncaught TypeError: Cannot read property 'oFeatures' of null
I'm currently receiving an error: "Uncaught TypeError: Cannot read property 'oFeatures' of null" when I type into he filter.
Read more >
Uncaught TypeError: Cannot read properties of null ... - Reddit
Uncaught TypeError : Cannot read properties of null (reading 'addEventListener'). I have a javascript file that loads on every page - one ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found