[
https://issues.apache.org/jira/browse/BEANUTILS-300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584400#action_12584400
]
Henri Yandell commented on BEANUTILS-300:
-----------------------------------------
Line 643 below:
{code:java}
641 // Create a new DynaBean
642 try {
643 dynaBean = dynaClass.newInstance();
644 newDynaBeanType = dynaBean.getClass();
645 } catch (Exception e) {
646 throw new IllegalArgumentException("Error creating DynaBean: "
647 + dynaClass.getClass().getName()
648 + " - " + e);
649 }
{code}
> NPE in LazyDynaList
> -------------------
>
> Key: BEANUTILS-300
> URL: https://issues.apache.org/jira/browse/BEANUTILS-300
> Project: Commons BeanUtils
> Issue Type: Bug
> Environment: Fortify
> Reporter: Henri Yandell
> Fix For: 1.8.0
>
>
> The transform() method does not protect lazyDynaClass from being null when
> the new DynaBean is created.
> Throw an exception? Or should the setElementType(..) call be joined by a
> lazyDynaClass=...something....
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.