Just some thoughts...
if you write two classes A and B
B extends A
then compile
then put B into deployment
change B to not extend A and A to extend B, compile A
put A into deployment
Then you'll probably have your runtime circularity.
Try to delete all your class files and recompile your application from scratch.
regards
Leon
On 10/5/05, Jagadeesha T <[EMAIL PROTECTED]> wrote:
> HI Andoni,
> Thanks for the reply, It uses association that too unidirectional, I
> have seen the option in sun forum as have you explained to me. I tried to
> compile classes like this for just to get that error. This scenario won't
> compile, It gave me a error saying "cycling inheritence".
> Do you know any other scenarios which could cause this problem.
>
> Thanks,
> Jagadish
>
> Andoni <[EMAIL PROTECTED]> wrote:
> Hi Jagadish,
>
> Do you have a drawing of all your inheritance relationships? This error seems
> to be caused by a circular inheritance relationship i.e.:
>
> class ClassOne extends ClassTwo {
> ...
> }
>
> class ClassTwo extends ClassOne {
> ...
> }
>
> Obviously there could be many more than two classes involved so it may be
> best to draw out the class tree. Specially if it is complicated.
>
> Hope that helps.
>
> Andoni.
>
> ----- Original Message -----
> From: Jagadeesha T
> To: [email protected]
> Sent: Wednesday, October 05, 2005 9:01 AM
> Subject: java.lang.ClassCircularityError
>
>
> Hi all,
> I am using Tomcat 5.0 with JBoss 3.2.6. In a very rare cases I got the error
> as
> java.lang.ClassCircularityError(myclass). Does anybody know wahy this error
> is coming.
>
> Thanks,
> Jagadish
>
>
> ---------------------------------
> Yahoo! for Good
> Click here to donate to the Hurricane Katrina relief effort.
>
>
> ---------------------------------
> Yahoo! for Good
> Click here to donate to the Hurricane Katrina relief effort.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]