<?xml version="1.0" encoding="UTF-8" ?>


<!--  RSS generated by JIRA #108 at Fri May 24 06:05:28 CEST 2013 -->

<rss version="0.92">






<channel>
    <title>openRDF.org Issue Tracker</title>
    <link>http://www.openrdf.org/issues</link>
    <description>This file is an XML representation of an issue</description>
    <language>en</language>
    <item>
        







<title>[RIO-76] RdfParserRegistry prints error to logs when it doesn&apos;t find a built-in parser factory</title>
<link>http://www.openrdf.org/issues/browse/RIO-76</link>

    
        <description>I have only imported the rio packages that I require using Maven, however, there are errors printed for the missing packages, ie, Trig and Trix. These should be warnings or informational at most, as the package still operates properly without the missing parser factories.&lt;br/&gt;
&lt;br/&gt;
See below for a stack trace.&lt;br/&gt;
&lt;br/&gt;
ERROR (org.openrdf.rio.RDFParserRegistry:58) Failed to instantiate service&lt;br/&gt;
sun.misc.ServiceConfigurationError: org.openrdf.rio.RDFParserFactory: Provider org.openrdf.rio.trig.TriGParserFactory not found&lt;br/&gt;
	at sun.misc.Service.fail(Service.java:129)&lt;br/&gt;
	at sun.misc.Service.access$000(Service.java:111)&lt;br/&gt;
	at sun.misc.Service$LazyIterator.next(Service.java:273)&lt;br/&gt;
	at info.aduna.lang.service.ServiceRegistry.&amp;lt;init&amp;gt;(ServiceRegistry.java:42)&lt;br/&gt;
	at info.aduna.lang.service.FileFormatServiceRegistry.&amp;lt;init&amp;gt;(FileFormatServiceRegistry.java:20)&lt;br/&gt;
	at org.openrdf.rio.RDFParserRegistry.&amp;lt;init&amp;gt;(RDFParserRegistry.java:33)&lt;br/&gt;
	at org.openrdf.rio.RDFParserRegistry.getInstance(RDFParserRegistry.java:26)&lt;br/&gt;
	at org.openrdf.rio.Rio.createParser(Rio.java:167)&lt;br/&gt;
	at org.openrdf.rio.Rio.createParser(Rio.java:188)&lt;br/&gt;
	at org.openrdf.repository.base.RepositoryConnectionBase.addInputStreamOrReader(RepositoryConnectionBase.java:373)&lt;br/&gt;
	at org.openrdf.repository.base.RepositoryConnectionBase.add(RepositoryConnectionBase.java:277)&lt;br/&gt;
&lt;br/&gt;
I would prefer not to have to filter these messages, as I would like to see Sesame/Rio errors in my logs if they are legitimate.</description>
    
    
        <environment>sesame-2.4.0</environment>
    
        <key id="12260">RIO-76</key>
        <summary>RdfParserRegistry prints error to logs when it doesn&apos;t find a built-in parser factory</summary>
        <type id="1">Bug</type>
    
        <priority id="4">Minor</priority>
    
        <status id="6">Closed</status>
        
        <resolution id="2">Won&apos;t Fix</resolution>
        
    
        
        <assignee username="arjohn">Arjohn Kampman</assignee>
        
    

    
        
        <reporter username="pansell">Peter Ansell</reporter>
        
    

        
        <created>Mon, 20 Jun 2011 08:31:58 +0200 (CEST)</created>
    <updated>Fri, 24 Jun 2011 13:22:19 +0200 (CEST)</updated>

    
        
        
    

    
        
        
    

    
        
        
            
            
                
                    <component>Rio API</component>
                
            
        
    

    
    
        <due></due>
    
    
        <votes>0</votes>
    
    

    
    
        <comments>
            
            <comment author="arjohn" created="Tue, 21 Jun 2011 11:28:33 +0200 (CEST)" level="">These errors are printed because your classpath contains a file that specifies the availability of this parser. Please make sure that the file(s) called /META-INF/services/org.openrdf.rio.RDFParserFactory only specify the parsers that are available.</comment>
            
            <comment author="pansell" created="Fri, 24 Jun 2011 01:24:41 +0200 (CEST)" level="">Thanks for that knowledge! &lt;br/&gt;
&lt;br/&gt;
I went and looked at my imported files and found the file in the common-1.2.jar file that is published by &lt;a href=&quot;https://github.com/joshsh/sesametools&quot;&gt;https://github.com/joshsh/sesametools&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
I am using that package for its rdf-json parser and writer, and didn&apos;t realise that it was including other parser regitry entries that it doesn&apos;t provide. I have filed a bug with that project to remove the unnecessary files. &lt;br/&gt;
&lt;br/&gt;
It is a very neat way of publishing this information by the way!</comment>
            
        </comments>
    
    

        



        <customfields>
        
            
        </customfields>
    </item>
</channel>


</rss>  