Tap-Payments / gosellSDK-Flutter

Flutter plugin for goSellSDK
MIT License
10 stars 26 forks source link

java.lang.NullPointerException error #12

Closed sarimk80 closed 4 years ago

sarimk80 commented 4 years ago

E/MethodChannel#go_sell_sdk_flutter(22822): Failed to handle method call E/MethodChannel#go_sell_sdk_flutter(22822): java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Object.toString()' on a null object reference E/MethodChannel#go_sell_sdk_flutter(22822): at tap.company.go_sell_sdk_flutter.GoSellSdKDelegate.configureSDKSession(GoSellSdKDelegate.java:271) E/MethodChannel#go_sell_sdk_flutter(22822): at tap.company.go_sell_sdk_flutter.GoSellSdKDelegate.showSDK(GoSellSdKDelegate.java:99) E/MethodChannel#go_sell_sdk_flutter(22822): at tap.company.go_sell_sdk_flutter.GoSellSdKDelegate.startSDK(GoSellSdKDelegate.java:60) E/MethodChannel#go_sell_sdk_flutter(22822): at tap.company.go_sell_sdk_flutter.GoSellSdkFlutterPlugin.onMethodCall(GoSellSdkFlutterPlugin.java:298) E/MethodChannel#go_sell_sdk_flutter(22822): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:230) E/MethodChannel#go_sell_sdk_flutter(22822): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85) E/MethodChannel#go_sell_sdk_flutter(22822): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:692) E/MethodChannel#go_sell_sdk_flutter(22822): at android.os.MessageQueue.nativePollOnce(Native Method) E/MethodChannel#go_sell_sdk_flutter(22822): at android.os.MessageQueue.next(MessageQueue.java:326) E/MethodChannel#go_sell_sdk_flutter(22822): at android.os.Looper.loop(Looper.java:160) E/MethodChannel#go_sell_sdk_flutter(22822): at android.app.ActivityThread.main(ActivityThread.java:6669) E/MethodChannel#go_sell_sdk_flutter(22822): at java.lang.reflect.Method.invoke(Native Method) E/MethodChannel#go_sell_sdk_flutter(22822): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) E/MethodChannel#go_sell_sdk_flutter(22822): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858) I/flutter (22822): already in use error I/flutter (22822): error PlatformException(error, Attempt to invoke virtual method 'java.lang.String java.lang.Object.toString()' on a null object reference, null)

Flutter version 1.20.1 Dart version 2.9.0 go_sell_sdk_flutter: ^1.3.0

Hi, thanks for this great SDK but after updating my flutter version I am getting this error.