incubator-stanbol-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enrico Daga (JIRA)" <j...@apache.org>
Subject [jira] [Created] (STANBOL-132) Reengineer tests print errors (but pass...)
Date Wed, 30 Mar 2011 09:34:05 GMT
Reengineer tests print errors (but pass...)
-------------------------------------------

                 Key: STANBOL-132
                 URL: https://issues.apache.org/jira/browse/STANBOL-132
             Project: Stanbol
          Issue Type: Bug
            Reporter: Enrico Daga
            Priority: Minor


The test org.apache.stanbol.reengineer.xml.XMLReengineerTest throw lot pf exceptions, printed
in the standard output.
This should be better managed:
- removing unwanted messages (or)
- let the test fail

These are two fragments of the standard output:

10126 [main] ERROR org.apache.stanbol.ontologymanager.ontonet.impl.ontology.CustomOntologySpaceImpl
- KReS :: [NONFATAL] An error occurred while storing ontology Ontology(<http://localhost:8080/kres/ontology/xml_reengineering/core/root.owl>
[Axioms: 0] [Logical axioms: 0]) . Ontology management will be volatile!
org.apache.clerezza.rdf.core.access.EntityAlreadyExistsException: An entity with this name
already exists: <http://localhost:8080/kres/ontology/xml_reengineering/core/root.owl>
        at org.apache.clerezza.rdf.simple.storage.SimpleTcProvider.createMGraph(SimpleTcProvider.java:93)
        at org.apache.clerezza.rdf.core.access.TcProviderMultiplexer.createMGraph(TcProviderMultiplexer.java:297)
        at org.apache.clerezza.rdf.core.access.TcManager.createMGraph(TcManager.java:201)
        at org.apache.stanbol.ontologymanager.ontonet.impl.io.ClerezzaOntologyStorage.store(ClerezzaOntologyStorage.java:181)
        at org.apache.stanbol.ontologymanager.ontonet.impl.ontology.AbstractOntologySpaceImpl.performAdd(AbstractOntologySpaceImpl.java:321)
        at org.apache.stanbol.ontologymanager.ontonet.impl.ontology.AbstractOntologySpaceImpl.addOntology(AbstractOntologySpaceImpl.java:207)
        at org.apache.stanbol.ontologymanager.ontonet.impl.ontology.CustomOntologySpaceImpl.attachCoreSpace(CustomOntologySpaceImpl.java:59)
        at org.apache.stanbol.ontologymanager.ontonet.impl.ontology.OntologyScopeImpl.setCustomSpace(OntologyScopeImpl.java:258)
        at org.apache.stanbol.ontologymanager.ontonet.impl.ontology.OntologyScopeImpl.<init>(OntologyScopeImpl.java:77)
        at org.apache.stanbol.ontologymanager.ontonet.impl.ontology.OntologyScopeFactoryImpl.createOntologyScope(OntologyScopeFactoryImpl.java:61)
        at org.apache.stanbol.ontologymanager.ontonet.impl.ontology.OntologyScopeFactoryImpl.createOntologyScope(OntologyScopeFactoryImpl.java:48)
        at org.apache.stanbol.reengineer.xml.XMLExtractor.activate(XMLExtractor.java:188)
 
and

8594 [main] INFO org.apache.stanbol.reengineer.xml.XSDExtractor - SIMPLE TYPE
8594 [main] INFO org.apache.stanbol.reengineer.xml.XSDExtractor - NAME OF SIMPLE TYPE : numberValueListType
8594 [main] WARN org.apache.stanbol.reengineer.xml.XSDExtractor - PROBLEM TO GET WHITE SPACE
FROM SIMPLE TYPE DEFINITION
org.apache.xerces.impl.dv.DatatypeException: Whitespace facet value is not available for the
union simpleType 'numberValueListType'
        at org.apache.xerces.impl.dv.xs.XSSimpleTypeDecl.getWhitespace(Unknown Source)
        at org.apache.stanbol.reengineer.xml.XSDExtractor.addSimpleType(XSDExtractor.java:388)
        at org.apache.stanbol.reengineer.xml.XSDExtractor.getOntologySchema(XSDExtractor.java:624)
        at org.apache.stanbol.reengineer.xml.XMLExtractor.schemaReengineering(XMLExtractor.java:742)
        at org.apache.stanbol.reengineer.xml.XMLReengineerTest.dataReengineeringTest(XMLReengineerTest.java:59)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
        at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
        at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
        at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
        at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
        at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
        at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
        at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
        at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
        at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
        at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
        at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
        at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:146)
        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
        at $Proxy0.invoke(Unknown Source)
        at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:145)
        at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:87)
        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
---- graph NS : http://kres.iks-project.eu/reengineering/test#


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message