dynamobi/dynamobi — Issue #187: [LDB-134] org.codehaus.janino.util.TunnelException with adding the RETURNS NULL ON NULL INPUT clause
Author: dynamobi-build
Created: 2011-12-30 02:20:01+00:00
State: open
Labels: Applib, LDB

[reporter="schoi", created="Fri, 1 Sep 2006 13:47:34 -0500 (GMT-05:00)"]
Error: org.codehaus.janino.util.TunnelException: org.codehaus.janino.util.TunnelException: File /home/schoi/open/luciddb/./classes/net/sf/farrago/dynamic/stmt32141/ExecutableStmt.java, Line 88, Column 54: "void" has no field "isNull" (state=,code=0)

-- repro:

set schema 'applib';

set path 'applib';

create function applib.day_number_overall2(dt Date)

returns integer

language java

specific DAYNUMBEROVERALL_DATE2

no sql

returns null on null input

external name 'applib.applibJar:com.lucidera.luciddb.applib.datetime.DayNumberOverallUdf.execute';

create function applib.day_from_julian_start2(dt Date)

returns integer

language sql

contains sql

returns null on null input

return (

applib.day_number_overall2(dt) + 2440588

);

values APPLIB.DAY_FROM_JULIAN_START2 (cast (null as date));