Menu

#174 Parser Exception on 'EMAIL'

Beta (1.0)
open
None
5
2017-08-09
2017-04-20
No

I tried using the library to parse an ICS file and got a Parser error when calling 'load(filename)'. I have added the ICS text that caused the exception.

1 Attachments

Related

Bugs: #174

Discussion

  • Michael McEuin

    Michael McEuin - 2017-04-20

    Here is the exact error message:

    net.fortuna.ical4j.data.ParserException: Error at line 8:Unsupported parameter name: EMAIL

     
  • Michael McEuin

    Michael McEuin - 2017-04-25

    Hmmm...looks like I need to add 'ical4j-extensions'...However, under Android, I am not able to do this since the code (extensions) seems to have depencies compiled with Java8 (1.8). Is there any way to use 'extensions' with Java7 (1.7)?

    Thanks!

     
  • Ben Fortuna

    Ben Fortuna - 2017-04-25

    Hi Michael,

    All ical4 libraries should support java 1.7, I'll double check the compilation.

    What error are you seeing in Android?

     
    • Michael McEuin

      Michael McEuin - 2017-04-26

      I think I posted the exact message in the bug report, but essentially, it was complaining that some of the dependencies were compiled with Java8.

      Our Android project is set for 1_7. Even if I change it to Jack and 1_8, I get the same error.

      Michael

      Sent from my iPhone

      On Apr 25, 2017, at 6:00 PM, Ben Fortuna fortuna@users.sf.net wrote:

      Hi Michael,

      All ical4 libraries should support java 1.7, I'll double check the compilation.

      What error are you seeing in Android?

      [bugs:#174] Parser Exception on 'EMAIL'

      Status: open
      Group: Beta (1.0)
      Created: Thu Apr 20, 2017 08:46 PM UTC by Michael McEuin
      Last Updated: Tue Apr 25, 2017 03:08 PM UTC
      Owner: Ben Fortuna
      Attachments:

      parser_error.ics (1.4 kB; text/calendar)
      I tried using the library to parse an ICS file and got a Parser error when calling 'load(filename)'. I have added the ICS text that caused the exception.

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/ical4j/bugs/174/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #174

    • Michael McEuin

      Michael McEuin - 2017-04-26

      More info…

      To be clear, the ‘ical4j’ package works without issue on Android. It seems that the keywords in my ICS file require an ‘extension’. When I try to build with ‘ical4j-extensions’, I get the Java8 error when trying to create the APK.

      Compilation works without error, but fails on package creation.

      Thanks!

      Michael

      On Apr 25, 2017, at 6:00 PM, Ben Fortuna fortuna@users.sf.net wrote:

      Hi Michael,

      All ical4 libraries should support java 1.7, I'll double check the compilation.

      What error are you seeing in Android?

      [bugs:#174] https://sourceforge.net/p/ical4j/bugs/174/ Parser Exception on 'EMAIL'

      Status: open
      Group: Beta (1.0)
      Created: Thu Apr 20, 2017 08:46 PM UTC by Michael McEuin
      Last Updated: Tue Apr 25, 2017 03:08 PM UTC
      Owner: Ben Fortuna
      Attachments:

      parser_error.ics https://sourceforge.net/p/ical4j/bugs/174/attachment/parser_error.ics (1.4 kB; text/calendar)
      I tried using the library to parse an ICS file and got a Parser error when calling 'load(filename)'. I have added the ICS text that caused the exception.

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/ical4j/bugs/174/ https://sourceforge.net/p/ical4j/bugs/174/
      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/ https://sourceforge.net/auth/subscriptions/

       
  • Rahul Date

    Rahul Date - 2017-08-09

    I am editing my prevoius issue.

    I understood that property parameter email is not supported by ical4j.

    I used extension as described in https://github.com/ical4j/ical4j/wiki/Extensions

    But I am getting error as:

    Exception in thread "main" java.util.ServiceConfigurationError: net.fortuna.ical4j.model.ParameterFactory: Provider net.fortuna.ical4j.extensions.parameter.Email$Factory could not be instantiated

    Please help me to resolve it.

     

    Last edit: Rahul Date 2017-08-12

Log in to post a comment.