dynamobi/dynamobi — Issue #607: [FRG-265] exception stack is getting repeated
Author: dynamobi-build
Created: 2011-12-30 03:38:18+00:00
State: open
Labels: FRG, JDBC Engine Driver

[reporter="elin", created="Wed, 25 Apr 2007 11:57:14 -0500 (GMT-05:00)"]
It looks like after runtime errors get converted to sql exceptions in (FarragoJdbcUtil.newSqlException) we're getting repeats. See open/farrago/unitsql/expressions/constants.ref for the example below:

> select cast('xyz' as int)+2 from (values(0));

Error: java.lang.NumberFormatException: For input string: "xyz" (state=,code=0)

Error: Could not calculate result column 1 for the following row:

[0]

Messages: java.lang.NumberFormatException: For input string: "xyz" (state=,code=0)

Error: error while fetching from cursor (state=,code=0)

Error: Failed while executing internal statement (state=,code=0)

Error: Failed while executing internal statement (state=,code=0)

Error: error while fetching from cursor (state=,code=0)

Error: Failed while executing internal statement (state=,code=0)

Error: Failed while executing internal statement (state=,code=0)

>