
| Key: |
SAK-10350
|
| Type: |
Bug
|
| Status: |
Closed
|
| Resolution: |
Fixed
|
| Priority: |
Critical
|
| Assignee: |
Unassigned
|
| Reporter: |
Chris Maurer
|
| Votes: |
4
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
Sakai
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
|
|
| 2.4.x Status: |
None
|
| 2.5.x Status: |
None
|
| 2.6.x Status: |
None
|
|
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)
|
|
Description
|
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) |
Show » |
|
So, we need to check for that in all of the EvaluationContentWrapper classes.