Apache IVY error message? : impossible to get artifacts when data has not been loaded

267 views
Skip to first unread message

BeagleGuy

unread,
May 27, 2011, 7:47:56 PM5/27/11
to simple-build-tool
hey all, I'm getting the following error when trying to build a
project via SBT in scala

[info] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
java.lang.IllegalStateException: impossible to get artifacts when data
has not been loaded. IvyNode = log4j#log4j;1.2.14

I don't see any of my projects referencing 1.2.14, nor is it in my .m2
or .ivy repositories. Not sure where to look for this one

a full error dump is here: http://pastebin.com/pM7NUhY0

thanks

Mark Harrah

unread,
May 27, 2011, 8:00:24 PM5/27/11
to simple-b...@googlegroups.com

What version of sbt are you using? It would probably help if you could provide a project definition that causes the problem.

-Mark

BeagleGuy

unread,
May 27, 2011, 10:32:32 PM5/27/11
to simple-build-tool
hi Mark, I'm using
0.7.7

I'll try and get a repro case but I'm working in a pretty big project
so not sure how long that will take since I'm not sure what's causing
it.

On May 27, 5:00 pm, Mark Harrah <dmhar...@gmail.com> wrote:
> On Fri, 27 May 2011 16:47:56 -0700 (PDT)
>

BeagleGuy

unread,
May 27, 2011, 10:35:23 PM5/27/11
to simple-build-tool
so it seems if I add this to every single subproject

class Money(info:ProjectInfo) extends ParentProject(info) {
override def ivyXML = <dependencies><dependency org="log4j"
name="log4j" rev="1.2.14"><exclude module="money"/></dependency></
dependencies>


}


it stops the error, but is there a way to do that same thing globally?
gets tedious on every project. I think I've tracked it down to
activemq-core requiring log4j 1.2.14



On May 27, 5:00 pm, Mark Harrah <dmhar...@gmail.com> wrote:
> On Fri, 27 May 2011 16:47:56 -0700 (PDT)
>

BeagleGuy

unread,
May 27, 2011, 10:37:49 PM5/27/11
to simple-build-tool
here is the project definition file:
http://pastebin.com/RgrsX17v

if I comment out that ivyXML line I get the error, if I leave it in,
everything is fine.

I get the error just by typing: update

On May 27, 5:00 pm, Mark Harrah <dmhar...@gmail.com> wrote:
> On Fri, 27 May 2011 16:47:56 -0700 (PDT)
>

Mark Harrah

unread,
May 27, 2011, 11:40:33 PM5/27/11
to simple-b...@googlegroups.com
On Fri, 27 May 2011 19:37:49 -0700 (PDT)
BeagleGuy <jim...@gmail.com> wrote:

> here is the project definition file:
> http://pastebin.com/RgrsX17v
>
> if I comment out that ivyXML line I get the error, if I leave it in,
> everything is fine.
>
> I get the error just by typing: update

Thanks for the test case. I'll take a look at it this weekend.

-Mark

BeagleGuy

unread,
May 28, 2011, 1:56:13 AM5/28/11
to simple-build-tool
hey Mark, I was able to get a repro in a local project I have. Is
there a place I could zip you up my project folder and send? Just let
me know

thanks

On May 27, 8:40 pm, Mark Harrah <dmhar...@gmail.com> wrote:
> On Fri, 27 May 2011 19:37:49 -0700 (PDT)
>

Mark Harrah

unread,
Jun 1, 2011, 3:33:30 AM6/1/11
to simple-b...@googlegroups.com
It is probably best to open a bug (on the Google Code project). I
fixed the similar-looking bug in 0.9.x, but that was a 0.9.x specific
issue. I don't have time to try again too soon, so please file a bug
so it isn't forgotten.

-Mark

> --
> You received this message because you are subscribed to the Google Groups
> "simple-build-tool" group.
> To post to this group, send email to simple-b...@googlegroups.com.
> To unsubscribe from this group, send email to
> simple-build-t...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/simple-build-tool?hl=en.
>
>

Reply all
Reply to author
Forward
0 new messages