Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #7342 (closed)

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

Bug: SqlAction exceptions aren't getting logged

Reported by: jamoore Owned by: jamoore
Priority: critical Milestone: OMERO-4.4
Component: Services Version: n.a.
Keywords: n.a. Cc: jburel, cxallan, cblackburn
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2011-12-13 (4)

Description

PostgresqlSqlAction raise "potential jdbc error" in various places, but does not log the actual error. This would be a candidate for 4.3.x.

See: https://www.openmicroscopy.org/community/viewtopic.php?f=4&t=928

Change History (4)

comment:1 Changed 12 years ago by jmoore

  • Sprint set to 2011-12-13 (4)
  • Status changed from new to accepted

comment:2 Changed 12 years ago by jmoore

  • Cc cblackburn added

Note: I thought there was a ticket somewhere for a bootstrap jdbc.jar issue which I thought was the cause of this, but I can't find it now. Searching in git, the InternalException was added by Colin in 58600f7b9110c14ad3b8522d5336037419f88615. I'm going to refactor this so that it prints the real exception, but I'm a bit unsure at the moment of under what circumstances it happens, and so there are no tests.

comment:3 Changed 12 years ago by jmoore

  • Remaining Time changed from 0.25 to 0
  • Resolution set to fixed
  • Status changed from accepted to closed

Fixed locally to be pushed to sprint4-bugs.

comment:4 Changed 12 years ago by jmoore <josh@…>

(In [b5e4b43b00057d8f30b8e36ec8a28fdeda5e3b69/ome.git]) Print full exception from SqlAction (Fix #7342)

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.67736 sec.)

We're Hiring!