Results 1 to 2 of 2

Thread: [FIXED] Container.remove causes NPE

  1. #1
    Ext User
    Join Date
    May 2008
    Posts
    11
    Vote Rating
    0
      0  

    Default [FIXED] Container.remove causes NPE

    If the autoDestroy flag is set, the Container.remove function causes the NullPointerException in the Component.fireEvent code. Basically, the Container.remove destroys the component first, and after that fires the Events.Orphan on the already destroyed component.

  2. #2
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,242
    Vote Rating
    2
      0  

    Default

    The destroy code has been removed in SVN as it was determined unneeded with GWT. Destroy is used in Ext JS as there is no attach / detach concept and listeners must be manually removed.

Posting Permissions

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