Uploaded image for project: 'Stanbol'
  1. Stanbol
  2. STANBOL-1408

EntityHub Generic RDF Indexer not working because of jena-tdb dependency problem

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.0.0
    • Component/s: Entityhub
    • Labels:

      Description

      After building the generic rdf indexer, when you run the shaded jar for indexing a dataset, the following exception is raised:

      Exception in thread "Thread-1" java.lang.NoSuchMethodError: com.hp.hpl.jena.tdb.solver.stats.Stats.write(Ljava/lang/String;Lcom/hp/hpl/jena/tdb/solver/stats/StatsCollector;)V
      at org.apache.stanbol.entityhub.indexing.source.jenatdb.DestinationTripleGraph.finishBulk(DestinationTripleGraph.java:132)
      at org.apache.stanbol.entityhub.indexing.source.jenatdb.RdfResourceImporter.importResource(RdfResourceImporter.java:73)
      at org.apache.stanbol.entityhub.indexing.core.source.ResourceLoader.loadResource(ResourceLoader.java:217)
      at org.apache.stanbol.entityhub.indexing.core.source.ResourceLoader.loadResources(ResourceLoader.java:153)
      at org.apache.stanbol.entityhub.indexing.source.jenatdb.RdfIndexingSource.initialise(RdfIndexingSource.java:340)
      at org.apache.stanbol.entityhub.indexing.core.impl.IndexingSourceInitialiser.run(IndexingSourceInitialiser.java:43)
      at java.lang.Thread.run(Thread.java:745)

      The exception is produced because of a bad jena-tdb dependency inherited from the parent 6-SNAPSHOT. Specifically, jena-tdb version 1.0.1 is being included in the shaded jar when 0.10.0 is needed

        Attachments

          Activity

            People

            • Assignee:
              rafaharo Rafa Haro
              Reporter:
              rafaharo Rafa Haro
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: