ToonTalk / modelling4all

Automatically exported from code.google.com/p/modelling4all
0 stars 0 forks source link

Cycle in micro-behaviour to macro-behaviour causes infinite recursion #940

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
From the logs of version 647.

Nothing obvious in
http://m.modelling4all.org/m/index.html?share=XTMFTKz8cMHQqFomIqug5f&user=7MeEuu
Yhe8DhBut8G8KK4_&MforAllModel=1

except maybe Contact acquaintances added, undone, added, undone, then added.

at uk.ac.lkl.server.MicroBehaviour.copy(MicroBehaviour.java:299)
    at uk.ac.lkl.server.MacroBehaviour.copy(MacroBehaviour.java:51)
    at uk.ac.lkl.server.MicroBehaviour.copyMacroBehaviours(MicroBehaviour.java:323)
    at uk.ac.lkl.server.MicroBehaviour.copy(MicroBehaviour.java:309)
    at uk.ac.lkl.server.MacroBehaviour.copy(MacroBehaviour.java:51)
    at uk.ac.lkl.server.MicroBehaviour.copyMacroBehaviours(MicroBehaviour.java:323)
    at uk.ac.lkl.server.MicroBehaviour.copy(MicroBehaviour.java:309)
    at uk.ac.lkl.server.MacroBehaviour.copy(MacroBehaviour.java:51)
    at uk.ac.lkl.server.MicroBehaviour.copyMacroBehaviours(MicroBehaviour.java:323)
    at uk.ac.lkl.server.MicroBehaviour.copy(MicroBehaviour.java:309)
    at uk.ac.lkl.server.MacroBehaviour.copy(MacroBehaviour.java:51)

Original issue reported on code.google.com by ToonT...@gmail.com on 22 Feb 2014 at 8:14

GoogleCodeExporter commented 9 years ago
An earlier log entry has this loop for the same user:

at 
uk.ac.lkl.client.composer.MicroBehaviourSharedState.$setCopyMicroBehaviourWhenEx
portingURL(MicroBehaviourSharedState.java:374)
    at uk.ac.lkl.client.composer.MicroBehaviourView.$setCopyMicroBehaviourWhenExportingURL(MicroBehaviourView.java:1179)
    at uk.ac.lkl.client.composer.MicroBehaviourSharedState.$setCopyMicroBehaviourWhenExportingURL(MicroBehaviourSharedState.java:374)
    at uk.ac.lkl.client.composer.MicroBehaviourView.$setCopyMicroBehaviourWhenExportingURL(MicroBehaviourView.java:1179)
    at uk.ac.lkl.client.composer.MicroBehaviourSharedState.$setCopyMicroBehaviourWhenExportingURL(MicroBehaviourSharedState.java:374)
    at uk.ac.lkl.client.composer.MicroBehaviourView.$setCopyMicroBehaviourWhenExportingURL(MicroBehaviourView.java:1179)
    at uk.ac.lkl.client.composer.MicroBehaviourSharedState.$setCopyMicroBehaviourWhenExportingURL(MicroBehaviourSharedState.java:374)
    at uk.ac.lkl.client.composer.MicroBehaviourView.$setCopyMicroBehaviourWhenExportingURL(MicroBehaviourView.java:1179)
    at uk.ac.lkl.client.composer.MicroBehaviourSharedState.$setCopyMicroBehaviourWhenExportingURL(MicroBehaviourSharedState.java:374)
    at uk.ac.lkl.client.composer.MicroBehaviourView.$setCopyMicroBehaviourWhenExportingURL(MicroBehaviourView.java:1179)
    at uk.ac.lkl.client.composer.MicroBehaviourSharedState.$setCopyMicroBehaviourWhenExportingURL(MicroBehaviourSharedState.java:374)
    at uk.ac.lkl.client.composer.MicroBehaviourView.$setCopyMicroBehaviourWhenExportingURL(MicroBehaviourView.java:1179)
    at uk.ac.lkl.client.composer.MicroBehaviourSharedState.$setCopyMicroBehaviourWhenExportingURL(MicroBehaviourSharedState.java:374)
    at uk.ac.lkl.client.composer.MicroBehaviourView.$setCopyMicroBehaviourWhenExportingURL(MicroBehaviourView.java:1179)

Original comment by ToonT...@gmail.com on 22 Feb 2014 at 8:16