Stardog spring build fails

1 view
Skip to first unread message

Daniel Stieglitz

unread,
Jun 13, 2013, 4:30:21 PM6/13/13
to sta...@clarkparsia.com
I'm attempting to build stardog-spring and the tests fail as follows:

org.gradle.messaging.remote.internal.MessageIOException: Could not read message from '/0:0:0:0:0:0:0:1%0:57181'.
        at org.gradle.messaging.remote.internal.inet.SocketConnection.receive(SocketConnection.java:88)
        at org.gradle.messaging.remote.internal.hub.MessageHub$ConnectionReceive.run(MessageHub.java:230)
        at org.gradle.internal.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:66)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
        at java.lang.Thread.run(Thread.java:680)
Caused by: com.esotericsoftware.kryo.KryoException: Buffer underflow.
        at com.esotericsoftware.kryo.io.Input.require(Input.java:162)
        at com.esotericsoftware.kryo.io.Input.readByte(Input.java:255)
        at org.gradle.messaging.remote.internal.hub.InterHubMessageSerializer$MessageReader.read(InterHubMessageSerializer.java:64)
        at org.gradle.messaging.remote.internal.hub.InterHubMessageSerializer$MessageReader.read(InterHubMessageSerializer.java:53)
        at org.gradle.messaging.remote.internal.inet.SocketConnection.receive(SocketConnection.java:83)
        ... 5 more
:test FAILED

I'm using gradle 1.5 and stardog 1.2.3 with lib/org.springframework directories removed

Al Baker

unread,
Jun 13, 2013, 5:17:46 PM6/13/13
to sta...@clarkparsia.com
That is the Gradle build daemon exiting due to an error, please run with
"--info" or "--debug".

Possible causes are missing license file, a running Stardog instance,
undefined STARDOG_HOME environment variable, etc.

Al
> --
> -- --
> You received this message because you are subscribed to the C&P
> "Stardog" group.
> To post to this group, send email to sta...@clarkparsia.com
> To unsubscribe from this group, send email to
> stardog+u...@clarkparsia.com
> For more options, visit this group at
> http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en
>
>

Daniel Stieglitz

unread,
Jun 13, 2013, 5:24:17 PM6/13/13
to sta...@clarkparsia.com
Yes, it was the missing license. I had it in the wrong directory, thanks


--
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to

Al Baker

unread,
Jun 13, 2013, 6:04:36 PM6/13/13
to sta...@clarkparsia.com
The Stardog server, including the embedded one used within the test suite here, will exit on missing license.  This leads to the opaque message below, where Gradle's JUnit runner exists. 

We'll add a note on the docs, and put in a catch to deal with this scenario more gracefully.

Al

--
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to
--
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to
Reply all
Reply to author
Forward
0 new messages