hypedyn-team team mailing list archive
-
hypedyn-team team
-
Mailing list archive
-
Message #00126
[Bug 1022060] Re: immediately after opening a v2.1 file, deleting a node causes an exception
** Changed in: hypedyn
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of HypeDyn
Team, which is subscribed to HypeDyn.
Matching subscriptions: HypeDyn bugs
https://bugs.launchpad.net/bugs/1022060
Title:
immediately after opening a v2.1 file, deleting a node causes an
exception
Status in HypeDyn:
Fix Released
Bug description:
Immediately after opening a v2.1 file, deleting a node causes an
exception to be thrown. For example, open the v2.1 version of
LRRH4.dyn, then delete "Go directly to Grandma's house":
Exception in thread "AWT-EventQueue-0" Argument #1 '(assert 374)' to 'car' has wrong type (String) (java.lang.String cannot be cast to gnu.lists.Pair)
at kawa.lib.lists.apply1(lists.scm:31)
at gnu.expr.ModuleBody.applyN(ModuleBody.java:235)
at gnu.expr.ModuleMethod.applyN(ModuleMethod.java:216)
at gnu.expr.GenericProc.applyN(GenericProc.java:112)
at gnu.mapping.ProcedureN.apply1(ProcedureN.java:31)
at hteditor$frame4.lambda43(hteditor.scm:895)
at hteditor.apply1(hteditor.scm:892)
at gnu.expr.ModuleMethod.apply1(ModuleMethod.java:192)
at gnu.kawa.slib.srfi1.filter(srfi1.scm:1026)
at hteditor.dodelnode(hteditor.scm:899)
at hteditor$frame1.lambda35(hteditor.scm:414)
at hteditor.apply1(hteditor.scm:414)
at gnu.expr.ModuleBody.applyN(ModuleBody.java:235)
at hteditor.applyN(hteditor.scm:758)
I think the old-format actions are still in the data table, and its
trying to go through them and check for "follow link to" actions that
point to this node to delete them. When it hits an old-format action,
which is stored as a string rather than an s-expression, it chokes.
Probably should delete the old entries from the data table after doing
the conversion to v2.2.
To manage notifications about this bug go to:
https://bugs.launchpad.net/hypedyn/+bug/1022060/+subscriptions