org.apache.commons.beanutils.ConversionException SqlTimestampConverter

3 messages Options
Embed this post
Permalink
Hankb

org.apache.commons.beanutils.ConversionException SqlTimestampConverter

Reply Threaded More More options
Print post
Permalink
Hi
 
Was this ever fixed  for  appfuse and ( indirectly equinox)???
and if not, do you know an appropriate workarround ?
 
(I used appgen to gen the code for a table with a DateTime column.)
 
[paral] DEBUG [http-8080-Processor25] ConstituentAction.search(127) | Entering 'search' method
[paral] ERROR [http-8080-Processor25] ActionExceptionHandler.logException(148) | org.apache.commons.
beanutils.ConversionException: No value specified
        at org.apache.commons.beanutils.converters.SqlTimestampConverter.convert(SqlTimestampConvert
er.java:103)
        at org.apache.commons.beanutils.BeanUtilsBean.copyProperty(BeanUtilsBean.java:444)
        at org.apache.commons.beanutils.BeanUtilsBean.copyProperties(BeanUtilsBean.java:261)
        at org.apache.commons.beanutils.BeanUtils.copyProperties(BeanUtils.java:114)
        at com.lsuc.paralegal.util.ConvertUtil.convert(ConvertUtil.java:155)
        at com.lsuc.paralegal.webapp.action.BaseAction.convert(BaseAction.java:104)
        at com.lsuc.paralegal.webapp.action.ConstituentAction.search(ConstituentAction.java:131)
        at com.lsuc.paralegal.webapp.action.ConstituentAction.unspecified(ConstituentAction.java:142
 
 
 
Thanks
Hank Bozic
The Law Society of Upper Canada
130 Queen Street West
Toronto, ON M5H 2N6

Email:     [hidden email]

This communication is intended for use by the individual(s) to whom it is specifically addressed and should not be read by, or delivered to, any other person. Such communication may contain privileged or confidential information. If you have received this communication in error, please notify the sender and permanently delete the communication. Thank you for your cooperation
--------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email]
Matt Raible-3

Re: org.apache.commons.beanutils.ConversionException SqlTimestampConverter

Reply Threaded More More options
Print post
Permalink
Have you tried using a java.util.Date instead of java.sql.Date?

Matt

On 11/28/06, Hank Bozic <[hidden email]> wrote:

> Hi
>
> Was this ever fixed  for  appfuse and ( indirectly equinox)???
> and if not, do you know an appropriate workarround ?
>
> (I used appgen to gen the code for a table with a DateTime column.)
>
> [paral] DEBUG [http-8080-Processor25] ConstituentAction.search(127) |
> Entering 'search' method
> [paral] ERROR [http-8080-Processor25]
> ActionExceptionHandler.logException(148) |
> org.apache.commons.
> beanutils.ConversionException: No value specified
>         at
> org.apache.commons.beanutils.converters.SqlTimestampConverter.convert(SqlTimestampConvert
> er.java:103)
>         at
> org.apache.commons.beanutils.BeanUtilsBean.copyProperty(BeanUtilsBean.java:444)
>         at
> org.apache.commons.beanutils.BeanUtilsBean.copyProperties(BeanUtilsBean.java:261)
>         at
> org.apache.commons.beanutils.BeanUtils.copyProperties(BeanUtils.java:114)
>         at
> com.lsuc.paralegal.util.ConvertUtil.convert(ConvertUtil.java:155)
>         at
> com.lsuc.paralegal.webapp.action.BaseAction.convert(BaseAction.java:104)
>         at
> com.lsuc.paralegal.webapp.action.ConstituentAction.search(ConstituentAction.java:131)
>         at
> com.lsuc.paralegal.webapp.action.ConstituentAction.unspecified(ConstituentAction.java:142
>
>
>
> Thanks
> Hank Bozic
> The Law Society of Upper Canada
> 130 Queen Street West
> Toronto, ON M5H 2N6
>
> Email:     [hidden email]
>
> This communication is intended for use by the
> individual(s) to whom it is specifically
> addressed and should not be read by, or delivered to,
> any other person. Such communication may
> contain privileged or confidential information.
> If you have received this communication in
> error, please notify the sender and
> permanently delete the communication. Thank you
> for your cooperation
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [hidden email] For additional
> commands, e-mail: [hidden email]


--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Hankb

Re: org.apache.commons.beanutils.ConversionException SqlTimestampConverter

Reply Threaded More More options
Print post
Permalink
In reply to this post by Hankb
Some javascript/style in this post has been disabled (why?)
Hi Matt.
 
could you please explain what you mean in more detail
 
I went back to appfuse and appgen and regenereted a base appfuse application and then used appgen to generate one more Dao from a sql table and integrated it into the appfuse app. All standard stuff using the ant task in appfuse/appgen
 
The new table that I generated has an sql datatime column.
 
When i run the application(with no coding changed)  it fails in org.apache.commons.beanutils with a ConversionException. What do you recommend  that I should do to patch or fix this.  I also found  this in JIRA   APF-176  -- not sure if this is the same issue.
 
 
TIA
Hank Bozic
The Law Society of Upper Canada
130 Queen Street West
Toronto, ON M5H 2N6

Email:     [hidden email]

This communication is intended for use by the individual(s) to whom it is specifically addressed and should not be read by, or delivered to, any other person. Such communication may contain privileged or confidential information. If you have received this communication in error, please notify the sender and permanently delete the communication. Thank you for your cooperation

-----"Matt Raible" <[hidden email]> wrote: -----

To: [hidden email]
From: "Matt Raible" <[hidden email]>
Date: 11/28/2006 06:19PM
Subject: Re: [equinox-user] org.apache.commons.beanutils.ConversionException SqlTimestampConverter

Have you tried using a java.util.Date instead of java.sql.Date?

Matt

On 11/28/06, Hank Bozic <[hidden email]> wrote:

> Hi
>
> Was this ever fixed  for  appfuse and ( indirectly equinox)???
> and if not, do you know an appropriate workarround ?
>
> (I used appgen to gen the code for a table with a DateTime column.)
>
> [paral] DEBUG [http-8080-Processor25] ConstituentAction.search(127) |
> Entering 'search' method
> [paral] ERROR [http-8080-Processor25]
> ActionExceptionHandler.logException(148) |
> org.apache.commons.
> beanutils.ConversionException: No value specified
>         at
> org.apache.commons.beanutils.converters.SqlTimestampConverter.convert(SqlTimestampConvert
> er.java:103)
>         at
> org.apache.commons.beanutils.BeanUtilsBean.copyProperty(BeanUtilsBean.java:444)
>         at
> org.apache.commons.beanutils.BeanUtilsBean.copyProperties(BeanUtilsBean.java:261)
>         at
> org.apache.commons.beanutils.BeanUtils.copyProperties(BeanUtils.java:114)
>         at
> com.lsuc.paralegal.util.ConvertUtil.convert(ConvertUtil.java:155)
>         at
> com.lsuc.paralegal.webapp.action.BaseAction.convert(BaseAction.java:104)
>         at
> com.lsuc.paralegal.webapp.action.ConstituentAction.search(ConstituentAction.java:131)
>         at
> com.lsuc.paralegal.webapp.action.ConstituentAction.unspecified(ConstituentAction.java:142
>
>
>
> Thanks
> Hank Bozic
> The Law Society of Upper Canada
> 130 Queen Street West
> Toronto, ON M5H 2N6
>
> Email:     [hidden email]
>
> This communication is intended for use by the
> individual(s) to whom it is specifically
> addressed and should not be read by, or delivered to,
> any other person. Such communication may
> contain privileged or confidential information.
> If you have received this communication in
> error, please notify the sender and
> permanently delete the communication. Thank you
> for your cooperation
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [hidden email] For additional
> commands, e-mail: [hidden email]


--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]


--------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email]