History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: SAK-10350
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Unassigned
Reporter: Chris Maurer
Votes: 4
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Sakai

Evaluation tool crashes when it encounters something owned by a deleted user

Created: 06-Jun-2007 10:38   Updated: 23-Oct-2008 08:49
Component/s: OSP: Other
Affects Version/s: 2.4.0, 2.4.1
Fix Version/s: 2.5.0

Time Tracking:
Not Specified

2.4.x Status: None
2.5.x Status: None
2.6.x Status: None


 Description  « Hide
Evaluation tool crashes when it encounters something owned by a deleted user...

One example:
org.sakaiproject.portal.api.PortalHandlerException: org.sakaiproject.tool.api.ToolException: Request processing failed; nested exception is org.springframework.orm.hibernate3.HibernateQueryException: could not instantiate: org.theospi.portfolio.wizard.model.EvaluationContentWrapperForWizardPage; nested exception is org.hibernate.QueryException: could not instantiate: org.theospi.portfolio.wizard.model.EvaluationContentWrapperForWizardPage
    at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:719)
caused by: org.sakaiproject.tool.api.ToolException: Request processing failed; nested exception is org.springframework.orm.hibernate3.HibernateQueryException: could not instantiate: org.theospi.portfolio.wizard.model.EvaluationContentWrapperForWizardPage; nested exception is org.hibernate.QueryException: could not instantiate: org.theospi.portfolio.wizard.model.EvaluationContentWrapperForWizardPage
    at org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1100)
caused by: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.orm.hibernate3.HibernateQueryException: could not instantiate: org.theospi.portfolio.wizard.model.EvaluationContentWrapperForWizardPage; nested exception is org.hibernate.QueryException: could not instantiate: org.theospi.portfolio.wizard.model.EvaluationContentWrapperForWizardPage
    at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:348)
caused by: org.springframework.orm.hibernate3.HibernateQueryException: could not instantiate: org.theospi.portfolio.wizard.model.EvaluationContentWrapperForWizardPage; nested exception is org.hibernate.QueryException: could not instantiate: org.theospi.portfolio.wizard.model.EvaluationContentWrapperForWizardPage
    at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:413)
caused by: org.hibernate.QueryException: could not instantiate: org.theospi.portfolio.wizard.model.EvaluationContentWrapperForWizardPage
    at org.hibernate.loader.hql.QueryLoader.getResultList(QueryLoader.java:356)
caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
caused by: java.lang.NullPointerException
    at org.theospi.portfolio.wizard.model.EvaluationContentWrapperForWizardPage.<init>(EvaluationContentWrapperForWizardPage.java:51)

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Chris Maurer - 06-Jun-2007 10:40
This used to work, as we are checking for null users. But, somewhere along the way, we started returning a valid agent with null values instead.
So, we need to check for that in all of the EvaluationContentWrapper classes.

Chris Maurer - 06-Aug-2007 11:21
r33510
Checking for a null agent id rather than just a null agent.

Filter Maintainer - 08-Aug-2008 06:02
2.5.0 QA has been completed. Unfortunately, there were not resources available to specifically test this issue. If you find this to still be a problem in the latest release (at this point 2.5.2), please reopen the JIRA and add the latest affects version.