Hi,
I was testing dynamic reloading of classes in IDEA using the
09_stateful_counters example from rife-examples. I used
the Counter.java element. When I touched the class (saved it without
any changes) RIFE promptly recompiled it. When I
accessed the site it failed with
a"java.lang.IllegalArgumentException: object is not an instance of
declaring class".
I have located the problem to line 343 in
com.uwyn.rife.engine.OutputValues.java:
value = output_getter.getValue().invoke(mElement, (Object[])null);
When I looked at what happened during a successful run vs after a
recompile I couldn't see anything strange in the new
Counter instance (even though something is apparently). This is a bit
strange as dynamic reloading of templates works
fine. Is this a known problem regarding reflection and annotations?
Best regards,
Erik
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users