Results 1 to 2 of 2

Thread: Cannot read insertBefore of null

  1. #1

    Default Cannot read insertBefore of null

    I have created a tree panel.

    treepanel.expandAll(); //working fine
    but treepanel.collapseAll(); //throwing error

    here is the stacktrace

    ext-all.js:22 Uncaught TypeError: Cannot read property 'insertBefore' of null
    at F.doRemove (ext-all.js:22)
    at F.onRemove (ext-all.js:22)
    at F.fire (ext-all.js:22)
    at F.doFireEvent (ext-all.js:22)
    at F.a.doFireEvent (ext-all.js:22)
    at F.fireEventArgs (ext-all.js:22)
    at F.fireEvent (ext-all.js:22)
    at F.onCollectionRemove (ext-all.js:22)
    at F.notify (ext-all.js:22)
    at F.splice (ext-all.js:22)


    can anyone help me on this ?
    ext-all.js:22
    [COLOR=red !important]Uncaught TypeError: Cannot read property 'insertBefore' of null at F.doRemove (ext-all.js:22) at F.onRemove (ext-all.js:22) at F.fire (ext-all.js:22) at F.doFireEvent (ext-all.js:22) at F.a.doFireEvent (ext-all.js:22) at F.fireEventArgs (ext-all.js:22) at F.fireEvent (ext-all.js:22) at F.onCollectionRemove (ext-all.js:22) at F.notify (ext-all.js:22) at F.splice (ext-all.js:22)[/COLOR]

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    I couldn't find any matching reports. Are you able to recreate this in a test case?
    https://fiddle.sencha.com/#view/editor

Similar Threads

  1. [FIXED] Cannot read property 'isFocusable' of null or 'focus' of null
    By SebTardif in forum Ext 5: Bugs
    Replies: 3
    Last Post: 20 Mar 2015, 7:27 AM
  2. Replies: 12
    Last Post: 5 Dec 2013, 1:02 PM
  3. Replies: 1
    Last Post: 26 Apr 2012, 6:27 AM
  4. Cannot read property 'xxx' of null
    By rgilkes in forum Sencha Touch 1.x: Discussion
    Replies: 6
    Last Post: 12 Oct 2011, 7:45 AM
  5. Replies: 1
    Last Post: 29 Jun 2010, 5:39 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •