Tuesday, 29 April 2008

Success!

I finally solved the user-created Schema problem last night. The issue was that the MainBody field in LearnerUI was created, but not initialised until the actual simulation was started (as opposed to the main GUI). This explains why Schemas with no States worked, and why it was possible to edit Schemas while the simulation was running.

I changed the LearnerUI class to initialise the MainBody immediately, and also changed MainBody so that the initial Schemas are not added until the start of the simulation.

It's a little annoying that the problem was so simple, but it's working now anyway.

The code is (mostly) commented and a few tweaks to the "One Step" feature should be all that needs to be done.

Monday, 28 April 2008

Meeting 14

Had a meeting this morning to discuss the final report. I'm aiming to have it completed by this time next week so that it could be handed in as is, or tweaked based on Frank's advice.

This is the last meeting before the software submission deadline on Friday. It's a soft deadline, so I don't have to hand anything in, but I want to get the code finished and concentrate on the report.

Also, I've tracked the user-created Schema problem back to a null-pointer exception, most likely involving the MainBody. My early testing looks promising. There's a chance I'll get this issue fixed after all!