clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luigi Selmi <luigise...@gmail.com>
Subject NoConverterException
Date Fri, 22 Nov 2013 10:29:25 GMT
Hi all,

I nedd to attach a property with a literal value to a node and so I do as
in the following snippet

GraphNode node = new GraphNode(patentRef, graph);
node.addPropertyValue(SIOC.content, new PlainLiteralImpl("title and
abstract"));


Unfortunately I get the following exception

org.apache.clerezza.rdf.core.NoConvertorException: No convertor
available for type class
org.apache.clerezza.rdf.core.impl.PlainLiteralImpl
	at org.apache.clerezza.rdf.core.impl.SimpleLiteralFactory.getConverterFor(SimpleLiteralFactory.java:310)
	at org.apache.clerezza.rdf.core.impl.SimpleLiteralFactory.createTypedLiteral(SimpleLiteralFactory.java:285)
	at org.apache.clerezza.rdf.utils.GraphNode.addPropertyValue(GraphNode.java:487)
	at eu.fusepool.ecs.utils.PatentTextExtractor.addPropertyToNode(PatentTextExtractor.java:115)


I am using version 0.14-SNAPSHOT of rdf.utils artifact that contains
the classes that raise the exception. Could that depend on some error
in handling the string ?

Best

Luigi

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message