Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#115 -v command line option causes exception

2_-_Normal
closed-fixed
Other (33)
5
2004-01-12
2004-01-11
Bill Shotts
No

Use of the "-v" command line option causes exceptions
in both version 1.21 and 1.22. Example:

[bshotts@twin4 bshotts]$ java -jar
../src/NeurosDBM.1.22.jar -v
Exception in thread "main" java.util.zip.ZipException:
No such file or directory
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)

[bshotts@twin4 bshotts]$ java -jar
../src/NeurosDBM.1.21.jar -v
An exception occured. Please check the log file.

Discussion

  • Logged In: YES
    user_id=78702

    Im not seing this problem with version 21 or 22. The first
    exception you have listed is being thrown because the jar file
    you are trying to run doesn not exist. Make sure the jar file
    exists in the directory you specified.

    Im not sure what the second error is from but NDBM is running
    and throwing an exception. Could you post the log file for
    this run.

     
  • Bill Shotts
    Bill Shotts
    2004-01-12

    Logged In: YES
    user_id=12189

    Yes, you are correct about the 1.22 version. My mistake.
    However it looks like NDBM requires the Nueros to be hooked
    up to do a "-v". I think this is a mistake.

    WARNING:16:----------------------------------------------------
    WARNING:19:NeurosDBM version 1.21
    WARNING:120:2004-01-11 20:23:37.307
    WARNING:121:Running on Linux Sun Microsystems Inc. 1.4.2
    WARNING:172:ndbm.xml file does not exist
    FATAL:218:Exception occured
    FATAL:219:java.io.IOException: Not attached to Neuros device
    at
    net.sourceforge.neurosdbm.db.Database.loadExistingDatabase(Database.java:100)
    at
    net.sourceforge.neurosdbm.db.Database.<init>(Database.java:88)
    at
    net.sourceforge.neurosdbm.TextMode.<init>(TextMode.java:70)
    at
    net.sourceforge.neurosdbm.NeurosDBM.main(NeurosDBM.java:262)

    WARNING:19:----------------------------------------------------
    WARNING:24:NeurosDBM version 1.22
    WARNING:119:2004-01-11 20:23:43.963
    WARNING:120:Running on Linux Sun Microsystems Inc. 1.4.2
    WARNING:170:ndbm.xml file does not exist
    FATAL:248:Exception occured
    FATAL:249:java.io.IOException: Not attached to Neuros device
    at
    net.sourceforge.neurosdbm.db.Database.loadExistingDatabase(Database.java:100)
    at
    net.sourceforge.neurosdbm.db.Database.<init>(Database.java:88)
    at
    net.sourceforge.neurosdbm.TextMode.<init>(TextMode.java:70)
    at
    net.sourceforge.neurosdbm.NeurosDBM.main(NeurosDBM.java:262)

     
  • Logged In: YES
    user_id=78702

    Thanks for the log. I will try to get this fixed today. I agree
    with you that the Nueros should not have to be connected
    for the -v option.

     
    • assigned_to: nobody --> carwashi
     
    • status: open --> closed
     
  • Logged In: YES
    user_id=78702

    I have checked in this fix and it will be included in the next
    version (1.23)

     
    • status: closed --> closed-fixed