[Building Sakai] T&Q -- multiple choice question always scores zero?
will at serensoft.com
will at serensoft.com
Tue Jan 26 09:28:26 PST 2010
Short version:
One multiple-choice question on a quiz always scores zero. Even with
the right answer chosen. :(
We have a quiz on 2.6.x that's multiple-choice on each question, where
each question gets X points. On one question, the correct answer is
"C" (out of A, B, C, D, E) and it's always scored ZERO (0.0) whether
option C is chosen by the student or not. So nobody is scoring 100% on
this quiz even if they should.
Ideas?
Long version:
I could send screen-snaps if that'd be helpful. What would cause this,
and how to find it / fix it?
Addendum:
As a diagnostic aid, we tried to export/import this quiz but ran into
trouble here as well. This is *not* the main issue, but here goes:
- export as QTI v1.2 (in firefox)
- tried save-as, got html-wrapper with the XML inside
- tried view-source then save-as, same problem
- did view-source, select all, copy and paste into wordpad
- upon import, we see an error box in the web page:
There was an error importing this assessment. Ensure that the file
is correctly formatted IMS QTI. Error
details:org.sakaiproject.tool.assessment.services.qti.QTIServiceException:
java.lang.NullPointerException
This may be due to cut-and-paste vs. utf-8 encoding.
Snippets from the log -- are these pertinent?
2010-01-26 11:47:34,773 WARN http-80-Processor23
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer - Unable to find
component with ID 'name' in view.
2010-01-26 11:47:34,773 WARN http-80-Processor23
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer - Unable to find
component with ID 'description' in view.
2010-01-26 11:48:15,039 WARN http-80-Processor63
org.sakaiproject.util.ResourceLoader - bundle
'org.sakaiproject.tool.assessment.bundle.SamLite' missing key:
'correct' from:
org.sakaiproject.util.ResourceLoader.get(ResourceLoader.java:132)
2010-01-26 11:48:15,039 WARN http-80-Processor63
org.sakaiproject.util.ResourceLoader - bundle
'org.sakaiproject.tool.assessment.bundle.SamLite' missing key:
'correct' from:
org.sakaiproject.util.ResourceLoader.get(ResourceLoader.java:132)
2010-01-26 11:48:15,039 WARN http-80-Processor63
org.sakaiproject.util.ResourceLoader - bundle
'org.sakaiproject.tool.assessment.bundle.SamLite' missing key:
'not_correct' from:
org.sakaiproject.util.ResourceLoader.get(ResourceLoader.java:132)
2010-01-26 11:48:15,039 WARN http-80-Processor63
org.sakaiproject.util.ResourceLoader - bundle
'org.sakaiproject.tool.assessment.bundle.SamLite' missing key:
'not_correct' from:
org.sakaiproject.util.ResourceLoader.get(ResourceLoader.java:132)
2010-01-26 11:48:15,039 WARN http-80-Processor63
org.sakaiproject.util.ResourceLoader - bundle
'org.sakaiproject.tool.assessment.bundle.SamLite' missing key:
'not_correct' from:
org.sakaiproject.util.ResourceLoader.get(ResourceLoader.java:132)
2010-01-26 11:48:15,039 WARN http-80-Processor63
org.sakaiproject.util.ResourceLoader - bundle
'org.sakaiproject.tool.assessment.bundle.SamLite' missing key:
'not_correct' from:
org.sakaiproject.util.ResourceLoader.get(ResourceLoader.java:132)
2010-01-26 11:48:15,039 WARN http-80-Processor63
org.sakaiproject.util.ResourceLoader - bundle
'org.sakaiproject.tool.assessment.bundle.SamLite' missing key:
'not_correct' from:
org.sakaiproject.util.ResourceLoader.get(ResourceLoader.java:132)
2010-01-26 11:48:15,039 WARN http-80-Processor63
org.sakaiproject.util.ResourceLoader - bundle
'org.sakaiproject.tool.assessment.bundle.SamLite' missing key:
'not_correct' from:
org.sakaiproject.util.ResourceLoader.get(ResourceLoader.java:132)
2010-01-26 11:48:21,960 WARN http-80-Processor63
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer - Unable to find
component with ID 'name' in view.
2010-01-26 11:48:21,960 WARN http-80-Processor63
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer - Unable to find
component with ID 'description' in view.
2010-01-26 11:50:15,507 INFO http-80-Processor10
org.sakaiproject.site.util.SiteSetupQuestionFileParser - exists():
cannot find resource
/group/setupQuestionsAdmin/config/questions.xmlorg.sakaiproject.exception.IdUnusedException
id=/group/setupQuestionsAdmin/config/questions.xml
2010-01-26 12:01:20,210 INFO http-80-Processor10
org.sakaiproject.tool.assessment.ui.listener.author.ExportAssessmentListener
- ExportAssessmentListener assessmentId=96
2010-01-26 12:01:38,664 INFO http-80-Processor23
org.sakaiproject.tool.assessment.ui.listener.author.ExportAssessmentListener
- ExportAssessmentListener assessmentId=96
2010-01-26 12:01:39,617 INFO http-80-Processor23
org.sakaiproject.tool.assessment.qti.util.XmlStringBuffer - UPDATING
MORE THAN ONE ELEMENT
2010-01-26 12:01:39,679 INFO http-80-Processor23
org.sakaiproject.tool.assessment.qti.util.XmlStringBuffer - UPDATING
MORE THAN ONE ELEMENT
2010-01-26 12:01:39,726 INFO http-80-Processor23
org.sakaiproject.tool.assessment.qti.util.XmlStringBuffer - UPDATING
MORE THAN ONE ELEMENT
2010-01-26 12:01:39,789 INFO http-80-Processor23
org.sakaiproject.tool.assessment.qti.util.XmlStringBuffer - UPDATING
MORE THAN ONE ELEMENT
2010-01-26 12:01:39,835 INFO http-80-Processor23
org.sakaiproject.tool.assessment.qti.util.XmlStringBuffer - UPDATING
MORE THAN ONE ELEMENT
2010-01-26 12:01:39,882 INFO http-80-Processor23
org.sakaiproject.tool.assessment.qti.util.XmlStringBuffer - UPDATING
MORE THAN ONE ELEMENT
2010-01-26 12:01:39,929 INFO http-80-Processor23
org.sakaiproject.tool.assessment.qti.util.XmlStringBuffer - UPDATING
MORE THAN ONE ELEMENT
2010-01-26 12:01:39,992 INFO http-80-Processor23
org.sakaiproject.tool.assessment.qti.util.XmlStringBuffer - UPDATING
MORE THAN ONE ELEMENT
2010-01-26 12:01:40,039 INFO http-80-Processor23
org.sakaiproject.tool.assessment.qti.util.XmlStringBuffer - UPDATING
MORE THAN ONE ELEMENT
2010-01-26 12:01:40,148 INFO http-80-Processor23
org.sakaiproject.tool.assessment.qti.util.XmlStringBuffer - UPDATING
MORE THAN ONE ELEMENT
2010-01-26 12:02:31,585 WARN http-80-Processor36
org.apache.tomcat.util.http.Parameters - Parameters: Invalid chunk
ignored.
2010-01-26 12:02:32,445 INFO http-80-Processor36
org.sakaiproject.tool.assessment.qti.util.XmlStringBuffer - UPDATING
MORE THAN ONE ELEMENT
2010-01-26 12:02:32,507 INFO http-80-Processor36
org.sakaiproject.tool.assessment.qti.util.XmlStringBuffer - UPDATING
MORE THAN ONE ELEMENT
2010-01-26 12:02:32,554 INFO http-80-Processor36
org.sakaiproject.tool.assessment.qti.util.XmlStringBuffer - UPDATING
MORE THAN ONE ELEMENT
2010-01-26 12:02:32,617 INFO http-80-Processor36
org.sakaiproject.tool.assessment.qti.util.XmlStringBuffer - UPDATING
MORE THAN ONE ELEMENT
2010-01-26 12:02:32,664 INFO http-80-Processor36
org.sakaiproject.tool.assessment.qti.util.XmlStringBuffer - UPDATING
MORE THAN ONE ELEMENT
2010-01-26 12:02:32,710 INFO http-80-Processor36
org.sakaiproject.tool.assessment.qti.util.XmlStringBuffer - UPDATING
MORE THAN ONE ELEMENT
2010-01-26 12:02:32,773 INFO http-80-Processor36
org.sakaiproject.tool.assessment.qti.util.XmlStringBuffer - UPDATING
MORE THAN ONE ELEMENT
2010-01-26 12:02:32,820 INFO http-80-Processor36
org.sakaiproject.tool.assessment.qti.util.XmlStringBuffer - UPDATING
MORE THAN ONE ELEMENT
2010-01-26 12:02:32,898 INFO http-80-Processor36
org.sakaiproject.tool.assessment.qti.util.XmlStringBuffer - UPDATING
MORE THAN ONE ELEMENT
2010-01-26 12:02:32,992 INFO http-80-Processor36
org.sakaiproject.tool.assessment.qti.util.XmlStringBuffer - UPDATING
MORE THAN ONE ELEMENT
--
will trillich
"The ancestor of every action is a thought" -- Ralph Waldo Emerson
More information about the sakai-dev
mailing list