blackberry/Ripple-UI — Issue #211: blackberry.io.file.exits() throws exception
Author: dansilivestru
Created: 2011-10-26 15:30:03+00:00
State: open
Labels: Bug

Ripple reports the following error after upgrading to 0.9.0:

Uncaught TypeError: Cannot read property 'children' of null
(anonymous function)ripple.js:353
oripple.js:353
l.file.existsripple.js:353
b.exports.existsripple.js:353
b.exports.create.e.sendripple.js:353
f.passripple.js:350
f.passripple.js:350
f.passripple.js:350
f.passripple.js:350
f.passripple.js:350
f.passripple.js:350
f.passripple.js:350
g.startripple.js:350
hripple.js:353
b.exports.create.e.sendripple.js:353
makeSyncCallripple.js:353
d.callripple.js:353
b.exports.existsripple.js:353
(anonymous function)services.js:60

This is while testing a BB WebWorks app. The offending call in line 60 of services.js seems to be this:
blackberry.io.file.exists('file:///SDCard/Blackberry/is_emulator')