Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext User
    Join Date
    Aug 2009
    Posts
    11
    Vote Rating
    0
    jennygandra is on a distinguished road

      0  

    Default [FIXED] MenuItem delete on click of the MenuiTem icon throwing a null pointer ex

    [FIXED] MenuItem delete on click of the MenuiTem icon throwing a null pointer ex


    Hi,

    I delete a MenuItem from a Menu, onclick of the MenuItem icon. The MenuItem is getting deleted, but throwing a null pointer exception in the deactivate() method of the Item class.

    Here is the sample code snippet:

    final CustomMenuItem mySavedViewOneMenuItem = new CustomMenuItem( "menu1" );
    final CustomMenuItem menu2 = new CustomMenuItem( "menu2" );
    Menu menu = new Menu();
    mySavedViewOneMenuItem.setIcon( closeIcon );
    menu.insert( mySavedViewOneMenuItem, 0 );
    menu.insert( menu2, 1 );
    item1.setMenu( menu );
    mySavedViewOneMenuItem.addIconClickListener( new Listener<BaseEvent>()
    {

    @Override
    public void handleEvent( BaseEvent be )
    {
    Menu parentMenu = mySavedViewOneMenuItem.getParentMenu();

    mySavedViewOneMenuItem.removeFromParent();
    }
    } );


    Thanks in advance.

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Fixed in SVN.

  3. #3
    Ext User
    Join Date
    Aug 2009
    Posts
    11
    Vote Rating
    0
    jennygandra is on a distinguished road

      0  

    Default


    Hi,

    What do you mean by fixed in SVN.
    where can I get the fixed version.

  4. #4
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    It is fixed in SVN. The fix is not released.

    You can get SVN access with a support subscription: http://www.extjs.com/store/gxt/#support-table

  5. #5
    Ext User JEASIASINGUTT's Avatar
    Join Date
    Dec 2009
    Location
    Bulgaria
    Posts
    7
    Vote Rating
    0
    JEASIASINGUTT is on a distinguished road

      0  

    Default MenuItem delete on click of the MenuiTem icon throwing a null pointer exception

    MenuItem delete on click of the MenuiTem icon throwing a null pointer exception


    ah I see it is not in the release yet... BTW this bug seems to be in extjs 3 as well

    here is the fix if you cant access the svn:

    change original:
    beforeDestroy : function ifthis.rendered this.keyNav.disable; // throws NULL Exception this.keyNav = null; Ext.destroy this.leftClickRpt, this.rightClickRpt, this.monthPicker, this.eventEl, this.mbtn, this.todayBtn ;
    to:
    beforeDestroy : function ifthis.rendered ifthis.keyNav = null this.keyNav.disable; this.keyNav = null; Ext.destroy this.leftClickRpt, this.rightClickRpt, this.monthPicker, this.eventEl, this.mbtn, this.todayBtn ;

  6. #6
    Sencha User
    Join Date
    Nov 2008
    Location
    Vienna - Austria
    Posts
    867
    Vote Rating
    1
    micgala is on a distinguished road

      0  

    Default


    It was released already (Gxt 2.1.0).

    But I guess you maybe talking about ext-js...
    In this case, you might want to post it in their forum.

    Regards,
    Michel.