Skip to main content

javax.servlet.ServletException: BeanUtils.populate

1 reply [Last post]
bobt100
Offline
Joined: 2012-04-04

Deployed packaged app (SoftSlate) in Glassfish 3.1.2

When saving certain form data the following error is encountered:

type Exception report

message

descriptionThe server encountered an internal error () that prevented it from fulfilling this request.

exception
javax.servlet.ServletException: BeanUtils.populate

root cause
java.lang.IllegalArgumentException: Cannot invoke com.softslate.commerce.administrator.product.ProductAddEditForm.setSmallImageUpload on bean class 'class com.softslate.commerce.administrator.product.ProductAddEditForm' - argument type mismatch - had objects of type "java.lang.String" but expected signature "org.apache.struts.upload.FormFile"

root cause
java.lang.IllegalArgumentException: argument type mismatch

note The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 3.1.2 logs.

-------------------------
Reported this problem to vendor forum and they have never seen this error before. Product apparently runs fine under Apache (I have not tested this)

Any help is appreciated.
Bob

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
elyem
Offline
Joined: 2013-01-10

having the same problem now! you get it solved?