I am back to my qooxdoo development guys.

I am passing 'this' in the event listener. The actual problem is invoking a
non-exisiting method inside my event handler. I am surprised that source
version doesn't catch it, but build version is very strict about. it.

Here is the error.

req.addEventListener("completed", function(e) {
---------------------
---------------------
var genericTableRefreshButton = new qx.ui.form.Button("Refresh");
genericTableRefreshButton.addEventListener("execute", this._executeRefresh,
this);
}

The executeRefresh is not defined in my application. I forgot to comment out
the bad code.

What made me to think that the problem is coing with
qx.xml.Document.fromString is because it never prints the xml to the console
debug. It always prints blank.

var xml = qx.xml.Document.fromString(data);     
this.debug("Converted to XML Document " + xml);

Anyway, thanks for your support.

Thanks.
Kanugula Venkata.

After digging the problem,

kanugula wrote:
> 
> Sorry for late reply. I am not going away from my qooxdoo implementation.
> Currently busy with some other project.
> 
> I don't think I am passing 'this' in the event. I will try that and post
> back the result.
> 
> Thank you,.
> Venkata Kanugula.
> 
> 
> 
> Fabian Jakobs-2 wrote:
>> 
>> kanugula schrieb:
>>> Hello,
>>>
>>> Does anybody know answer for this? Is there a way to skip the hashCode
>>> check? 
>>>
>>> We are about to launch this in production. It is so IMPORTANT that we
>>> need
>>> to fix this. It is shame for me to scap this project just because of an
>>> hashCode error!
>>>
>>> Please let me know if you need more information.
>>>
>>> Thanks.
>>> Venkata Kanugula.
>>>
>>>
>>> kanugula wrote:
>>>   
>>>> Hello,
>>>>
>>>> I am getting the foloowing ereror message after making a build instead
>>>> of
>>>> source. Source mode works fine.
>>>>
>>>> Environment:
>>>> ========
>>>> qooxdoo-0.7-alpha2, Tomcat,IE6
>>>>
>>>>
>>>> For simplicity, I generated a test case with sample data.
>>>>
>>>> var req = new qx.io.remote.Request("/myWeb/retrieveData",
>>>> qx.net.Http.METHOD_POST);
>>>> req.setRequestHeader("Content-Type",
>>>> "application/x-www-form-urlencoded");
>>>>     var reqData = ".....";
>>>>                    
>>>>            req.setData(reqData);
>>>>                            
>>>>                    req.addEventListener("completed", function(e) {         
>>>>                                                  
>>>>                        data =
>>>> "<Root><Row>test1</Row><Row>test2</Row><Row>test3</Row></Root>";
>>>>                
>>>>                var xml = qx.xml.Document.fromString(data); 
>>>>                this.debug("Converted to XML Document " + xml);
>>>>
>>>> -----------> It fails here with the error message 
>>>> "013609 ERROR: qx.io.remote.Request[826]: Could not dispatch event of
>>>> type
>>>> "completed": TypeError - '_hashCode' is null or not an object
>>>> (#-2146823281)
>>>>
>>>>    
>> Hi Venkata,
>> 
>> pasring the above XML code using qx.xml.Document.fromString works for 
>> me. The references to _hashcode in the framework seem to work fine as 
>> well. What is the complete code of your event listener? Do you set the 
>> third parameter of "addEventListener" to "this"?
>> 
>> Best Fabian
>> 
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> qooxdoo-devel mailing list
>> qooxdoo-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Broken-hashcode-at-qx.xml.Document.fromString%40qx.io.remote.Request-tf3694235.html#a11345511
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to