
|
If you were logged in you would be able to see more operations.
|
|
|
|
Environment:
|
jdk-1.5.0_11,eclipse-3.2,xwork-2.0.3,ognl-2.6.11
|
|
|
in com.opensymphony.xwork2.util.XWorkListPropertyAccessor,line 42
if (name instanceof Number
&& OgnlContextState.isCreatingNullObjects(context)
&& XWorkConverter.getInstance()
.getObjectTypeDeterminer().shouldCreateIfNew(lastClass,lastProperty,target,null,true)) {
.......
}
"OgnlContextState.isCreatingNullObjects(context)" is aways false,if I add "OgnlContextState.setCreatingNullObjects(context, true);",It cause NPE when "ObjectFactory.getObjectFactory().buildBean(beanClass, context)"
|
|
Description
|
in com.opensymphony.xwork2.util.XWorkListPropertyAccessor,line 42
if (name instanceof Number
&& OgnlContextState.isCreatingNullObjects(context)
&& XWorkConverter.getInstance()
.getObjectTypeDeterminer().shouldCreateIfNew(lastClass,lastProperty,target,null,true)) {
.......
}
"OgnlContextState.isCreatingNullObjects(context)" is aways false,if I add "OgnlContextState.setCreatingNullObjects(context, true);",It cause NPE when "ObjectFactory.getObjectFactory().buildBean(beanClass, context)"
|
Show » |
|