question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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: https://github.com/sbt/sbt/issues/1598

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

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:18 (7 by maintainers)

github_iconTop GitHub Comments

23reactions
eed3si9ncommented, Feb 17, 2016

@minroh I was able to reproduce this issue for the hive subproject of Spark 1.6.0. At least for this particular case, a workaround can be bumping up the sbt version to 0.13.9, by editing project/build.properties to sbt.version=0.13.9.

14reactions
dragisakcommented, Jul 29, 2016

There seems to be a regression in 0.13.12 regarding to this bug. With our project, we don’t get “impossible to get artifacts …” with 0.13.11. But with 0.13.12, we do.

Read more comments on GitHub >

github_iconTop Results From Across the Web

impossible to get artifacts when data has not been loaded for ...
I just ran into this one when I added a dependency that tries to transitively pull in slf4j-api;1.6.1 when my project already includes...
Read more >
impossible to get artifacts when data has not been loaded ...
I found when sbt complied dr-elephant, it report error : [error] (*:update) java.lang.IllegalStateException: impossible to get artifacts when ...
Read more >
[#IVY-1333] Impossible to get artifacts when data has not been ...
Impossible to get artifacts when data has not been loaded for multiple dynamic revisions. Status: Assignee: Priority: Resolution: Resolved.
Read more >
impossible to get artifacts when data has not been loaded
hey all, I'm getting the following error when trying to build a project via SBT in scala [info] :: USE VERBOSE OR DEBUG...
Read more >
Java – Apache IVY error message? : impossible to get artifacts when ...
[info] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS java.lang.IllegalStateException: impossible to get artifacts when data has not been loaded.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found