|
From: Marcello H <mar...@gm...> - 2006-08-28 10:08:14
|
Just made a local change to Expression.java (line 381)
After puzzling for more than an hour on a "Objects not comparable" error.
throw new PropertyException("Objects not comparable (" + l.getClass().getName()
+ " / " + r.getClass().getName() + ")");
I don't seem to have cvs write-acces (or it doesn't work from here).
The solution is that it shows a litte more info about the var's that where
used.
(In my case, the second var was not used, so it told me:
Objects not comparable (java.lang.Integer / org.webmacro.engine.UndefinedMacro)
Which helped me a lot.
Hope that somebody will check this in (since it could save people some time
in the debugging-process).
Greetings,
Marcel
|