hibernate error in the "My Tasks" tab

Bug #1065909 reported by Matthias Ronge
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Goobi.Production
Status tracked in 1.10
1.10
New
Undecided
Unassigned
1.8
Invalid
Critical
Unassigned

Bug Description

Hibernate crashes when I try to go to the "My Tasks" tab.

The error occurs in dubious.sub.goobi.helper.Page.getListReload(), which is impurely designed: In the first line, the result of the function call is written into a global variable "results" which might not be initialised by now, but since it is a global variable Java doesn't check for this. If the function call runs into a hibernate exception, the content of the not yet initialised variable is returned. The root cause gets lost, the only thing returning is a NullPointerException. But the root cause can be found in the debugger: "could not resolve property: proc of: de.sub.goobi.beans.Schritt"

Maybe something is wrong with the Hibernate configuration which results in the data not to be saved completely. I cannot tell which action actually led to this, but it seems that "proc" does not get saved correctly in some cases.

I attached a database dump which causes the Hibernate error described above. To reproduce this error, log in as testadmin and click "my tasks". Then, eg., check the "Show open tasks only" box to run into the error.

Revision history for this message
Matthias Ronge (matthias-ronge) wrote :
Revision history for this message
Matthias Ronge (matthias-ronge) wrote :
Revision history for this message
Henning Gerhardt (henning-gerhardt) wrote :

Can I confirm for version 1.8.x.

It works in version 1.7.3.

Something must be changed between 1.7.3 and 1.8.x.

Revision history for this message
Henning Gerhardt (henning-gerhardt) wrote :

Solution of bug #1043811 could maybe responsible for this (changes in src/org/goobi/production/flow/statistics/hibernate/FilterHelper.java is used for displaying task list).

Changed in goobi-production:
status: New → Triaged
importance: Undecided → Critical
Revision history for this message
Ralf Claussnitzer (ralf-claussnitzer-deactivatedaccount) wrote :

The bug first appears in 1.8.2. From the log, the only thing related to list view is change revision 106:
http://bazaar.launchpad.net/~slub.team/goobi-production/1.8/revision/106

Revision history for this message
Ralf Claussnitzer (ralf-claussnitzer-deactivatedaccount) wrote :

This bug is a regression introduced by bug fix #1043811.

Revision history for this message
Ralf Claussnitzer (ralf-claussnitzer-deactivatedaccount) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.