[
https://issues.jboss.org/browse/RF-10645?page=com.atlassian.jira.plugin.s...
]
Lukas Fryc commented on RF-10645:
---------------------------------
Workaround is not using @ManagedProperty, but this issues needs to be investigated why it
doesn't work in JBoss AS.
Metamer - Inplace Select sample - NullPointerException in
initialization
------------------------------------------------------------------------
Key: RF-10645
URL:
https://issues.jboss.org/browse/RF-10645
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-input
Affects Versions: 4.0.0.CR1
Environment: RichFaces 4.0.0.20110227-CR1 r.21967
Metamer 4.0.0.20110228-CR1 r.21993
Apache MyFaces JSF-2.0 Core Impl 2.0.4
JBoss AS 6.0.0.Final (default configuration)
OpenJDK Runtime Environment 1.6.0_20-b20 @Linux
Chrome 9.0.597.98 @ Linux x86_64
Reporter: Lukas Fryc
This doesn't work specifically on JBoss AS with bundled MyFaces 2.0.4 and
context-param WAR_BUNDLES_JSF_IMPL.
It seems container don't inject
private Attributes attributes;
@ManagedProperty(value = "#{model.capitals}")
private List<Capital> capitals;
javax.faces.FacesException: java.lang.reflect.InvocationTargetException
at
org.apache.myfaces.shared_impl.context.ExceptionHandlerImpl.wrap(ExceptionHandlerImpl.java:241)
Caused by: java.lang.NullPointerException
at org.richfaces.tests.metamer.bean.RichSelectBean.init(RichSelectBean.java:67)
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira