-
Notifications
You must be signed in to change notification settings - Fork 269
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
github.jorgecastillo.svg.SvgPathParser.ParsePath() #22
Comments
I have same issues.I could not solve it. |
Can you2 paste some code producing this or what did you follow when this appeared? |
(I am not on computer but lets get more info). Can you print/share the value of you path (SvgPath.Bag.path)? It seems like that is NULL... |
(your replies are a bit messed since you reply on mails) Ok, so since |
Yes my path contains "\n" and "+".What do you think? |
Did you try to change the path variable from val to String? It seems like the length is somehow null and that hits the null pointer exception. |
It is already 'val path: String?' when I change it to 'path: String?',this does not refers path 'val path= SvgPath.Bag.path' |
I would indeed change |
In Kotlin language, |
Path does not comes null I checked that but I have no idea about what is the problem :( |
Kotlin... huh I am indeed rusty. Can you again paste the LogCat error and a nicely formatted example? I was on Java, but this might be issue with Kotlin calling Java? |
this is LogCat error |
So the error reads exactly what I said, but what you pasted before was |
OK few ideas (remember don't know Kotlin syntax or background so might be totally off):
|
I am new in Android Studio Development
could you please guide me how to resolve this error to find the null point of string path error in SvgPathParser class parsePath() function pathstring not found.
The text was updated successfully, but these errors were encountered: