jswat CLI: No LexerException class in any jar file?

31 views
Skip to first unread message

nep...@gmail.com

unread,
Jan 16, 2014, 2:15:58 PM1/16/14
to jswat-...@googlegroups.com

Downloaded the CLI version of jswat from http://code.google.com/p/jswat/downloads/detail?name=jswat-2013.1-cli.zip

I'm attempting to use it to debug Cassandra, a NoSQL database server.  I can attach to the running process, set breakpoints and control execution flow.  So far so good!  Unfortunately I can't seem to examine data. "locals" works, but attempting to use "dump" or "elements" throws the following exception:

Exception in thread "main" java.lang.NoClassDefFoundError: com/bluemarsh/jswat/parser/lexer/LexerException
        at com.bluemarsh.jswat.console.commands.DumpCommand.perform(DumpCommand.java:71)
        at com.bluemarsh.jswat.command.DefaultCommandParser.parseInput(DefaultCommandParser.java:247)
        at com.bluemarsh.jswat.console.Main.performCommand(Main.java:251)
        at com.bluemarsh.jswat.console.Main.main(Main.java:217)
Caused by: java.lang.ClassNotFoundException: com.bluemarsh.jswat.parser.lexer.LexerException
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

And indeed com.bluemarsh.jswat.parser.lexer.LexerException appears to be nowhere in the .zip archive, or indeed any of the com.bluemarsh.jswat.parser subtree.

Any help?  Thanks in advance.

Nathan Fiedler

unread,
Jan 17, 2014, 12:13:26 PM1/17/14
to jswat-...@googlegroups.com
Sorry about that, apparently the previous release was also broken. I've removed both the old and new files from the Downloads page and uploaded the corrected archive. As you said, it was missing the lexer/parser jar file.

Thanks

n



--
You received this message because you are subscribed to the Google Groups "jswat-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jswat-discus...@googlegroups.com.
To post to this group, send email to jswat-...@googlegroups.com.
Visit this group at http://groups.google.com/group/jswat-discuss.
For more options, visit https://groups.google.com/groups/opt_out.

nep...@gmail.com

unread,
Jan 17, 2014, 3:26:29 PM1/17/14
to jswat-...@googlegroups.com

Thanks!  I guess there aren't many of us who debug java on the command line...

p.s. May as well take this opportunity to thank you (and all jswat contributors) for your work.  Having a standalone debugger, uncomplicated by integration into a sprawling IDE, has been a godsend on many occasions.  I hope the project has a long life ahead of it.

Nathan Fiedler

unread,
Jan 17, 2014, 4:06:32 PM1/17/14
to jswat-...@googlegroups.com
Thank you for your kind words. While I don't put much time into JSwat anymore, I do intend to keep it working and make releases on a somewhat regular basis. I'd be more than happy to have contributions for others, and if moving to GitHub would help facilitate that, I'd be more than happy to make that move.

Thanks

n
Reply all
Reply to author
Forward
0 new messages