Skip to content

[error] java.lang.IllegalStateException: impossible to get artifacts when data has not been loaded. #2015

@kukido

Description

@kukido

Per discussion with @jsuereth opening a ticket for sbt project.

After switching from 0.12.4 to 0.13.8 of sbt we are getting the following error in the build:

[error] impossible to get artifacts when data has not been loaded. IvyNode = org.apache.httpcomponents#httpmime;4.2.3
[trace] Stack trace suppressed: run last playful2/*:update for the full output.
[error] (playful2/*:update) java.lang.IllegalStateException: impossible to get artifacts when data has not been loaded. IvyNode = org.apache.httpcomponents#httpmime;4.2.3

overrideDependencies did not work, the only workaround found was to explicitly include httpmime:4.2.3 in the list of dependencies. sbt issues a warning as the result, but at least the build goes through.

[warn] Multiple dependencies with the same organization/name but different versions. To avoid conflict, pick one version:
[warn] * org.apache.httpcomponents:httpmime:(4.2.3, 4.3.1)

It seem that similar issue was reported here:
#1598

And discussed here:
http://stackoverflow.com/questions/16614794/illegalstateexception-impossible-to-get-artifacts-when-data-has-not-been-loaded

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions