This code is from qx.event.Manager. As you can clearly see you should have gotten a corresponding error message in the source version.

T.

On 04/18/2013 03:55 PM, Tobias Koller (GERMO GmbH) wrote:

I deactivated the optimization via OPTIMIZE: [] because bp is nonsense ;)

And got this output now:

The error is in this line:

vartargetKey = target.$$hash || qx.core.ObjectRegistry.toHashCode(target);

TypeError: target is null

//hier die Ausgabe

addListener : function(target, type, listener, self, capture)

{

if (qx.core.Environment.get("qx.debug"))

{

var msg = "Failed to add event listener for type '"+ type +"'" +

" to the target '" + target.classname + "': ";

qx.core.Assert.assertObject(target, msg + "Invalid Target.");

qx.core.Assert.assertString(type, msg + "Invalid event type.");

qx.core.Assert.assertFunction(listener, msg + "Invalid callback function");

if (capture !== undefined) {

  qx.core.Assert.assertBoolean(capture, "Invalid capture flag.");

}

}

var targetKey = target.$$hash || qx.core.ObjectRegistry.toHashCode(target);

var targetMap = this.__listeners[targetKey];

if (!targetMap) {

targetMap = this.__listeners[targetKey] = {};

}

var entryKey = type + (capture ? "|capture" : "|bubble");

var entryList = targetMap[entryKey];

if (!entryList) {

entryList = targetMap[entryKey] = [];

}

// This is the first event listener for this type and target

// Inform the event handler about the new event

// they perform the event registration at DOM level if needed

if (entryList.length === 0) {

this.__registerAtHandler(target, type, capture);

}

// Append listener to list

var unique = (qx.event.Manager.__lastUnique++) + "";

var entry =

{

handler : listener,

context : self,

unique : unique

};

entryList.push(entry);

returnentryKey + "|" + unique;

    },

Mit freundlichen Grüßen
GERMO GmbH

Tobias Koller
Softwareentwickler

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
GERMO GmbH
Wettbachstraße 18
71063 Sindelfingen

http://www.germo.de <http://www.germo.de/>

Tel. 07031 9522-144
Fax  07031 9522-222

Geschäftsführer: Theo Röder, Andreas Röder
Hauptsitz: Hofackerstr. 60, 73660 Urbach
Handelsregister: Amtsgericht Stuttgart, HRB-Nr.: 280255, Ust.-IdNr. DE146624394
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

*Von:*Tobias Koller (GERMO GmbH) [mailto:t...@germo.de]
*Gesendet:* Donnerstag, 18. April 2013 15:37
*An:* qooxdoo-devel@lists.sourceforge.net
*Betreff:* [qooxdoo-devel] TypeError: bp is null

Hi,

I have a problem with the build-version of my application.

My source-Version works without problems.

But when I create the build-version (generate.py build)

I get this error when I open the application in any browser:

TypeError: bp is null

Can you help me with this?

Qx: 2.1.1

Thanks

tobi



------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter


_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to