any23-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ANY23-327) Wrong error messages
Date Mon, 29 Jan 2018 05:41:00 GMT

    [ https://issues.apache.org/jira/browse/ANY23-327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16342921#comment-16342921
] 

ASF GitHub Bot commented on ANY23-327:
--------------------------------------

GitHub user HansBrende opened a pull request:

    https://github.com/apache/any23/pull/62

    ANY23-327 Change log level to debug for RDFUtils.isAbsoluteIRI()

    No need to see a stack trace every time `isAbsoluteIRI` returns `false`.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/HansBrende/any23 ANY23-327

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/any23/pull/62.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #62
    
----
commit c2ddb5862b14fb1099b0d0dfc2193790ad3aa2b0
Author: Hans <firedrake93@...>
Date:   2018-01-29T05:30:54Z

    ANY23-327 Change log level to debug for RDFUtils.isAbsoluteIRI()

----


> Wrong error messages
> --------------------
>
>                 Key: ANY23-327
>                 URL: https://issues.apache.org/jira/browse/ANY23-327
>             Project: Apache Any23
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 2.2
>            Reporter: Jacek Grzebyta
>            Priority: Minor
>
> I found that parsing string values gives following error. My intention was in that case
string should be parsed into Literal value.
> {code:java}
> // 969  [main] ERROR org.apache.any23.rdf.RDFUtils  - Error processing href: M20
> java.lang.IllegalArgumentException: Not a valid (absolute) IRI: M20
>     at org.eclipse.rdf4j.model.impl.SimpleIRI.setIRIString(SimpleIRI.java:76)
>     at org.eclipse.rdf4j.model.impl.SimpleIRI.<init>(SimpleIRI.java:65)
>     at org.eclipse.rdf4j.model.impl.AbstractValueFactory.createIRI(AbstractValueFactory.java:88)
>     at org.apache.any23.rdf.RDFUtils.isAbsoluteIRI(RDFUtils.java:527)
>     at org.apache.any23.rdf.RDFUtils.makeIRI(RDFUtils.java:602)
>     at org.apache.any23.extractor.yaml.ElementsProcessor.asModel(ElementsProcessor.java:115)
>     at org.apache.any23.extractor.yaml.ElementsProcessor.lambda$processMap$0(ElementsProcessor.java:164)
>     at java.util.LinkedHashMap$LinkedKeySet.forEach(LinkedHashMap.java:559)
>     at org.apache.any23.extractor.yaml.ElementsProcessor.processMap(ElementsProcessor.java:151)
>     at org.apache.any23.extractor.yaml.ElementsProcessor.asModel(ElementsProcessor.java:113)
>     at org.apache.any23.extractor.yaml.ElementsProcessor.processList(ElementsProcessor.java:195)
>     at org.apache.any23.extractor.yaml.ElementsProcessor.asModel(ElementsProcessor.java:111)
>     at org.apache.any23.extractor.yaml.ElementsProcessor.lambda$processMap$0(ElementsProcessor.java:164)
>     at java.util.LinkedHashMap$LinkedKeySet.forEach(LinkedHashMap.java:559)
>     at org.apache.any23.extractor.yaml.ElementsProcessor.processMap(ElementsProcessor.java:151)
>     at org.apache.any23.extractor.yaml.ElementsProcessor.asModel(ElementsProcessor.java:113)
>     at org.apache.any23.extractor.yaml.ElementsProcessor.processList(ElementsProcessor.java:195)
>     at org.apache.any23.extractor.yaml.ElementsProcessor.asModel(ElementsProcessor.java:111)
>     at org.apache.any23.extractor.yaml.ElementsProcessor.lambda$processMap$0(ElementsProcessor.java:164)
>     at java.util.LinkedHashMap$LinkedKeySet.forEach(LinkedHashMap.java:559)
>     at org.apache.any23.extractor.yaml.ElementsProcessor.processMap(ElementsProcessor.java:151)
>     at org.apache.any23.extractor.yaml.ElementsProcessor.asModel(ElementsProcessor.java:113)
>     at org.apache.any23.extractor.yaml.YAMLExtractor.run(YAMLExtractor.java:77)
>     at org.apache.any23.extractor.yaml.YAMLExtractor.run(YAMLExtractor.java:40)
>     at org.apache.any23.extractor.SingleDocumentExtraction.runExtractor(SingleDocumentExtraction.java:470)
>     at org.apache.any23.extractor.SingleDocumentExtraction.run(SingleDocumentExtraction.java:258)
>     at org.apache.any23.Any23.extract(Any23.java:300)
>     at org.apache.any23.Any23.extract(Any23.java:452)
>     at org.apache.any23.cli.Rover.performExtraction(Rover.java:180)
>     at org.apache.any23.cli.Rover.run(Rover.java:213)
>     at org.apache.any23.cli.ToolRunner.execute(ToolRunner.java:136)
>     at org.apache.any23.cli.ToolRunner.main(ToolRunner.java:69)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message