Ian Skinner wrote:
> Anybody have experience with something like this throwing an error.
>
> <cfqueryparam value="#createODBCDate(arguments.KCC_OCCUR_DTE)#" null="yes" cfsqltype="cf_sql_date">
>
> Creates the following error:
> java.lang.NullPointerException at coldfusion.runtime.OleDateTime.<init>(OleDateTime.java:23) at coldfusion.runtime.OleDate.<init>(OleDate.java:14) at coldfusion.runtime.CFPage.CreateODBCDate(CFPage.java:783)

Since it mentions CreateODBCDate in the trace, how about removing
that function? If arguments.KCC_OCCUR_DTE is a date object it is
not needed anyway:

<cfqueryparam value="#arguments.KCC_OCCUR_DTE#" null="yes"
cfsqltype="cf_sql_date">

Jochem
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to