commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maxim Kramarenko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BEANUTILS-421) NullPointerException in BeanUtilsBean.setProperty
Date Tue, 29 Jan 2013 12:25:12 GMT

    [ https://issues.apache.org/jira/browse/BEANUTILS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13565313#comment-13565313
] 

Maxim Kramarenko commented on BEANUTILS-421:
--------------------------------------------

Here is the log:

2013-01-29 03:19:05,857 DEBUG org.apache.commons.beanutils.BeanUtils:populate:814 - BeanUtils.populate(com.trackstudio.form.TaskForm@d4afbb,
{id=[Ljava.lang.String;@15d2cc6, session=[Ljava.lang.String;@26a3de, description=[Ljava.lang.String;@d07c51,
workflowId=[Ljava.lang.String;@191bfcc, name=[Ljava.lang.String;@1c71a12, method=[Ljava.lang.String;@8099c8,
parentForCancel=[Ljava.lang.String;@f03880, file[0]=})
2013-01-29 03:19:05,857 DEBUG org.apache.commons.beanutils.ConvertUtils:convert:460 - Convert
string 'ff8080812bd3d88d012bd3e2f5320076' to class 'java.lang.String'
2013-01-29 03:19:05,857 DEBUG org.apache.commons.beanutils.converters.StringConverter:convert:127
- Converting 'String' value 'ff8080812bd3d88d012bd3e2f5320076' to type 'String'
2013-01-29 03:19:05,857 DEBUG org.apache.commons.beanutils.ConvertUtils:convert:460 - Convert
string 'session' to class 'java.lang.String'
2013-01-29 03:19:05,857 DEBUG org.apache.commons.beanutils.converters.StringConverter:convert:127
- Converting 'String' value 'session' to type 'String'
2013-01-29 03:19:05,857 DEBUG org.apache.commons.beanutils.ConvertUtils:convert:460 - Convert
string '<div style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px; background-image: initial; background-attachment: initial; background-origin:
initial; background-clip: initial; background-color: #ffffff; margin: 8px;">
...
</div>' to class 'java.lang.String'
2013-01-29 03:19:05,857 DEBUG org.apache.commons.beanutils.converters.StringConverter:convert:127
- Converting 'String' value '<div style="color: #000000; font-family: Verdana, Arial, Helvetica,
sans-serif; font-size: 11px; background-image: initial; background-attachment: initial; background-origin:
initial; background-clip: initial; background-color: #ffffff; margin: 8px;">
...
</div>' to type 'String'
2013-01-29 03:19:05,857 DEBUG org.apache.commons.beanutils.ConvertUtils:convert:460 - Convert
string '4028808a192e43e801192e527cee013f' to class 'java.lang.String'
2013-01-29 03:19:05,857 DEBUG org.apache.commons.beanutils.converters.StringConverter:convert:127
- Converting 'String' value '4028808a192e43e801192e527cee013f' to type 'String'
2013-01-29 03:19:05,857 DEBUG org.apache.commons.beanutils.ConvertUtils:convert:460 - Convert
string 'Dashboard' to class 'java.lang.String'
2013-01-29 03:19:05,857 DEBUG org.apache.commons.beanutils.converters.StringConverter:convert:127
- Converting 'String' value 'Dashboard' to type 'String'
2013-01-29 03:19:05,857 DEBUG org.apache.commons.beanutils.ConvertUtils:convert:460 - Convert
string 'saveDocument' to class 'java.lang.String'
2013-01-29 03:19:05,857 DEBUG org.apache.commons.beanutils.converters.StringConverter:convert:127
- Converting 'String' value 'saveDocument' to type 'String'
2013-01-29 03:19:05,857 DEBUG org.apache.commons.beanutils.ConvertUtils:convert:460 - Convert
string '4028808a192e43e801192e4dc70f013a' to class 'java.lang.String'
2013-01-29 03:19:05,857 DEBUG org.apache.commons.beanutils.converters.StringConverter:convert:127
- Converting 'String' value '4028808a192e43e801192e4dc70f013a' to type 'String'
2013-01-29 03:19:05,867  WARN org.apache.struts.chain.commands.AbstractExceptionHandler:execute:95
- Unhandled exception
javax.servlet.ServletException: BeanUtils.populate
	at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:475)
	at org.apache.struts.chain.commands.servlet.PopulateActionForm.populate(PopulateActionForm.java:50)
	at org.apache.struts.chain.commands.AbstractPopulateActionForm.execute(AbstractPopulateActionForm.java:60)
	at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)

So, it looks like it cannot process file attachment.

                
> NullPointerException in BeanUtilsBean.setProperty
> -------------------------------------------------
>
>                 Key: BEANUTILS-421
>                 URL: https://issues.apache.org/jira/browse/BEANUTILS-421
>             Project: Commons BeanUtils
>          Issue Type: Bug
>    Affects Versions: 1.8.3
>            Reporter: Maxim Kramarenko
>            Priority: Blocker
>
> I got the following exception on some servers:
>    javax.servlet.ServletException: BeanUtils.populate
> 	at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:475)
> 	at org.apache.struts.chain.commands.servlet.PopulateActionForm.populate(PopulateActionForm.java:50)
> 	at org.apache.struts.chain.commands.AbstractPopulateActionForm.execute(AbstractPopulateActionForm.java:60)
> 	at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
> 	at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
> 	at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
> 	at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
> 	at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
> 	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
> 	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
> Caused by: java.lang.NullPointerException
> 	at org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUtilsBean.java:982)
> 	at org.apache.commons.beanutils.BeanUtilsBean.populate(BeanUtilsBean.java:830)
> 	at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:433)
> 	at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:473)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message