Here are the parameters with the values from the addListener-method where the 
error occurred:

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

target: null
type: "mousedown"
listener: "qx.ui.embed.Iframe.prototype.block()()"
self:       qx.ui.embed.Iframe[8-0] { $$hash="8-0", 
__containerElement=qx.html.Element[11-0], 
__contentElement=qx.html.Iframe[12-0], more...}
capture: true


In my whole application I don't use the "mousedown" event.

thanks
Tobi

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

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

And got this output now:
The error is in this line:
var targetKey = 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);

      return entryKey + "|" + 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<mailto: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

Reply via email to