Cordova – Ionic Throws TypeError: Change view When you do not read NULL attribute ‘expire’

Whenever I change the view, my ionic application throws the following error, I can’t find the reason, anyone knows what I’m doing wrong?

TypeError: Cannot read property'expire' of null
at file:///android_asset/www/lib/ionic/js/ionic.bundle .js:43339:37
at Scope.$broadcast (file:///android_asset/www/lib/ionic/js/ionic.bundle.js:23547:28)
at $state.transition .resolved.then.$state.transition (file:///android_asset/www/lib/ionic/js/ionic.bundle.js:41017:22)
at processQueue (file:///android_asset/www /lib/ionic/js/ionic.bundle.js:22016:27)
at file:///android_asset/www/lib/ionic/js/ionic.bundle.js:22032:27
at Scope.$eval (file:///android_asset/www/lib/ionic/js/ionic.bundle.js:23228:28)
at Scope.$digest (file:///android_asset/www/ lib/ionic/js/ionic.bundle.js:23044:31)
at Scope.$apply (file:///android_asset/www/lib/ionic/js/ionic.bundle.js:23333:24 )
at file:///android_asset/www/lib/ionic/js/ionic.bundle.js:25059:36
at completeOutstandingRequest (file:///android_asset/www/lib/ionic/ js/ionic.bundle.js:13732:10)
ion ic.bundle.js (20434,24)

As I wrote in the comments, I Encountered the same problem, it looks like it is a bug in Ionic v1.0.1. Somewhere in the thread of the link below, it is recommended that the problem shows up when using Ionic’s “menu-close” attribute:

< /p>

https://github.com/driftyco/ionic/issues/4038

After changing “Menu Off” to “Menu Toggle”, the problem disappeared, for me This is enough. I think it will be fixed soon.

I hope I can help you!

Whenever I change the view, my ionic application throws the following error, I can’t find the reason, anyone knows what I’m doing wrong?

TypeError: Cannot read property'expire' of null
at file:///android_asset/www/lib/ionic/js/ionic.bundle .js:43339:37
at Scope.$broadcast (file:///android_asset/www/lib/ionic/js/ionic.bundle.js:23547:28)
at $state.transition .resolved.then.$state.transition (file:///android_asset/www/lib/ionic/js/ionic.bundle.js:41017:22)
at processQueue (file:///android_asset/www /lib/ionic/js/ionic.bundle.js:22016:27)
at file:///android_asset/www/lib/ionic/js/ionic.bundle.js:22032:27
at Scope.$eval (file:///android_asset/www/lib/ionic/js/ionic.bundle.js:23228:28)
at Scope.$digest (file:///android_asset/www/ lib/ionic/js/ionic.bundle.js:23044:31)
at Scope.$apply (file:///android_asset/www/lib/ionic/js/ionic.bundle.js:23333:24 )
at file:///android_asset/www/lib/ionic/js/ionic.bundle.js:25059:36
at completeOutstandingRequest (file:///android_asset/www/lib/ionic/ js/ionic.bundle.js:13732:10)
ionic .bundle.js (20434,24)

As I wrote in the comments, I ran into the same problem and it looks like it is ionic v1. A bug in 0.1. Somewhere in the thread of the link below, it is recommended that the problem arises when using ionic’s “menu-close” attribute:

https://github.com /driftyco/ionic/issues/4038

After changing the “Menu Off” to “Menu Toggle”, the problem disappeared, which is enough for me. I think it will be fixed soon.

I hope I can help you!

Leave a Comment

Your email address will not be published.