ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

bug: Error in ionic bundle

Open gio82 opened this issue 12 years ago • 11 comments

Type: bug

Platform: ios 8 webview

I've got this error (ionic beta 13): 0 357181 error TypeError: null is not an object (evaluating 'scrollView.options'), http://192.168.1.100:8100/lib/ionic/js/ionic.bundle.js, Line: 39815

It seems a no blocking error. The app still works after this error.

gio82 avatar Nov 16 '14 09:11 gio82

duplicate https://github.com/driftyco/ionic/issues/2516

adamdbradley avatar Nov 19 '14 04:11 adamdbradley

I'm still getting this error with 1.1.0, but only when running unit tests, both in PhantomJS2 and Chrome:

TypeError: null is not an object (evaluating 'scrollView.options')
  at /Users/jordankohl/Dev/homdna-mobile/src/lib/ionic/js/ionic.bundle.js:52869

Changing the line in ionic.bundle.js to scrollVew && scrollView.options fixes the problem.

I saw someone on the forum also mentioned the same problem with 1.1.0: http://forum.ionicframework.com/t/scrollview-option-throws-error-on-android-4-4-2/21356

simpixelated avatar Oct 19 '15 17:10 simpixelated

i am getting same error on iOS and Android. @adamdbradley: any tips how to fix this? Here is my info:

Cordova CLI: 5.4.1
Gulp version:  CLI version 3.9.0
Gulp local:   Local version 3.9.0
Ionic Version: 1.2.4
Ionic CLI Version: 2.0.0-beta.12
Ionic App Lib Version: 2.0.0-beta.6
ios-deploy version: 1.8.3 
ios-sim version: 4.1.1 
OS: Mac OS X El Capitan
Node Version: v4.2.3
Xcode version: Xcode 7.2 Build version 7C68 

okonon avatar Jan 25 '16 04:01 okonon

cc: @simpixelated

okonon avatar Jan 25 '16 04:01 okonon

here is the line that is causing the issue: var isVertical = !!scrollView.options.scrollingY;

okonon avatar Jan 25 '16 04:01 okonon

this error still occurs here is my info:

Cordova CLI: 6.0.0
Gulp version:  CLI version 3.9.0
Gulp local:   Local version 3.9.0
Ionic Version: 1.2.4
Ionic CLI Version: 2.0.0-beta.12
Ionic App Lib Version: 2.0.0-beta.6
ios-deploy version: 1.8.4 
ios-sim version: 4.1.1 
OS: Mac OS X El Capitan
Node Version: v4.2.3
Xcode version: Xcode 7.2 Build version 7C68 

okonon avatar Feb 15 '16 22:02 okonon

happens to me to every other run, makes my app freeze on startup any coming solution for that bug?

ofershap avatar Feb 22 '16 15:02 ofershap

is there any solution to this? I got this error after I added ion-option-button and occurred whenever I slided an item that I wanted to delete.

kby799 avatar May 18 '16 21:05 kby799

same here and this is my log.

TypeError: Cannot read property 'options' of null at new RepeatController (ionic-angular.js:9280) at getRepeatManager (ionic-angular.js:9067) at refreshDimensions (ionic-angular.js:9166) at angular.js:18258 at completeOutstandingRequest (angular.js:5764) at angular.js:6041

heedoo avatar Oct 12 '16 20:10 heedoo

this error (" null is not an object (evaluating 'navBarTransition.run') ") still occurs, ionic 1.3.2 , and the line mentioned by @okonon on Jan 24 2016 is still there (line 9278 in ionic-angular.js). Anyone from ionic care to respond?

Zvika88 avatar Feb 02 '17 22:02 Zvika88

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

ionitron-bot[bot] avatar Sep 04 '18 08:09 ionitron-bot[bot]