What does this `RuntimeException` say?

Jason Bertsche
Senior Software Developer - NetLogo

On 3/25/2014 8:00 AM, Chris Coat wrote:
Hello Everybody,

I have a Java HashMap that I need to convert to LogoList aim to send it as a reporter.
Note : The HashMap can be empty.

I have tried many things to convert the list : ListLogoBuilder / LogoList.fromJava().... but I still have a random RuntimeException that appear to be with the argument of the reporter.
Here is my actual code :

public  static class ObjectList extends DefaultReporter
{
public Syntax getSyntax() {
return Syntax.reporterSyntax
(new int[]{}, Syntax.ListType());
}

public String getAgentClassString() { return "OTPL"; }

public synchronized Object report(Argument args[], Context context)
throws ExtensionException, LogoException {
Set<Integer> keyset = manager.getObjectInput().keySet();
return LogoList.fromJava(keyset);
}
}

Thanks if anybody can help me.
--
You received this message because you are subscribed to the Google Groups "netlogo-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups 
"netlogo-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to