What does this error message mean?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

What does this error message mean?

Donald McLean-3
I am trying to upgrade from 2.11 to 2.12 and when I go to build the most basic library in my stack, I get this error message:

Error:scalac: Error: requirement failed: package time
java.lang.IllegalArgumentException: requirement failed: package time
    at scala.reflect.internal.Types$ModuleTypeRef.<init>(Types.scala:1879)

(2.12.1, Java 1.8.0)

Could I please get some thoughts as to what that means, and what the cause might be?

Thanks,

Donald

--
You received this message because you are subscribed to the Google Groups "scala-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: What does this error message mean?

Adriaan Moors-7
My best guess is http://stackoverflow.com/questions/13856266/class-broken-error-with-joda-time-using-scala

This assert could also fail if there's a module and package of the same name (`time`), though unlikely if this was from a clean build.

If you could share more info, we'd love to make sure this is fixed in 2.12.2 (if it isn't already -- we have been making some improvements in this general area).



On Tue, Feb 21, 2017 at 8:30 AM Donald McLean <[hidden email]> wrote:
I am trying to upgrade from 2.11 to 2.12 and when I go to build the most basic library in my stack, I get this error message:

Error:scalac: Error: requirement failed: package time
java.lang.IllegalArgumentException: requirement failed: package time
    at scala.reflect.internal.Types$ModuleTypeRef.<init>(Types.scala:1879)

(2.12.1, Java 1.8.0)

Could I please get some thoughts as to what that means, and what the cause might be?

Thanks,

Donald

--
You received this message because you are subscribed to the Google Groups "scala-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "scala-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: What does this error message mean?

Donald McLean-3
Thank you Adriaan, that was very helpful.

I am setting up a new development environment from the raw sources checked out of CVS and I had forgotten to add the Joda Time and Joda Convert libraries to the module dependencies.

I would be happy to share more info, if you could please be specific as to what you are looking for. I can't share my whole project as some of the source contains sensitive proprietary information.

On Tue, Feb 21, 2017 at 2:10 PM, Adriaan Moors <[hidden email]> wrote:
My best guess is http://stackoverflow.com/questions/13856266/class-broken-error-with-joda-time-using-scala

This assert could also fail if there's a module and package of the same name (`time`), though unlikely if this was from a clean build.

If you could share more info, we'd love to make sure this is fixed in 2.12.2 (if it isn't already -- we have been making some improvements in this general area).



On Tue, Feb 21, 2017 at 8:30 AM Donald McLean <[hidden email]> wrote:
I am trying to upgrade from 2.11 to 2.12 and when I go to build the most basic library in my stack, I get this error message:

Error:scalac: Error: requirement failed: package time
java.lang.IllegalArgumentException: requirement failed: package time
    at scala.reflect.internal.Types$ModuleTypeRef.<init>(Types.scala:1879)

(2.12.1, Java 1.8.0)

Could I please get some thoughts as to what that means, and what the cause might be?

Thanks,

Donald

--
You received this message because you are subscribed to the Google Groups "scala-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.



--
Family photographs are a critical legacy for
ourselves and our descendants. Protect that
legacy with a digital backup and recovery plan.

--
You received this message because you are subscribed to the Google Groups "scala-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: What does this error message mean?

Adriaan Moors-7
Thanks! If adding the dependencies fixed your problem, we are aware of the issue and are working on improvements. 

On Tue, Feb 21, 2017 at 11:52 AM Donald McLean <[hidden email]> wrote:
Thank you Adriaan, that was very helpful.

I am setting up a new development environment from the raw sources checked out of CVS and I had forgotten to add the Joda Time and Joda Convert libraries to the module dependencies.

I would be happy to share more info, if you could please be specific as to what you are looking for. I can't share my whole project as some of the source contains sensitive proprietary information.

On Tue, Feb 21, 2017 at 2:10 PM, Adriaan Moors <[hidden email]> wrote:
My best guess is http://stackoverflow.com/questions/13856266/class-broken-error-with-joda-time-using-scala

This assert could also fail if there's a module and package of the same name (`time`), though unlikely if this was from a clean build.

If you could share more info, we'd love to make sure this is fixed in 2.12.2 (if it isn't already -- we have been making some improvements in this general area).



On Tue, Feb 21, 2017 at 8:30 AM Donald McLean <[hidden email]> wrote:
I am trying to upgrade from 2.11 to 2.12 and when I go to build the most basic library in my stack, I get this error message:

Error:scalac: Error: requirement failed: package time
java.lang.IllegalArgumentException: requirement failed: package time
    at scala.reflect.internal.Types$ModuleTypeRef.<init>(Types.scala:1879)

(2.12.1, Java 1.8.0)

Could I please get some thoughts as to what that means, and what the cause might be?

Thanks,

Donald

--
You received this message because you are subscribed to the Google Groups "scala-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.



--
Family photographs are a critical legacy for
ourselves and our descendants. Protect that
legacy with a digital backup and recovery plan.

--
You received this message because you are subscribed to the Google Groups "scala-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.