The way OTrunk-MW saves learner data is by creating corresponding 
OTQuestion objects for the MW objects on the page.

These OTQuestion objects get created when the MW page is loaded.  In 
order to aggregate the student work the same OTQuestion should have the 
same id when it is it used by any student.  This is why you are seeing 
the "preserveUUID" exception.  After creating the OTQuestion the 
OTrunkMW view is telling it to write out its UUID.  If this is done at 
learner time instead of author time, the OTQuestion won't have a UUID.   
So...

What should have happened is you should have opened the MW page when you 
are in author mode.  Then you should see those exceptions.

I would guess this activity was created with the POTrunk converter, and 
never opened with the POTrunk author tool.
If you open it with the POTrunk author tool and go to each of the MW 
steps that should be enough to create the OTQuestion for MW.   Probably 
the converter can be updated to do this automatically.

However, this doesn't explain why learner data wasn't saved.  Even if 
the above stuff isn't setup correctly it should still the learner data, 
but you won't be able to easily make a report on it.

Perhaps we can use this as a learner exercise as we work with the 
Toronto gang today.

Scott
 

Geoffrey Kwan wrote:
> Jennie has text boxes and model snapshots in her MW steps but they 
> don't seem to save student data.
>
> Here is how to reproduce the problem.
>
> 1. Go here http://128.32.157.151:8080/webapp/
> 2. Log in as cr11/wise or cr12/wise
> 3. Click "Run Project"
> 4. Do some work in the MW steps
>     Act 2 Step 5
>     Act 2 Step 13
>     Act 3 Step 5
>     Act 3 Step 9
> 5. Close the project
> 6. Refresh the log in page
> 7. Click "Run Project" again
> 8. Navigate to the MW steps again and your student data will be gone.
>
>
> I also get these exceptions when I navigate to the MW steps.
>
> java.lang.NullPointerException
>     at 
> org.concord.otrunk.script.ui.OTScriptObjectView.getComponent(OTScriptObjectView.java:54)
>     at 
> org.concord.otrunk.view.OTJComponentServiceImpl.getComponent(OTJComponentServiceImpl.java:61)
>     at 
> org.concord.otrunk.view.OTViewContainerPanel.createJComponent(OTViewContainerPanel.java:375)
>     at 
> org.concord.otrunk.view.OTViewContainerPanel$CreateComponentTask.run(OTViewContainerPanel.java:475)
>     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
>     at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
>     at 
> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
>     at 
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
>     at 
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
>     at 
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
>     at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
> java.lang.IllegalArgumentException: object does not have a UUID 
> org.concord.otrunk.ui.question.OTQuestion#%transient:[EMAIL PROTECTED]
>     at 
> org.concord.otrunk.OTObjectServiceImpl.preserveUUID(OTObjectServiceImpl.java:436)
>     at 
> org.concord.otrunkmw.OTModelerPageView.convertImageQuestion(OTModelerPageView.java:394)
>     at 
> org.concord.otrunkmw.OTModelerPageView.updateMWQuestions(OTModelerPageView.java:448)
>     at 
> org.concord.otrunkmw.OTModelerPageView.pageUpdate(OTModelerPageView.java:430)
>     at org.concord.modeler.text.Page$5.run(Page.java:794)
>     at org.concord.modeler.text.Page.notifyPageListeners(Page.java:799)
>     at org.concord.modeler.text.Page$22.run(Page.java:2576)
>     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
>     at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
>     at 
> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
>     at 
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
>     at 
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
>     at 
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
>
> Do you guys know what is wrong and how we can fix it?
>
> Thanks,
> Geoff
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SAIL-Dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/SAIL-Dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to