4 Replies Latest reply on Jan 12, 2009 5:33 PM by thunt

    Please Help With the Example

    thunt

      I've downloaded the example and got the sequencer to run properly. But the repository is not. Here's the error:

      Starting repositories ... Error: Error converting String to a Name: C:
      org.jboss.dna.graph.properties.ValueFormatException: Error converting String to a Name: C:
      at org.jboss.dna.graph.properties.basic.NameValueFactory.create(NameValueFactory.java:119)
      at org.jboss.dna.graph.properties.basic.NameValueFactory.create(NameValueFactory.java:57)
      at org.jboss.dna.graph.properties.basic.PathValueFactory.createSegment(PathValueFactory.java
      :529)
      at org.jboss.dna.graph.properties.basic.PathValueFactory.create(PathValueFactory.java:161)
      at org.jboss.dna.graph.properties.basic.PathValueFactory.create(PathValueFactory.java:114)
      at org.jboss.dna.graph.properties.basic.PathValueFactory.create(PathValueFactory.java:58)
      at org.jboss.dna.graph.util.GraphImporter.extractInputPathFrom(GraphImporter.java:349)
      at org.jboss.dna.graph.util.GraphImporter.importWithSequencer(GraphImporter.java:287)
      at org.jboss.dna.graph.util.GraphImporter$UriImportedContent.into(GraphImporter.java:168)
      at org.jboss.dna.graph.util.GraphImporter$ImportedContentUsingSequencer.into(GraphImporter.j
      ava:127)
      at org.jboss.example.dna.repository.RepositoryClient.startRepositories(RepositoryClient.java
      :151)
      at org.jboss.example.dna.repository.ConsoleInput$1.run(ConsoleInput.java:86)
      at java.lang.Thread.run(Unknown Source)
      Caused by: org.jboss.dna.graph.properties.NamespaceException: There is no namespace registered for t
      he prefix "C"
      at org.jboss.dna.graph.properties.basic.NameValueFactory.create(NameValueFactory.java:114)
      ... 12 more

      done.
      Shutting down repositories and services ... done.


      I also saw a similar error when I ran the unit test, but commented the call to junit in maven just to get to this step.

      Thanks for your help.