Geert,

Using the 1.6M1-snapshot-jdk15 version RIFE no longer breaks, but it doesn't replace the class either.
Reloading of modified templates still works.

Best regards,
Erik

On Jul 20, 2006, at 12:12 AM, Geert Bevin wrote:

Hi Erik,

thanks for reporting this. I investigated and it's indeed a bug related to the Java site declaration and the dynamic reloading. I fixed the bug and you can download the update snapshot in a few hours from: http://rifers.org/downloads/rife/snapshots/

Please test if the fixed version solves the problem for you.

Best regards,

Geert

On 19 Jul 2006, at 20:10, Erik Bogghed wrote:


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


--
Geert Bevin
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com


_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to