Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JniException accessors.dart in JniAccessorWrappers.throwException in V1.3.2 #1303

Open
escamoteur opened this issue Sep 2, 2024 · 0 comments
Assignees
Labels
package:cronet_http type-enhancement A request for a change that isn't a bug

Comments

@escamoteur
Copy link

@HosseinYousefi

new JniException:

JniException: Exception in Java code called through JNI: java.lang.NullPointerException: Method is required.

java.lang.NullPointerException: Method is required.
	at j$.util.Objects.requireNonNull(SourceFile:2)
	at m.mg.setHttpMethod(:com.google.android.gms.dynamite_cronetdynamite@[email protected] (190400-0):1)
	at m.mg.setHttpMethod(:com.google.android.gms.dynamite_cronetdynamite@[email protected] (190400-0):2)
  #0      JniAccessorWrappers.throwException (package:jni/src/accessors.dart:119)
  #1      _check (package:jni/src/accessors.dart:11)
  #2      JniResultMethods.check (package:jni/src/accessors.dart:16)
  #3      JniResultMethods.objectPointer (package:jni/src/accessors.dart:54)
  #4      JniResultMethods.reference (package:jni/src/accessors.dart:59)
  #5      JniResultMethods.object (package:jni/src/accessors.dart:63)
  #6      UrlRequest_Builder.setHttpMethod (package:cronet_http/src/jni/jni_bindings.dart:3324)
  #7      CronetClient.send (package:cronet_http/src/cronet_client.dart:383)
  File "<asynchronous suspension>"
  #9      HttpFileService.get (package:flutter_cache_manager/src/web/file_service.dart:37)
  File "<asynchronous suspension>"
  #11      WebHelper._updateFile (package:flutter_cache_manager/src/web/web_helper.dart:96)
  File "<asynchronous suspension>"
  #13      WebHelper._downloadOrAddToQueue (package:flutter_cache_manager/src/web/web_helper.dart:64)
@escamoteur escamoteur added package:cronet_http type-enhancement A request for a change that isn't a bug labels Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:cronet_http type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

2 participants