Uploaded image for project: 'Stanbol (Retired)'
  1. Stanbol (Retired)
  2. STANBOL-655

Rule adapter class loading fails during RESTful refactoring

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Pending Closed
    • 0.9.0-incubating
    • None
    • Rules
    • None

    Description

      When trying to perform stateful refactoring on a stored recipe, I get a NullPointerException caused from a ClassNotFoundException earlier in the ClerezzaAdapter code.

      Appatrently the classloader selected by Thread.currentThread().getContextClassLoader(); does not appear to work.

      curl -X POST -H "Accept: application/rdf+xml" -F input=@[ontology-filename] -F recipe=[recipeid] [refactor-endpoint]

      the recipe:


      etcware = <http://www.etcware.it/vocabulary/> .
      skos = <http://www.w3.org/2004/02/skos/core#> .
      inv1[ has(skos:broader, ?x, ?y) . has(skos:broader, ?y, ?x) -> is(etcware:InvalidConcept, ?x) . is(etcware:InvalidConcept, ?y) ]


      the ontology:


      @prefix owl: <http://www.w3.org/2002/07/owl#> .
      @prefix skos: <http://www.w3.org/2004/02/skos/core#> .
      @prefix resource: <http://dbpedia.org/resource/> .
      @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

      resource:Detroit rdf:type owl:NamedIndividual ;
      skos:broader resource:Metro_Detroit .

      resource:Metro_Detroit rdf:type owl:NamedIndividual ;
      skos:broader resource:Detroit .


      Attachments

        Activity

          People

            Unassigned Unassigned
            alessandro.adamou Alessandro Adamou
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: