Menu

#336 Improper Exception handling in SQLHelper

v2.4.*
closed-duplicate
Bug (232)
5
2014-04-20
2012-11-29
Anonymous
No

This is related to bug id 3587542. On line 406 of SQLHelper.java, the catch block attempts to catch a SQLException in the event that the column does not exist. Unfortunately this is not the behavior, instead you get an ArrayIndexOutOfBoundsException, and since this is not handled execution terminates. The simple fix is to add an additional catch block to catch an ArrayIndexOutOfBoundsException for this scenario.

Discussion

  • Jeff Jensen

    Jeff Jensen - 2014-04-20
    • status: open --> closed-duplicate
    • assigned_to: matthias g --> Jeff Jensen
     
  • Jeff Jensen

    Jeff Jensen - 2014-04-20

    Duplicate of [bugs:#335]

     

    Related

    Bugs: #335


Log in to post a comment.