[FIXED] [#214] Problem updating SVN 2.1.1

Page 1 of 2 12 LastLast
  1. #1

    [FIXED] [#214] Problem updating SVN 2.1.1

    Hello,
    I'm having a problem during the last SVN update (2.1.1).
    After the update, my application will not start and I get the following output in the debugger:
    - First-chance exception of type 'System.NullReferenceException' in WEB_WOE.DLL
    - The thread '<No Name>' (0x35c4) has exited with code 0 (0x0).
    Someone would know help me with this problem?
    Thank you very much!

    Stefano
    Last edited by Baidaly; May 30, 2013 at 6:48 AM. Reason: [FIXED]
  2. #2
    Hi Stefano,

    What is SVN link you have updated from?

    Please clarify do you have access to SVN? (I am asking because you are not a premium member).
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi Stefano,

    What is SVN link you have updated from?

    Please clarify do you have access to SVN? (I am asking because you are not a premium member).
    Hi Daniil,
    I have update from this page:
    http://nuget.org/packages/Ext.NET

    Perhaps update the SVN is not the correct term.
    I meant that I tried to update my application to version 2.1.1 Ext.Net and at that point no longer works.
    I have an account premium (user: ADV) but the password has my boss these days is not in the office.

    Thank you and Sorry for the misunderstanding.

    Stefano Lonati
    Last edited by slonati_adv; Apr 17, 2013 at 12:31 PM.
  4. #4
    WEB_WOE.DLL is not part of Ext.Net toolkit therefore I am doubt that the issue is related with Ext.Net
  5. #5
    Quote Originally Posted by Vladimir View Post
    WEB_WOE.DLL is not part of Ext.Net toolkit therefore I am doubt that the issue is related with Ext.Net
    Hi Vladimir,
    my application have 3 project inside, now I have retry update at 2.1.1 on other of my project but at the start of application I receive this:

    Click image for larger version. 

Name:	error.jpg 
Views:	25 
Size:	88.6 KB 
ID:	6044

    I have try to upload version from Package Manager Console with this steps:

    1) Install-Package Ext.NET.Utilities
    2) Install-Package Transformer.NET
    3) Install-Package Newtonsoft.Json
    4) Install-Package Ext.NET

    Thanks.

    Stefano Lonati
  6. #6
    Is it not a "not found" error? Or, maybe, a problem with the connection?
  7. #7
    Quote Originally Posted by Daniil View Post
    Is it not a "not found" error? Or, maybe, a problem with the connection?
    Hi,
    this morning I tried again to perform the update to version 2.2.1 and this time it worked.
    Have you updated version today, right?
    By running the regression test, I found the following error: I have an action that triggers a Direct Event that invokes the following method:

    protected void cmdCustomerChange_DirectClick (object sender, DirectEventArgs s)
             {
                 this.cmbDestination.Clear ();
                 this.txtAreaCompleteAddress.Clear ();
                 this.PopulateDestination ();
             }
    The error is that after the update, combocox "cmbDestination" is not emptied before being repopulated by the "this.PopulateDestination ()".

    May be due to the upgrade?
    Thanks!

    Stefano
    Last edited by Daniil; Apr 18, 2013 at 2:29 PM. Reason: Please use [CODE] tags
  8. #8
    Could you provide a test case to reproduce?
  9. #9
    Quote Originally Posted by Daniil View Post
    Could you provide a test case to reproduce?
    <%@ Page Language="C#" %>
    
    <%@ Import Namespace="System.Collections.Generic" %>
    
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    
    <script runat="server">     
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!X.IsAjaxRequest)
            {
                List<object> list = new List<object>
                {
                    new {Text = "Text3", Value = 3},
                    new {Text = "Text4", Value = 4},
                    new {Text = "Text5", Value = 5}
                };
                
                this.Store1.DataSource = list;
                this.Store1.DataBind();
                this.ComboBox1.Items.Insert(0, new Ext.Net.ListItem("None", "-"));
    
                this.ComboBox1.SelectedItems.Add(new Ext.Net.ListItem("-"));
            }
        }
    
        protected void Test(object sender, DirectEventArgs e)
        {
            this.ComboBox1.Clear();
        }
    
     
    </script>
    
    <!DOCTYPE html>
    
    <html>
    <head id="Head1" runat="server">
        <title>Items Actions - Ext.NET Examples</title>
        <link href="/resources/css/examples.css" rel="stylesheet" />
    </head>
    <body>
        <form id="Form1" runat="server">
            <ext:ResourceManager ID="ResourceManager1" runat="server" />
    
            <ext:ComboBox 
                ID="ComboBox1" 
                runat="server" 
                DisplayField="Text" 
                ValueField="Value"
                QueryMode="Local">
                <Store>
                    <ext:Store ID="Store1" runat="server">          
                        <Model>
                            <ext:Model ID="Model1" runat="server" IDProperty="Value">
                                <Fields>
                                    <ext:ModelField Name="Text" />
                                    <ext:ModelField Name="Value" />
                                </Fields>
                            </ext:Model>
                        </Model>
                    </ext:Store>
                </Store>
                <Items>
                    <ext:ListItem Text="Text2" Value="2" />
                </Items>
                <Triggers>
                    <ext:FieldTrigger Icon="Clear" Qtip="Remove selected" />
                </Triggers>
                <Listeners>
                    <TriggerClick Handler="this.removeByValue(this.getValue());
                                           this.clearValue();" />
                </Listeners>
            </ext:ComboBox>
            
            <br />
            
            <ext:Container ID="Container1" runat="server" Layout="HBoxLayout">            
                <Items>
                    <ext:Button runat="server" Text="Empty">
                        <Listeners>
                            <Click Handler="#{ComboBox1}.getStore().removeAll(true)"/>
                        </Listeners>
                        <DirectEvents>
                            <Click OnEvent="Test" />
                        </DirectEvents>
                    </ext:Button>
                </Items>
            </ext:Container>
            
           
        </form>
    </body>
    </html>
    I have also add this listener:

    <Listeners>
        <Click Handler="#{ComboBox1}.getStore().removeAll(true)"/>
    </Listeners>

    But the combobox is never empty.
    Thank you.

    Stefano
  10. #10
    There are two issues.

    You should not pass to the removeCall method a true as the second parameter.

    Another issue is the fact that the removeAll method doesn't clear a Store's snapshot. I reported it to Sencha.
    http://www.sencha.com/forum/showthread.php?261889

    For now please use:
    var combo = #{ComboBox1},
        store = combo.getStore();
    
    store.removeAll();
    store.snapshot.clear()
    combo.clear();
Page 1 of 2 12 LastLast

Similar Threads

  1. [CLOSED] Grid dragdrop dragtext problem after updating to latest Trunk
    By blueworld in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 09, 2013, 12:35 PM
  2. [CLOSED] [1.0] Problem updating dataview
    By alemonnier in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Nov 16, 2010, 7:18 AM
  3. [CLOSED] Problem when updating to new version
    By Pablo_Azevedo in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Oct 08, 2010, 12:17 PM
  4. [CLOSED] Problem with TextFiled Height after updating the SVN?
    By Etisbew in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Oct 16, 2009, 4:38 AM
  5. Problem with updating grid panel
    By Nagaraj K Hebbar in forum 1.x Help
    Replies: 0
    Last Post: May 09, 2009, 12:52 PM

Tags for this Thread

Posting Permissions