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

java.lang.NullPointerException when use library #12

Open
kamyar75 opened this issue Mar 26, 2020 · 1 comment
Open

java.lang.NullPointerException when use library #12

kamyar75 opened this issue Mar 26, 2020 · 1 comment

Comments

@kamyar75
Copy link

W/System.err(25430): java.lang.NullPointerException: Attempt to invoke interface method 'int java.lang.CharSequence.length()' on a null object reference
W/System.err(25430): at java.util.regex.Matcher.reset(Matcher.java:280)
W/System.err(25430): at java.util.regex.Matcher.(Matcher.java:186)
W/System.err(25430): at java.util.regex.Pattern.matcher(Pattern.java:1034)
W/System.err(25430): at com.asapjay.thumbnails.ThumbnailsPlugin.getFileName(ThumbnailsPlugin.java:176)
W/System.err(25430): at com.asapjay.thumbnails.ThumbnailsPlugin.cacheDirectory(ThumbnailsPlugin.java:70)
W/System.err(25430): at com.asapjay.thumbnails.ThumbnailsPlugin.buildThumbnail(ThumbnailsPlugin.java:64)
W/System.err(25430): at com.asapjay.thumbnails.ThumbnailsPlugin.onMethodCall(ThumbnailsPlugin.java:49)
W/System.err(25430): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:231)
W/System.err(25430): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:93)
W/System.err(25430): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:642)
W/System.err(25430): at android.os.MessageQueue.nativePollOnce(Native Method)
W/System.err(25430): at android.os.MessageQueue.next(MessageQueue.java:336)
W/System.err(25430): at android.os.Looper.loop(Looper.java:174)
W/System.err(25430): at android.app.ActivityThread.main(ActivityThread.java:7356)
W/System.err(25430): at java.lang.reflect.Method.invoke(Native Method)
W/System.err(25430): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
W/System.err(25430): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)

@marianoarga
Copy link

Same here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants