FET Forum

FET Development => Report a Bug => Topic started by: davvidde on October 18, 2016, 01:03:31 PM

Title: Fet Crashes
Post by: davvidde on October 18, 2016, 01:03:31 PM
 Hi Liviu,

I got this crash:
Step to reproduce:
1) Generate a timetable.
2) Delete an activity 2+1+1 and replace it with 1+1+1+1
3) Set a constraint to append one of above subactivity to another already placed in timetable
4) Unlock time and room of the deleted activity (which doesn't exist)
6) Regenerate the timetable and wait Fet places the replaced activity
7 Fet Crashes

I attach log file to this post.

Davide.
Title: Re: Fet Crashes
Post by: Liviu Lalescu on October 18, 2016, 06:20:07 PM
I am sorry, I cannot reproduce. I do not understand your steps. I need more details, asap, please:

(2): It has to be the last activity? Remove the whole, or just modify the duration from 1 to 2 in the first component?

(3): What means append? Same starting time? Two activities consecutive?

(4) What does not exist? The activity? How to unlock, if the whole timetable is unlocked? When you remove an activity, FET removes all constraints relating to that activity.

(5) - This step misses.

Maybe you can send your file by email to me.

Can you make it crash on the attached file?
Title: Re: Fet Crashes
Post by: Volker Dirr on October 18, 2016, 08:02:49 PM
Doy ou use latest offical version or a custom version?
Title: Re: Fet Crashes
Post by: davvidde on October 19, 2016, 10:32:37 PM
I was using Mac version 5.30.3 but I cannot reproduce the crash with Liviu timetable and the new version 5.30.5 because it doesn't match my condition.

(2): It has to be the last activity? Remove the whole, or just modify the duration from 1 to 2 in the first component?
Remove the whole because I need to split the first subactivity from 2 to 1+1 and further bind one hour to another teacher.

(3): What means append? Same starting time? Two activities consecutive?
Two activities consecutive

(4) What does not exist? The activity? How to unlock, if the whole timetable is unlocked? When you remove an activity, FET removes all constraints relating to that activity.
No, for a strange reason two constraints for the deleted activity were not removed, so I found them and deleted but after two tries of generation FET crashed.
Title: Re: Fet Crashes
Post by: davvidde on October 19, 2016, 10:43:13 PM
Just my timetable...
Title: Re: Fet Crashes
Post by: Liviu Lalescu on October 20, 2016, 06:45:30 AM
Please give me the more detailed steps (as I wrote) to reproduce the crash on your file. Describe in terms of activities ids.