Silk: Error loading resources

68 views
Skip to first unread message

friesen...@googlemail.com

unread,
Oct 10, 2013, 9:04:38 AM10/10/13
to silk-di...@googlegroups.com
Dear Silk group,
I get the following error during the silk execution. Any ideas of how to fix the problem. For the details plese see the attached file.

Thank you in advance.
Natalja


WARNING: Error loading resources
Throwable occurred: java.lang.UnsupportedOperationException: empty.reduceLeft
    at scala.collection.TraversableOnce$class.reduceLeft(TraversableOnce.scala:152)
    at scala.collection.immutable.Set$EmptySet$.reduceLeft(Set.scala:52)
    at scala.collection.TraversableOnce$class.reduce(TraversableOnce.scala:180)
    at scala.collection.immutable.Set$EmptySet$.reduce(Set.scala:52)
    at de.fuberlin.wiwiss.silk.plugins.metric.SoftJaccardDistance.index(SoftJaccardDistance.scala:43)
    at de.fuberlin.wiwiss.silk.linkagerule.similarity.Comparison.index(Comparison.scala:80)
    at de.fuberlin.wiwiss.silk.linkagerule.LinkageRule.index(LinkageRule.scala:55)
    at de.fuberlin.wiwiss.silk.GenerateLinksTask$$anonfun$de$fuberlin$wiwiss$silk$GenerateLinksTask$$createCaches$2.apply(GenerateLinksTask.scala:104)
    at de.fuberlin.wiwiss.silk.GenerateLinksTask$$anonfun$de$fuberlin$wiwiss$silk$GenerateLinksTask$$createCaches$2.apply(GenerateLinksTask.scala:104)
    at de.fuberlin.wiwiss.silk.cache.FileEntityCache$$anonfun$write$1.apply(FileEntityCache.scala:46)
    at de.fuberlin.wiwiss.silk.cache.FileEntityCache$$anonfun$write$1.apply(FileEntityCache.scala:43)
    at de.fuberlin.wiwiss.silk.util.sparql.SimpleEntityRetriever$EntityTraversable$$anonfun$foreach$1$$anonfun$apply$3.apply(SimpleEntityRetriever.scala:147)
    at de.fuberlin.wiwiss.silk.util.sparql.SimpleEntityRetriever$EntityTraversable$$anonfun$foreach$1.apply(SimpleEntityRetriever.scala:146)
    at de.fuberlin.wiwiss.silk.util.sparql.SimpleEntityRetriever$EntityTraversable$$anonfun$foreach$1.apply(SimpleEntityRetriever.scala:136)
    at de.fuberlin.wiwiss.silk.util.sparql.RemoteSparqlEndpoint$ResultTraversable$$anonfun$foreach$1$$anonfun$apply$mcVI$sp$1.apply(RemoteSparqlEndpoint.scala:67)

sbb_gnd.xml

Robert Isele

unread,
Oct 10, 2013, 11:10:59 AM10/10/13
to silk-di...@googlegroups.com
Hi Natalja,

the UnsupportedOperationException most likely indicates a bug. I recall that this bug has been present in Silk 2.5.3. I uploaded a recent build of Silk Single Machine that should fix this here [1].

Cheers,
Robert




--
You received this message because you are subscribed to the Google Groups "Silk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to silk-discussi...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

friesen...@googlemail.com

unread,
Oct 14, 2013, 5:30:57 AM10/14/13
to silk-di...@googlegroups.com
Thank you very much Robert,
I'll try the new version.

Best regards
Natalja

friesen...@googlemail.com

unread,
Oct 14, 2013, 9:34:07 AM10/14/13
to silk-di...@googlegroups.com


Dear Robert,
Unfortunately I get the same error with the new silk version 2.5.4. I would really appreciate any ideas or advices.

Best regards
Natalja

Robert Isele

unread,
Oct 14, 2013, 10:25:53 AM10/14/13
to silk-di...@googlegroups.com
Hi Natalja,

thank you for testing. I found the bug in the indexing function of the soft-jaccard metric. I uploaded the fixed version here:

https://dl.dropboxusercontent.com/u/13263219/silk-singlemachine-2.5.4-20131014.jar

Cheers,
Robert


--

friesen...@googlemail.com

unread,
Oct 14, 2013, 10:50:29 AM10/14/13
to silk-di...@googlegroups.com

Than you Robert for the fast answer.
I'll test the proposed version.

Best regards
Natalja

friesen...@googlemail.com

unread,
Oct 14, 2013, 11:14:51 AM10/14/13
to silk-di...@googlegroups.com

With this version it works fine.

Thank you a lot :)
Reply all
Reply to author
Forward
0 new messages