I'm beginning to think this exception was due to Chrome getting itself into a state?
This morning I have hardly been able to reproduce the exception and cannot reproduce it at
all at the moment.
Earlier I had a similar issue with getting "TypeError: 'null' is not an
object (evaluating 'localStorage['_db_data_' + name]') on line 262 for
undefined" on every CordovaSim start whether Livereload Server was started or not;
and the code was exactly the same. Most of the application was then broken. Nothing
seemed to work until I rebooted the computer and everything was back to
"normal".
It is looking as if CordovaSim is not handling WebSQL databases correctly on a
livereload. The application will use Sqlite on a device but will use WebSQL in a browser
(e.g., ionic serve) or CordovaSim. The database is opening and populating correctly when
CordovaSim is first launched but after a livereload the exact same database open that
worked on initial launch fails with
Posted by forums
Original post:
https://developer.jboss.org/message/917031#917031