« Return to Thread: JESS: FYI: Confusing error message

Re: JESS: FYI: Confusing error message

by Ernest Friedman-Hill :: Rate this Message:

Reply to Author | View in Thread


On Jun 17, 2009, at 7:48 AM, Jan Willem Lokin wrote:

> Jess throws an error at me that I don't really understand. The error
> trace as attached. My code used to work earlier, but this has happened
> when I pulled up some common code from two related "...Track" classes
> into a common "Track" superclass. What confuses me most is that the
> IAE message specifically complains about '...modifiers "public"'. A
> quick Google search and some guessing led me to conclude that Jess
> requires that the superclass should have "public" rather than default
> visibility. That makes sense, but it would be nice if it said so.

Java's rules for accessibility via reflection in cases like this  
actually don't make much sense. That said, Jess understands and works  
around them to the extent possible. It sounds like you might have  
found a novel arrangement that's not being handled correctly; can you  
share the source for the base class and one of its children with me?  
(You can send it to me directly at ejfried@... ).


> ---------------------------------------------------------

Ernest Friedman-Hill
Informatics & Decision Sciences, Sandia National Laboratories
PO Box 969, MS 9012, Livermore, CA 94550
http://www.jessrules.com







--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users you@...'
in the BODY of a message to majordomo@..., NOT to the list
(use your own address!) List problems? Notify owner-jess-users@....
--------------------------------------------------------------------

 « Return to Thread: JESS: FYI: Confusing error message