Re: JESS: [EXTERNAL] Jess exception: ' ' is a list, not a string
"Friedman-Hill, Ernest" <[email protected]> Mon, 12 Mar 2012 17:48:54 +0000
| Newsgroups | gmane.comp.java.jess |
|---|---|
| Message-ID | <CB83AE59.9CF9%[email protected]> |
OK, I looked in the magic decoder file and I see a "call" being invoked inside a "bind", so that fits only the line of code below. And lo and behold, look at it: the second argument to "call", which should be the name of the function to call, is a pair of empty parentheses — i.e., a list. This line is asking Jess to to call the static method named "()" on the class named "get-next-build-tile" -- surely not what you intended. If you're just calling a deffunction by this name, then you just want (bind ?p (get-next-build-tile)) From: Hunter McMillen <[email protected]<mailto:[email protected]>> Reply-To: <[email protected]<mailto:[email protected]>> Date: Mon, 12 Mar 2012 12:16:29 -0400 To: <[email protected]<mailto:[email protected]>> Subject: Re: JESS: [EXTERNAL] Jess exception: ' ' is a list, not a string (bind ?p (call get-next-build-tile()))