[error] java.lang.IllegalStateException: impossible to get artifacts when data has not been loaded.
See original GitHub issuePer 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:
- Created 8 years ago
- Comments:18 (7 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@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 editingproject/build.properties
tosbt.version=0.13.9
.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.