Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

file-read and read-from-string don't support extension types (e.g. tables and arrays) #39

Open
SethTisue opened this issue Dec 3, 2011 · 0 comments

Comments

@SethTisue
Copy link
Collaborator

so for example read-from-string (word table:make) results in:

java.lang.NumberFormatException: For input string: "[]"
 at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
 at java.lang.Long.parseLong(Long.java:410)
 at java.lang.Long.parseLong(Long.java:468)
 at org.nlogo.extensions.table.TableExtension.readExtensionObject(TableExtension.java:406)
 at org.nlogo.workspace.ExtensionManager.readExtensionObject(ExtensionManager.java:504)
 at org.nlogo.compiler.ConstantParser.parseConstantLiteral(ConstantParser.scala:140)

this isn't just a bug, it's a missing feature.

we may need to rethink our whole approach on serializing extension types; see also #12, #13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants