We have added some additional logging around this stack trace to include the date that failed to parse. It will be available Monday I think. Please repost at that time with the modified stack trace so I can see the date that failed.
This occurs while parsing a cookie's expiry date. The exception is caught and logged so it shouldn't affect your app - except for the fact that it failed to parse the cookie expiry. Steve On Fri, Nov 3, 2017 at 3:46 AM, Carlos Verdier <[email protected]> wrote: > Hi > > Since yesterday's update, I'm getting the following exception, which does > not affect the app, but it's a bit annoying. > > [Network Thread] 0:1:4,24 - Exception: com.codename1.l10n.ParseException > - Invalid year value > com.codename1.l10n.ParseException: Invalid year value > at com.codename1.l10n.SimpleDateFormat.throwInvalid( > SimpleDateFormat.java:583) > at com.codename1.l10n.SimpleDateFormat.validateNumber( > SimpleDateFormat.java:571) > at com.codename1.l10n.SimpleDateFormat.parseYear( > SimpleDateFormat.java:729) > at com.codename1.l10n.SimpleDateFormat.parse(SimpleDateFormat.java:482) > at com.codename1.io.ConnectionRequest.parseCookieHeader( > ConnectionRequest.java:1029) > at com.codename1.io.ConnectionRequest.performOperation( > ConnectionRequest.java:707) > at com.codename1.io.NetworkManager$NetworkThread. > run(NetworkManager.java:282) > at com.codename1.impl.CodenameOneThread.run(CodenameOneThread.java:176) > > This is new. I wasn't getting this yesterday. There are several places in > my code where I parse dates, but as I said, they are working just fine. The > only problem is the stack trace in the output. > > > -- > You received this message because you are subscribed to the Google Groups > "CodenameOne Discussions" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > Visit this group at https://groups.google.com/ > group/codenameone-discussions. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/codenameone-discussions/bc0c0bb5-687c-4039-a99f- > eeb17be3bbfe%40googlegroups.com > <https://groups.google.com/d/msgid/codenameone-discussions/bc0c0bb5-687c-4039-a99f-eeb17be3bbfe%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Steve Hannah Software Developer Codename One http://www.codenameone.com -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/CAGOYrKW-7GqskOGBS%3DTRQ3Y67wNMoYteVB%2BSrb1qZJOjcZfv1g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
