[Jsdsi-devel] Re: [Jsdsi-users] unable to read AclEntry
Status: Pre-Alpha
Brought to you by:
sajma
From: Sean R. <sra...@ae...> - 2004-08-27 18:40:51
|
Dav Coleman wrote: >Hi, when using jsdsi.ObjInputStream I am unable to read a previously >written AclEntry, using both the jsdsi-0.5.jar and the snapshot jar. >I'm attaching a java source that shows this. > >Here's the exception: >jsdsi.sexp.SexpParseException: expected list > at jsdsi.sexp.SexpUtil.check(SexpUtil.java:109) > at jsdsi.sexp.SexpUtil.getList(SexpUtil.java:133) > at jsdsi.sexp.SexpUtil.getList(SexpUtil.java:142) > at jsdsi.sexp.SexpUtil.getNextList(SexpUtil.java:171) > at jsdsi.AclEntry.parseAclEntry(AclEntry.java:181) > at jsdsi.Obj.parseObj(Obj.java:195) > at jsdsi.Obj.parseObj(Obj.java:182) > at jsdsi.sexp.ObjInputStream.readObj(ObjInputStream.java:52) > at test.read(test.java:45) > at test.main(test.java:67) > >For convenience, here's the javac and java cmds to test. > >javac -classpath extlib/jsdsi-0.5.jar test.java > >java -classpath .:extlib/cryptix32.jar:extlib/jsdsi-0.5.jar test write test.acl >cat test.acl >java -classpath .:extlib/cryptix32.jar:extlib/jsdsi-0.5.jar test read test.acl > >Is this a bug? > > > Sure looks like from your description. Most probably because no-one has yet used Acl objects really yet. I'll try to look into it tomorrow afternoon and hopefully get a fix into CVS. Sean -- Dr. Sean Radford, MBBS, MSc sra...@ae... http://www.aegeus-technology.com/ |