Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-36792

Error creating quiz

    Details

    • Type: Bug
    • Status: RESOLVED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.0, 2.7.1
    • Fix Version/s: 2.8.0
    • Labels:
      None
    • Previous Issue Keys:
      SAM-993

      Description

      Looks like some type of conversion / validation error. T&Q 2.7 running in our 2-6-x build.

      bug?id: 7c38836a?530b?466b?8f6b?1dc20fe4e5fe
      usage?session: 0d6dc6b1?6bad?4f8b?9cb7?c651f97a7e45
      stack?trace?digest: 6233180C4B1CF749638E5EA91B4AAADC90A9D672
      sakai?version: 2.6
      service?version: [r81968?r8396]
      app?server: vula5a
      user?agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en?GB; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6
      browser?id: Win?Mozilla
      IP: 41.177.48.248
      time: 02?Sep?2010 00:20:22

      user comment:

      creating a test and quiz

      stack trace:

      org.sakaiproject.portal.api.PortalHandlerException: org.sakaiproject.tool.api.ToolException: java.lang.String cannot be cast to java.lang.Boolean
      at org.sakaiproject.portal.charon.handlers.ToolHandler.doPost(ToolHandler.java:71)
      caused by: org.sakaiproject.tool.api.ToolException: java.lang.String cannot be cast to java.lang.Boolean
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1221)
      caused by: javax.servlet.ServletException: java.lang.String cannot be cast to java.lang.Boolean
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean
      at org.sakaiproject.tool.assessment.ui.listener.author.ConfirmPublishAssessmentListener.processAction(ConfirmPublishAssessmentListener.java:179)
      at javax.faces.event.ActionEvent.processListener(ActionEvent.java:57)
      at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:649)
      at javax.faces.component.UICommand.broadcast(UICommand.java:297)
      at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
      at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
      at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
      at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:577)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:659)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:457)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:395)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:311)
      at org.sakaiproject.jsf.util.SamigoJsfTool.dispatch(SamigoJsfTool.java:301)
      at org.sakaiproject.jsf.util.JsfTool.doPost(JsfTool.java:256)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:659)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:457)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:359)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:311)
      at org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.forward(ActiveToolComponent.java:491)
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1221)
      at org.sakaiproject.portal.charon.handlers.ToolHandler.doTool(ToolHandler.java:195)
      at org.sakaiproject.portal.charon.handlers.ToolHandler.doGet(ToolHandler.java:94)
      at org.sakaiproject.portal.charon.handlers.ToolHandler.doPost(ToolHandler.java:71)
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.doPost(SkinnableCharonPortal.java:1064)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:628)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
      at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
      at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
      at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:775)
      at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:704)
      at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:897)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
      at java.lang.Thread.run(Thread.java:619)

      Tool Placement:
      No Placement

      Request:
      : AuthType:null
      : CharEncoding:UTF?8
      : ContentLength:2189
      : ContentType:application/x?www?form?urlencoded
      : ContextPath:/portal
      : LocalAddress:null
      : LocalName:vula.uct.ac.za
      : LocalPort:443
      : Method:POST
      : PathInfo:/tool/cf92f2e8?51e2?4398?ae9d?0d8449ec7382/jsf/author/authorSettings
      : Protocol:HTTP/1.1
      : QueryString:null
      : RemoteAddress:41.177.48.248
      : RemoteHost:41.177.48.248
      : RemotePort:?1
      : Requested URL:https://vula.uct.ac.za/portal/tool/cf92f2e8?51e2?4398?ae9d?0d8449ec7382/jsf/author/authorSettings
      : Scheme:https
      : ServerName:vula.uct.ac.za
      : Headers:
      : Header:host:vula.uct.ac.za
      : Header:user?agent:Mozilla/5.0 (Windows; U; Windows NT 6.1; en?GB; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6
      : Header:accept:text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
      : Header:Accept?Language:en?gb,en;q=0.5
      : Header:Accept?Encoding:gzip,deflate
      : Header:Accept?Charset:ISO?8859?1,utf?8;q=0.7,*;q=0.7
      : Header:Keep?Alive:115
      : Header:connection:keep?alive
      : Header:referer:https://vula.uct.ac.za/portal/tool/cf92f2e8?51e2?4398?ae9d?0d8449ec7382/jsf/author/authorSettings
      : Header:cookie:?censored?
      : Header:content?type:application/x?www?form?urlencoded
      : Header:content?length:2189
      : Parameters:
      : Parameter:assessmentSettingsAction:intro:_id41_textinput:0:15 questions ? 20 minutes <br />
      <br />
      Ch4 ? Internet Technologies <br />
      Ch5 ? ERP Systems <br />
      MS Access
      : Parameter:assessmentSettingsAction:password:0:
      : Parameter:assessmentSettingsAction:username:0:
      : Parameter:assessmentSettingsAction:unlimitedSubmissions:0:0
      : Parameter:assessmentSettingsAction:scoringType:0:1
      : Parameter:assessmentSettingsAction:finalPageUrl:0:
      : Parameter:assessmentSettingsAction:itemNavigation:0:2
      : Parameter:assessmentSettingsAction:endDate:0:09/03/2010 05:00:00 PM
      : Parameter:assessmentSettingsAction:anonymousGrading:0:2
      : Parameter:assessmentSettingsAction:intro:assessment_title:0:#35 MCQ: Ch4 / Ch5 / MS Access
      : Parameter:assessmentSettingsAction:intro:assessment_author:0:
      : Parameter:assessmentSettingsAction:pickColor:0:
      : Parameter:assessmentSettingsAction:feedbackAuthoring:0:3
      : Parameter:assessmentSettingsAction:feedbackDelivery:0:3
      : Parameter:assessmentSettingsAction:selTimeAssess:0:on
      : Parameter:assessmentSettingsAction:keywords:0:
      : Parameter:assessmentSettingsAction:_id115:0:
      : Parameter:assessmentSettingsAction:itemNumbering:0:2
      : Parameter:assessmentSettingsAction:intro:_id41_textinput_current_status:0:fckonly
      : Parameter:assessmentSettingsAction:_id225_textinput:0:
      : Parameter:assessmentSettingsAction:feedbackDate:0:
      : Parameter:assessmentSettingsAction:objectives:0:
      : Parameter:assessmentSettingsAction:lateHandling:0:1
      : Parameter:assessmentSettingsAction:assessmentId:0:8515
      : Parameter:assessmentSettingsAction:_id332:0:
      : Parameter:assessmentSettingsAction:submissions_Allowed:0:1
      : Parameter:assessmentSettingsAction:assessmentFormat:0:2
      : Parameter:assessmentSettingsAction:timedHours:0:0
      : Parameter:assessmentSettingsAction:_id225_textinput_current_status:0:firsttime
      : Parameter:assessmentSettingsAction:_id100:0:INF1002H,2010
      : Parameter:assessmentSettingsAction:toDefaultGradebook1:0:1
      : Parameter:assessmentSettingsAction:startDate:0:09/02/2010 08:00:00 AM
      : Parameter:assessmentSettingsAction:rubrics:0:
      : Parameter:assessmentSettingsAction:retractDate:0:09/03/2010 05:00:00 PM
      : Parameter:assessmentSettingsAction:_idcl:0:
      : Parameter:assessmentSettingsAction:0:assessmentSettingsAction
      : Parameter:assessmentSettingsAction:_id351:0:Save Settings and Publish
      : Parameter:assessmentSettingsAction:background_color:0:1
      : Parameter:assessmentSettingsAction:timedMinutes:0:20
      : Parameter:assessmentSettingsAction:blockDivs:0:_id25;intro:_id35;_id91;_id110;_id123;_id136;_id169;_id182;_id219;_id236;_id297;_id328;_id335
      : Attributes:
      : Attribute:sakai.html.head.css.skin:<link href="/library/skin/default/tool.css" type="text/css" rel="stylesheet" media="all" />

      : Attribute:sakai.html.head.js:<script type="text/javascript" language="JavaScript" src="/library/js/headscripts.js"></script>

      : Attribute:sakai.character.encoding.done:sakai.character.encoding.done
      : Attribute:tool.url.manager:org.sakaiproject.portal.util.ToolURLManagerImpl@c5f17a8
      : Attribute:sakai.html.body.onload:setMainFrameHeight('Maincf92f2e8x51e2x4398xae9dx0d8449ec7382');setFocus(focus_path);
      : Attribute:sakai.request.native.url:sakai.request.native.url
      : Attribute:sakai.html.head:<link href="/library/skin/tool_base.css" type="text/css" rel="stylesheet" media="all" />
      <link href="/library/skin/default/tool.css" type="text/css" rel="stylesheet" media="all" />
      <script type="text/javascript" language="JavaScript" src="/library/js/headscripts.js"></script>

      : Attribute:sakai.filtered:sakai.filtered
      : Attribute:sakai.html.head.css.base:<link href="/library/skin/tool_base.css" type="text/css" rel="stylesheet" media="all" />

      : Attribute:sakai.html.head.css:<link href="/library/skin/tool_base.css" type="text/css" rel="stylesheet" media="all" />
      <link href="/library/skin/default/tool.css" type="text/css" rel="stylesheet" media="all" />

      : Attribute:sakai.session:org.sakaiproject.tool.impl.SessionComponent$MySession@e8d93efd
      Session:
      : Created:1283376950020
      : LastAccess:1283379622364
      : MaxInactive:3600
      : Attributes:
      : Attribute:portalskin:defaultskin

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jthapa Jasmine Thapa (Inactive)
                Reporter:
                smarquard Stephen Marquard
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code