Hi!
If I open conexp and a file containing the string
obj1:attr1;attr3
followed by a newline
is the first file I open then the file is read _without_ error.
However, if I open some other file and _then_ try to open the attached file an exception is thrown.
I would have copied and pasted the stack trace, but the conexp interface lacks that functionality, so here are the top few lines:
java.lang.ArrayIndexOutOfBoundsException: 1
at conexp.core.SetRelation.getRelationAt(UnknownSource)
at conexp.core.Context.setRelationAt(UnknownSource)
at conexp.frontend.io.objatttlist.ObjectListContextCreator.parseContext(UnknownSource)
at conexp.frontend.io.ContextReaderAdapter.loadDocument(UnknownSource)
<lots more stuff in the conexp.frontend package>
<lots more stuff in the various javax packages>
<lots more stuff in the java.awt package>
Hi,
I corrected this bug by adding :
objcount=-1;
attrcount=-1;
at line 70 of src/conexp/frontend/io/objattrlist/ObjectListContextCreator.java