Forum Problems Installing LAMS: Recurring "Could not find the content by given ID:" errors in LAMS logs


 
You may request notification for Recurring "Could not find the content by given ID:" errors in LAMS logs.
Search: 

1: Recurring "Could not find the content by given ID:" errors in LAMS logs
01/14/10 09:09 PM
[ Reply | Forward ]
Dear LAMS-ers...

We have been noticing a number of these ERRORS appearing in our LAMS logs. They also seem to at least partially correlate with real issues for teachers having problems with presentation of content (typically - authoring content - and then finding strange or missing output after saving the activity.

ERROR org.lamsfoundation.lams.tool.assessment.service.AssessmentServiceImpl - Could not find the content by given ID:9121

The error messages were reported from a number of tools.

This is LAMS-2.3.3 installed from Windows installer.

Any assistance or clues welcome :-).

Cheers & Thanks,
Glenn.

Posted by Glenn Moloney

2: Re: Recurring "Could not find the content by given ID:" errors in LAMS logs
In response to 1 01/18/10 11:17 PM
[ Reply | Forward ]
Hi Glen,

Your right, this does occur quite often, but (at least for this case) it seem after looking at the code that this is a false positive... (Or a false negative depending on which way you want to look at it).

When you open an activity for the first time, it tries to fetch data from the database, since there is none yet it returns null... This is normal. But in some of the tools there is some silly logging that logs this as an error, where really it is normal behavior.

Thanks for bringing this to our attention, we will try to fix this for later versions of lams.

To follow progress this is the bug task

http://bugs.lamsfoundation.org/browse/LDEV-2497

Luke

Posted by Luke Foxton

Reply to first post on this page
Back to Problems Installing LAMS