W3C home > Mailing lists > Public > www-isaviz@w3.org > December 2006

Re: a NumberFormatException

From: Emmanuel Pietriga <emmanuel.pietriga@inria.fr>
Date: Tue, 05 Dec 2006 13:21:39 +0100
Message-ID: <45756453.8050900@inria.fr>
To: Aliza Lila <alizalila@gmail.com>
Cc: www-isaviz@w3.org

Aliza Lila wrote:
> 
> Hi,
> 
> Using some vary basic rdf, partly copied from the W3school website, i 
> keep getting the same console errors. I installed all the latest 
> dependend packages, and configured IsaViz correctly. At least that is 
> what i think i did ;-)
> 
> One tip, for other users, i solved one problem with a dependency: it 
> involves a jena error: some ../irifactory not found error when i loaded 
> the rdf file (see below). I solved that by modding the classpath in the 
> run.bat by adding something like lib/iri.jar

Yes, that's a JAR file used by Jena since v2.4 ; it is not required when 
using Jena 2.3.


> ---- the software ---
> winxp
> IsaViz 3.0 alpha

Where did you get it from exactly ? CVS? or one of the builds on lri.fr ?

> jena 2.4 libs copied
> latest zvtm, graphviz, java etc.
> ---- end of software list ---
> 
> 
> ----- sample rdf file ------
> <?xml version="1.0"?>
> <rdf:RDF
> xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
> xmlns:cd="http://www.asite.nl/website#">
> <rdf:Description
>  rdf:about="http://www.asite.nl/website/page1">
>   <cd:artist>Bob Dylan</cd:artist>
> </rdf:Description>
> <rdf:Description
>  rdf:about="www.asite.nl/website/page2">
>   <cd:artist>Bonnie Tyler</cd:artist>
> </rdf:Description>
> </rdf:RDF>
> ---- end of sample ----

This file works fine on my local copy. Actually, the layout is kind of 
messed up (don't know why), but I don't get any parsing error.

> --- error log -----
> RDFLoader.load() java.lang.NumberFormatException: For input string: "11.02"
> Please verify your directory preferences (GraphViz/DOT might not be 
> configured properly), your default namespace and anonymous node prefix 
> declarations
> --- end of error log -----

What version of GraphViz are you using ?


-- 
Emmanuel Pietriga
INRIA Futurs - Projet In Situ    tel : +33 1 69 15 34 66
Bat 490, Université Paris-Sud    fax : +33 1 69 15 65 86
91405 ORSAY Cedex FRANCE     http://www.lri.fr/~pietriga
Received on Tuesday, 5 December 2006 12:22:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 5 December 2006 12:22:12 GMT