Thanks. I'm trying to test Cypher out, but appearently it can't find the config file which is located here: C:\TestApps\cypher\data\configuration\config.ini
THis is the error i'm getting, any ideas?
C:\TestApps\cypher>cypher.bat
java.io.FileNotFoundException: \data\configuration\config.ini (The system cannot find the path spec
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at com.monrai.cypher.global.EngineProperties.load(EngineProperties.java:61)
at com.monrai.cypher.global.EngineProperties.loadProperties(EngineProperties.java:142)
at com.monrai.cypher.start.Cypher.main(Cypher.java:242)
log4j:ERROR Could not open [\data\configuration\NULL].
java.io.FileNotFoundException: \data\configuration\NULL (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:583)
at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:687)
at com.monrai.cypher.start.Cypher.main(Cypher.java:247)
- Starting Monrai Cypher (verson 1.2 beta)...
- Configuring logger...
- Done configuring.
- Connecting to RDF repositories...
- Done connecting.
java.lang.ClassNotFoundException: NULL
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.monrai.cypher.start.Cypher.createRepository(Cypher.java:427)
at com.monrai.cypher.start.Cypher.main(Cypher.java:263)
java.lang.ClassNotFoundException: NULL
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.monrai.cypher.start.Cypher.createRepository(Cypher.java:427)
at com.monrai.cypher.start.Cypher.main(Cypher.java:264)
java.lang.ClassNotFoundException: NULL
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.monrai.cypher.start.Cypher.createRepository(Cypher.java:427)
at com.monrai.cypher.start.Cypher.main(Cypher.java:265)
java.lang.ClassNotFoundException: NULL
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.monrai.cypher.start.Cypher.createRepository(Cypher.java:427)
at com.monrai.cypher.start.Cypher.main(Cypher.java:266)
- CYPHER_HOME set to 'C:\TestApps\cypher'
- Loading language manager...
- Done loading.
- Loading pattern index from file: \data\language\NULL\grammar\...
java.lang.NullPointerException
at com.monrai.cypher.start.CypherHelper.loadSyntax(CypherHelper.java:1502)
at com.monrai.cypher.start.CypherHelper.init(CypherHelper.java:239)
at com.monrai.cypher.start.Cypher.main(Cypher.java:299)
- Done loading 0 unique patterns.
- Done loading 0 unique morphological patterns.
- Indexing patterns...
- Done indexing.
- Creating pattern registry...
- Done creating registry.
- Initializing repository from directory: \data\repository\...
- Done initializing.
- Configuring pattern registry...
- Done configuring.
- Program startup completed in 141 ms.
- Starting text crawler...
- Cannot find cypher.output.dir: C:\TestApps\cypher\NULL
- Exiting program...
Press any key to continue . . .
Date: Mon, 28 Apr 2008 12:40:04 -0500
From: smo...@overdogg.com
To: jman...@hotmail.com; cypher-d...@googlegroups.com
Subject: Re: Question about Cypher