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

Key: GM-151
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Beth Kirschner
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Contrib: Goal Management

Deleting a matrix throws stack trace when using Goal Management

Created: 05-Nov-2007 15:49   Updated: 23-Jul-2008 14:16
Component/s: None
Affects Version/s: 2.5.0
Fix Version/s: None

Issue Links:
Relate


 Description  « Hide
This problem was noticed when testing the proposed fix for SAK-12066 -- the following crash appears to only occur on HSQLDB (matrices can be deleted without incident on MySql and Oracle).

caused by: java.lang.NullPointerException
    at org.hsqldb.jdbc.jdbcResultSet.findColumn(null:-1)
    at org.hsqldb.jdbc.jdbcResultSet.getString(null:-1)
    at org.apache.commons.dbcp.DelegatingResultSet.getString(DelegatingResultSet.java:225)
    at org.sakaiproject.metaobj.shared.IdType.nullSafeGet(IdType.java:74)
    at org.hibernate.type.CustomType.nullSafeGet(CustomType.java:105)
    .
    .
    .
    at org.theospi.portfolio.matrix.control.DeleteScaffoldingConfirmationController.handleRequest(DeleteScaffoldingConfirmationController.java:109)


 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Beth Kirschner - 07-Nov-2007 12:24
Unable to reproduce this on http://nightly2.sakaiproject.org:8083/portal (running HSQL) nor on my own test server (running HSQL), but I am able to reproduce on http://nightly2.sakaiproject.org:8084/osp-portal/ (running HSQL) using the matrix-test.zip attached to SAK-12066.

Beth Kirschner - 23-Apr-2008 15:12
This problem only occurs when the Goal Management module is included in the build

Beth Kirschner - 29-Apr-2008 12:03
Additionally, the problem is not reproduceable with MySql --- so it seems to be a problem only with HSQL when Goal management (gmt + datapoint contrib projects) is included.

Beth Kirschner - 23-Jul-2008 14:16
I'm closing out SAK-13114 (cannot delete matrix until first use) as a duplicate, but it deleting a matrix prior to first use should be verified as part of fixing this issue.