[
https://issues.jboss.org/browse/RF-13469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
H G updated RF-13469:
---------------------
Description:
An exception is handled. The exception is related to the source code
"resource.getLibraryName()" from ResourceServletMapping
Link to exception - https://community.jboss.org/message/852156
View source:
<r:pickList value="#{bean.selectedAreaIds}" listHeight="200px"
converter="javax.faces.Integer">
<f:selectItems value="#{bean.areaItems}" />
</r:pickList>
Bean source methog loading areaItems:
private void loadAreaItems() {
areaItems = null;
List<Area> l = (List<Area>)em.createQuery("from Area order by
name ASC")
.getResultList();
if(l != null) {
int size = l.size();
areaItems = new ArrayList<SelectItem>(size);
for(int i = 0; i < size; i++) {
Area area = l.get(i);
areaItems.add(new SelectItem(area.getId(),
area.getName()));
}
} else {
areaItems = new ArrayList<SelectItem>(0);
}
}
was:
An exception is handled. The exception is related to the source code
"resource.getLibraryName()" from ResourceServletMapping
Link to exception - https://community.jboss.org/message/852156
> RF 5 pickList NPE ResourceServletMapping - resource.getLibraryName()
> --------------------------------------------------------------------
>
> Key: RF-13469
> URL: https://issues.jboss.org/browse/RF-13469
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-selects
> Affects Versions: 5.0.0.Alpha2
> Environment: WildFly CR1, RF 5 Alpha2, jboss-jsf-api_2.2_spec-2.2.4
> WildFly B1, RF 5 Alpha2, jboss-jsf-api_2.2_spec-2.2.3
> Firefox 26.0
> Reporter: H G
> Labels: libraryName, npe, pickList, resource
> Fix For: 5.0.0.Alpha3
>
>
> An exception is handled. The exception is related to the source code
> "resource.getLibraryName()" from ResourceServletMapping
> Link to exception - https://community.jboss.org/message/852156
> View source:
> <r:pickList value="#{bean.selectedAreaIds}" listHeight="200px"
> converter="javax.faces.Integer">
> <f:selectItems value="#{bean.areaItems}" />
> </r:pickList>
> Bean source methog loading areaItems:
> private void loadAreaItems() {
> areaItems = null;
> List<Area> l = (List<Area>)em.createQuery("from Area order by
> name ASC")
> .getResultList();
> if(l != null) {
> int size = l.size();
> areaItems = new ArrayList<SelectItem>(size);
> for(int i = 0; i < size; i++) {
> Area area = l.get(i);
> areaItems.add(new SelectItem(area.getId(),
> area.getName()));
> }
> } else {
> areaItems = new ArrayList<SelectItem>(0);
> }
> }
--
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
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues