[
http://www.stripesframework.org/jira/browse/STS-915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020#comment-13020
]
alex20140116 commented on STS-915:
----------------------------------
{code}
@UrlBinding("/app/ajax/ProfileFields/{id}/{$event}")
@UsedBundle("EditColumnsCore")
public class AjaxProfileFieldsActionBean extends ProfileFieldsActionBean {
...
private PageData pageData;
...
public class FieldExtractor implements Function<SynchronizerColumnEntity,
FieldDTO> {
...//non-static inner class which prevents set property "pageData"
}
FieldExtractor initFields() {
new FieldExtractor(...);
}
@HandlesEvent("load")
public Resolution load() throws Exception {
new PageData(initFields());
Resolution someResolution=...
return someResolution;
}
Resolution doSave() {
final PageData page = getPageData();
page.toString();//NPE in this line
Resolution someResolution=...
return someResolution;
}
{code}
> ActinBean MUST not contain non-static inner classes
> ---------------------------------------------------
>
> Key: STS-915
> URL: http://www.stripesframework.org/jira/browse/STS-915
> Project: Stripes
> Issue Type: Bug
> Components: ActionBean Dispatching
> Affects Versions: Release 1.5.7
> Environment: in earlier release 1.5.6 there is no such issue
> Reporter: alex20140116
>
> While migrating from 1.5.6 to 1.5.7 we're experienced an issue:
> ActionBean has an Object property, which is non-static inner class.
> Stripes cannot set that property. I suspect that stripes cannon instantiate
> inner non-static class during instantiating ActionBean class
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development