[Building Sakai] Samigo error: Error testing property 'formatByPart' in bean of type null

Lydia Li lydial at stanford.edu
Wed Oct 12 12:13:22 PDT 2011


George,

   Can you please file a JIRA to capture all the information?  We'll try 
to see if we can reproduce this.

thanks,
Lydia


On 10/12/11 10:39 AM, George Pipkin wrote:
> Hi Lydia:
>
> The latest report involves a student pl9rm who was taking the Two-D, 
> Steady-State Conduction - F 2011 quiz in Bob Ribando's MAE 
> 6110&3140-F2011 class on October 11, 2011 6:23 PM. According to the 
> student's report, the
> bug takes place when the quiz is submitted. It appears that the 
> submission took place successfully, and
> there is a score for this student in this quiz, and it looks to me 
> like all the answers he supplied are accounted for (except perhaps the 
> honor pledge - not sure how that is handled).
>
> The bug itself relates to a null value presented by the system for one 
> of the settings that pertains to whether or not the assessment is to 
> be delivered in parts, or all in one page. In the case of the quiz 
> above, it is set to be delivered all in one page. In the database, 
> this value is stored in the table SAM_PUBLISHEDACCESSCONTROL_T in the 
> column assessmentFormat - an integer {1,2,3}. There are no cases where 
> this
> column is null in the database.
>
> Looking at this particular assessment, the instructor configured it 
> "The complete Assessment is displayed on one Web page".
>
> I was able to take this particular quiz under another student's id on 
> our test system without error, so whatever is going on
> is not happening all the time.
>
>
>                                                 - George
>
>
>
>
>
> On 10/7/11 4:07 PM, Lydia Li wrote:
>> George,
>>     Do  you have the steps to reproduce this error? or do you only 
>> see this in tomcat log?  formatByPart is a property of the  
>> SettingsDeliveryBean JSF bean  
>> (sam/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/bean/delivery/SettingsDeliveryBean.java) 
>>   and it should  not be null.  It  would be helpful if you could find 
>> the steps to reproduce this error.
>>
>>
>> thanks,
>> Lydia
>>
>>
>>
>> On 10/7/11 11:35 AM, George Pipkin wrote:
>>> Hi Everybody -
>>>
>>>    We have been seeing an increasing tempo of exceptions thrown by 
>>> samigo (24 over the
>>> pas week).  The exceptions take place when somebody is taking an 
>>> assessment, but they
>>> appear to happen entirely up in JSF.  Here's a piece of a typical 
>>> log entry:
>>>
>>> 2011-10-03 11:32:13,563 ERROR TP-Processor27 
>>> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/samigo-app].[sakai.samigo] 
>>> - Servlet.service() for
>>> servlet sakai.samigo threw exception
>>> javax.faces.el.PropertyNotFoundException: Error testing property 
>>> 'formatByPart' in bean of type null
>>>         at 
>>> com.sun.faces.el.PropertyResolverImpl.getType(PropertyResolverImpl.java:342)
>>>         at 
>>> com.sun.faces.el.impl.ArraySuffix.getType(ArraySuffix.java:240)
>>>         at 
>>> com.sun.faces.el.impl.ComplexValue.getType(ComplexValue.java:208)
>>>         at 
>>> com.sun.faces.el.ValueBindingImpl.getType(ValueBindingImpl.java:345)
>>>         at 
>>> com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:111)
>>>         at 
>>> javax.faces.component.UIInput.getConvertedValue(UIInput.java:713)
>>>
>>>
>>> I'm not sure what formatByPart is.  Anybody else ever see this ?
>>>
>>>                                                     - George Pipkin
>>>                                                        U.Va.
>>
>



More information about the sakai-dev mailing list