google-code-export / typica

Automatically exported from code.google.com/p/typica
Apache License 2.0
1 stars 1 forks source link

sdbShell crashed when an item is queried #45

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run sdbShell, set a domain and try "item ItemWhatever"

What is the expected output? What do you see instead?
Error is:
java.util.NoSuchElementException
        at java.util.StringTokenizer.nextToken(Unknown Source)
        at sdbShell.main(sdbShell.java:211)

What version of the product are you using? On what operating system?
Version 1.1 of sdbShell (typica1.5 download) and svn checkout
The old version 1.0 works fine

Seems like the line 211
List<ItemAttribute> attrs = item.getAttributes(st.nextToken);
should be replaced by
List<ItemAttribute> attrs = item.getAttributes();

At least for me this works fine.

cheers,
Raffael

Original issue reported on code.google.com by raffael...@gmail.com on 6 Mar 2009 at 1:35

GoogleCodeExporter commented 9 years ago
I need to do another release. I've been using sdbShell with some new underlying 
changes and I think it works 
fine. I'll look at the code you mention as well.

Original comment by dkavan...@gmail.com on 10 Apr 2009 at 1:16

GoogleCodeExporter commented 9 years ago

Original comment by dkavan...@gmail.com on 10 Apr 2009 at 1:16

GoogleCodeExporter commented 9 years ago
I've uploaded a new sdbShell, which has all of the underlying version 2 signing 
code fixes.

Original comment by dkavan...@gmail.com on 7 Oct 2009 at 7:08