Re[4]: so
От: cgibin  
Дата: 31.08.10 21:23
Оценка: 40 (1)
Здравствуйте, c-smile, Вы писали:

CS>А что stack trace показывает?

Я немного это поковырял, так тоже падает:
this.tbody.select(:e: e.style#visibility = "collapse", "tr[boo]");

Можно заменить на e.style#display = "none", такой же результат. Причём для одного элемента работает, а для нескольких — нет.
Стек такой:


     ntdll.dll!7c90eddc()     
     [Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]    
     ntdll.dll!7c94a1f5()     
     ntdll.dll!7c91b5f4()     
     ntdll.dll!7c91b686()     
     ntdll.dll!7c90d4ea()     
     ntdll.dll!7c9105e3()     
>    sciter-x.dll!malloc(unsigned int size=1524)  Line 163 + 0x63 bytes    C
     sciter-x.dll!operator new(unsigned int size=1524)  Line 59 + 0x8 bytes    C++
     sciter-x.dll!html::style::operator new(unsigned int sz=11211931)  Line 1344 + 0xb bytes    C++
     sciter-x.dll!html::style::create_unique()  + 0x10 bytes    C++
     sciter-x.dll!html::block::_current_style()  + 0x12e bytes    C++
     sciter-x.dll!html::block::positioned()  Line 2693 + 0x36 bytes    C++
     sciter-x.dll!html::block::refresh_positioned()  + 0x55 bytes    C++
     sciter-x.dll!html::view::refresh(html::block * b=0x09936b98)  Line 978    C++
     sciter-x.dll!html::update_queue::add()  + 0x7a bytes    C++
     sciter-x.dll!html::view::add_to_update(html::block * b=0x09936b98, bool rem=true)  Line 840    C++
     sciter-x.dll!html::block::on_style_changed()  + 0x522 bytes    C++
     sciter-x.dll!html::block::_current_style()  + 0x323 bytes    C++
     sciter-x.dll!html::block::positioned()  Line 2693 + 0x36 bytes    C++
     sciter-x.dll!html::block::refresh_positioned()  + 0x55 bytes    C++
     sciter-x.dll!html::view::refresh(html::block * b=0x09936b98)  Line 978    C++
     sciter-x.dll!html::update_queue::add()  + 0x7a bytes    C++
     sciter-x.dll!html::view::add_to_update(html::block * b=0x09936b98, bool rem=true)  Line 840    C++
     sciter-x.dll!html::block::on_style_changed()  + 0x522 bytes    C++
     sciter-x.dll!html::block::_current_style()  + 0x323 bytes    C++
     sciter-x.dll!html::block::positioned()  Line 2693 + 0x36 bytes    C++
     sciter-x.dll!html::block::refresh_positioned()  + 0x55 bytes    C++
     sciter-x.dll!html::view::refresh(html::block * b=0x09936b98)  Line 978    C++
     sciter-x.dll!html::update_queue::add()  + 0x7a bytes    C++



CS>Меня как раз интересует откуда именно то BrokenHeart пришел, что там было в оригинале? Можешь сказать?


Вытащил предыдущую версию, там было так:

...
    if(!(rs instanceof Recordset))
        return;
...
    function addRow(rs, insertAt = Integer.MAX)
    {
        var tr = new Element("tr");
        this.tbody.insert(tr, insertAt);
        if(rs["New"])
            tr.@["New"] = true;
        tr.@["rid"] = rs[0];
        var date = new Date(rs[1]);
        tr.$append(<td>{date.toLocaleString()}</td><td>{rs[2]}</td><td>{rs[3].htmlUnescape()}</td>);
    }


Исключение указывало на tr.@["rid"] = rs[0];
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.