react-native-navigation icon indicating copy to clipboard operation
react-native-navigation copied to clipboard

java.lang.NullPointerException: Attempt to read from field 'com.reactnativenavigation.parse.TopBarOptions com.reactnativenavigation.parse.Options.topBar' on a null object reference

Open ZeitounCorp opened this issue 7 years ago • 6 comments

Issue Description

Fresh installation crashes on Android only with the error:

java.lang.NullPointerException: Attempt to read from field 'com.reactnativenavigation.parse.TopBarOptions com.reactnativenavigation.parse.Options.topBar' on a null object reference . 

Environment

*React Native Navigation version: 2.26.0 *React Native version: 0.59.10 *Platform(s) (iOS, Android, or both?): Android *Device info (Simulator/Device? OS version? Debug/Release?): ALL

ZeitounCorp avatar Jul 26 '19 00:07 ZeitounCorp

I'm getting the same error as in #5319 using React-native 0.59.10 && react-native-navigation ^2.26.0 If someone could help me, it would be great Thanks

ZeitounCorp avatar Jul 26 '19 00:07 ZeitounCorp

Hey @ZeitounCorp, sorry for the trouble - fixed in 2.26.1

guyca avatar Jul 26 '19 09:07 guyca

@guyca I get the error in 2.26.1 as well

Android 5.1.1, RN 0.59.10

esbenvb avatar Jul 26 '19 09:07 esbenvb

Sorry for the confusion, publishing 2.26.2 now

guyca avatar Jul 26 '19 11:07 guyca

Thanks a lot It works great with [email protected] 🎉

ZeitounCorp avatar Jul 26 '19 15:07 ZeitounCorp

Fiiiiinnallly, was driving me nuts getting this error. Thanks for the update 💯

mwq27 avatar Jul 30 '19 11:07 mwq27