mmarlow
mmarlow

Reputation: 264

weinre debugger server reporting invocation exception

I'm using WEINRE to debug/inspect a Cordova/Ionic app on Windows Phone 8 emulator (versions below).

When I run the WEINRE server, it works fine and I can inspect the app OK but the terminal where I started the server is logging around 100 errors per second that mostly look like this:

weinre: invocation exception on Object.attributesUpdated(): TypeError: Cannot read property '_setAttributesPayload' of undefined

The bigger the page view, the more errors occur. It seems to be related to the amount of tags on the page which makes sense considering the errors are to do with attributes and child nodes etc. Perhaps this is actually the DOM inspector that's causing it?

Does anyone know what is causing this error, and how I can stop it?

Here's the output from weinre -v:

version:    2.0.0-pre-I0Z7U9OV
node versions:
http_parser : 2.5.2
node        : 4.4.3
v8          : 4.5.103.35
uv          : 1.8.0
zlib        : 1.2.8
ares        : 1.10.1-DEV
icu         : 56.1
modules     : 46
openssl     : 1.0.2g

Other versions

Upvotes: 0

Views: 191

Answers (1)

Patrick Mueller
Patrick Mueller

Reputation: 697

Seems like the messages are being generated from this code, which indicates some of the initialization of weinre didn't complete successfully. Were there any messages you saw before this one, or any known errors that occurred while your web page was loading?

Upvotes: 0

Related Questions