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

Cant parse this oddly specific string. #277

Open
mudebbela opened this issue Nov 22, 2020 · 1 comment
Open

Cant parse this oddly specific string. #277

mudebbela opened this issue Nov 22, 2020 · 1 comment

Comments

@mudebbela
Copy link

the string is : "MIGUEL JESSIE REYEZ - QUEEN NAIJA - J.I.D - MASEGO - TIERRA WHACK SUMMER WALKER KIANA LEDE - SNOH AALEGRA - RAVEENA TOBI LOU - JESS CONNELLY UMI - DAVEB IVY SOLE - PARISALEXA"

I get the error:

java.lang.NullPointerException: Attempt to invoke virtual method 'long java.util.Date.getTime()' on a null object reference at java.util.Calendar.setTime(Calendar.java:1749) at com.joestelmach.natty.WalkerState.seekToIcsEvent(WalkerState.java:570) at com.joestelmach.natty.WalkerState.seekToSeason(WalkerState.java:413) at com.joestelmach.natty.generated.DateWalker.seek(DateWalker.java:1376) at com.joestelmach.natty.generated.DateWalker.relative_date(DateWalker.java:702) at com.joestelmach.natty.generated.DateWalker.date(DateWalker.java:651) at com.joestelmach.natty.generated.DateWalker.date_time(DateWalker.java:577) at com.joestelmach.natty.generated.DateWalker.date_time_alternative(DateWalker.java:524) at com.joestelmach.natty.generated.DateWalker.parse(DateWalker.java:410) at com.joestelmach.natty.Parser.singleParse(Parser.java:206) at com.joestelmach.natty.Parser.parse(Parser.java:99) at com.example.posterparser.CreateEventActivity.parseAndAddDates(CreateEventActivity.java:209) at com.example.posterparser.CreateEventActivity.updateRadioButtons(CreateEventActivity.java:198) at com.example.posterparser.CreateEventActivity.access$200(CreateEventActivity.java:49) at com.example.posterparser.CreateEventActivity$3.onSuccess(CreateEventActivity.java:162) at com.example.posterparser.CreateEventActivity$3.onSuccess(CreateEventActivity.java:152) at com.google.android.gms.tasks.zzn.run(Unknown Source:4) at android.os.Handler.handleCallback(Handler.java:883) at android.os.Handler.dispatchMessage(Handler.java:100) at android.os.Looper.loop(Looper.java:237) at android.app.ActivityThread.main(ActivityThread.java:8125) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)

I tested it on your website as well and it showed a dialogue box simply saying "null "

@mudebbela
Copy link
Author

I ran some tests and It errors out on the word "Summer".. It also errors on Fall and Spring.. But not "Winter"

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

1 participant