These are always tough to run down.
I would not assume that the problem is with the column into which you are
setting the CSpDateTime.
It could be that you have another column, defined as 'date' in the DO, and
that the DO is not able to extract a datetime value from the CSpValue that
has been set into the column.
Sometimes problems like this occur when you change the db schema and fail
to update the DO. You could regenerate the DO columns to eliminate this as
a possiblity.
-- Curt Springer, Team ND
At 11:05 AM 7/7/99 -0800, Chandra Mouli wrote:
>
>Hi,
>
>I have a problem with CSpDateTime, it might be already posted. if so I am
sorry to disturb you...
>
>I have the follwing sequence
>
>CSpUpdate up = CSpider.getDataObject("")
>up.addDynamicCriterion(.....)
>up.setValue(..)
>up.setValue(..)
>up.setValue(..)
>up.setValue("xy",new CSpDateTime())
>up.executeUpdate()
>NOTE: I have checked for the data object reference, and it is not null
>I am getting an error like this
>
>
>458 Jul 07, 1999 at 08:31:13.184 Error Thread-19 CPService
CreditCard.doSelectedProductUpd:c:931345999182:w:931346007709:
> DatetimeValue: Unexpected Exception (java.lang.NullPointerException)
caught in 'doSelectedProductUpd'(a
> CreditCard.doSelectedProductUpd) [Parent: 'CreditCard'(a
CreditCard.CreditCard)].
> Top of stack: |java.lang.NullPointerException|
>
>Any help is really appreciated.
>
>_________________________________________________________________________
>
>For help in using, subscribing, and unsubscribing to the discussion
>forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
>
>For dire need help, email: [EMAIL PROTECTED]
>
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]