[JBoss JIRA] (RF-11795) CDI - Class cast exception in RichFaces
by Jean ANDRE (Created) (JIRA)
CDI - Class cast exception in RichFaces
---------------------------------------
Key: RF-11795
URL: https://issues.jboss.org/browse/RF-11795
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Environment: Websphere 8 - RAD 8.0.0.4 - JSF Mojorra 2.1.4 - Spring 3.0.6 Final - Use @Inject @Named @SessionScoped as annotations - Firefox 7.0.1 - Windows 7 (6.1 sp1) - AJDT 2.1.3
Reporter: Jean ANDRE
Well, not sure it is a bug - Need to be confirmed.
RAD 8.0.0 supports CDI 1.0 but due to a bug in RAD we have to upgrade in CDI 1.1 at least. We have tried both implementation, Weld 1.1 and OpenWebBean 1.1.2 and richfaces fails to work when we use one of them.
We got an class cast exception as shown below:
{code}
Caused by: java.lang.ClassCastException: Cannot cast class org.richfaces.cdi.push.PushCDIDependencyRegistrationExtension to interface javax.enterprise.inject.spi.Extension
at java.lang.Class.cast(Class.java:1718)
at java.util.ServiceLoader$ServiceIterator.next(ServiceLoader.java:195)
... 78 more
{code}
The first question is which CDI version and implementation richfaces is supposed to run with ? and what we need to know if we need to change the CDI implementation for an another one (such as dependency...) ?
Other trace is :
{code}
Caused by: java.util.ServiceConfigurationError: KB005
at java.util.ServiceLoader$ServiceIterator.next(ServiceLoader.java:200)
at org.apache.webbeans.portable.events.ExtensionLoader.loadExtensionServices(ExtensionLoader.java:78)
at org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:139)
at org.apache.webbeans.lifecycle.AbstractLifeCycle.startApplication(AbstractLifeCycle.java:124)
at org.apache.webbeans.web.lifecycle.WebContainerLifecycle.startApplication(WebContainerLifecycle.java:78)
at com.ibm.ws.webbeans.common.CommonLifeCycle.startApplication(CommonLifeCycle.java:106)
at com.ibm.ws.webbeans.services.JCDIServletContainerInitializer.onStartup(JCDIServletContainerInitializer.java:85)
at com.ibm.ws.webcontainer.webapp.WebAppImpl.initializeServletContainerInitializers(WebAppImpl.java:609)
at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:405)
at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:88)
at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:169)
... 68 more
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months
[JBoss JIRA] Created: (RF-11423) NPE and PreRenderViewEvent in UIDataAdaptor
by Bernard Labno (JIRA)
NPE and PreRenderViewEvent in UIDataAdaptor
-------------------------------------------
Key: RF-11423
URL: https://issues.jboss.org/browse/RF-11423
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: core
Affects Versions: 4.1.0.Milestone2
Environment: JBoss AS 7.0.1.Final,
Linux kuna 2.6.27.7-smp #22 SMP PREEMPT Tue Mar 9 22:58:03 CET 2010 i686 Intel(R) Core(TM)2 Duo CPU P7370 @ 2.00GHz GenuineIntel GNU/Linux
Reporter: Bernard Labno
Priority: Critical
When there is any of UIDataAdaptor components on page and we do regular form submit or ajax re-render then we get NullPointerException.
java.lang.NullPointerException
at javax.faces.component.UIComponent$ComponentSystemEventListenerAdapter.processEvent(UIComponent.java:2477)
at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106)
at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2102)
at com.sun.faces.application.ApplicationImpl.invokeComponentListenersFor(ApplicationImpl.java:2050)
at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:287)
at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:245)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:108)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
at org.apache.catalina.core.StandardContextValve.__invoke(StandardContextValve.java:161)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java)
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:388)
at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952)
at java.lang.Thread.run(Thread.java:619)
This is due to fact that "wrapped" attribute in UIComponent$ComponentSystemEventListenerAdapter is not restored properly in restoreState method (the UIComponent .getCurrentComponent(context) call returns null).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months
[JBoss JIRA] (RF-11804) rich:pickList ecss missing rf-pick-src class
by Scott Balmos (Created) (JIRA)
rich:pickList ecss missing rf-pick-src class
--------------------------------------------
Key: RF-11804
URL: https://issues.jboss.org/browse/RF-11804
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-selects, skinning
Affects Versions: 4.1.0.CR2
Reporter: Scott Balmos
In 4.1.0 CR2, the ECSS file for skinning rich:pickList is missing the rf-pick-src CSS class. The generated divs for the source and target item lists are thus unskinned, and seem to be rendered with the wrong vertical alignment with the pickList's add/remove and ordering controls (vertically center-aligned vs top-aligned, but that could be an after-effect of other div CSS in my app that are taking effect because rf-pick-src doesn't exist).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months
[JBoss JIRA] Created: (RF-10936) dataScroller: Ajax request not customizable
by Ilya Shaikovsky (JIRA)
dataScroller: Ajax request not customizable
-------------------------------------------
Key: RF-10936
URL: https://issues.jboss.org/browse/RF-10936
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-tables
Affects Versions: 4.0.0.Final
Reporter: Ilya Shaikovsky
Assignee: Nick Belaevski
Priority: Critical
Definitelly critical issue. The only Ajax attribute I see - render.
And execute="@form"(ajaxSingle="false") was required by 3.3.3 customers in many forum posts.
Now it's not possible to save inputs data while switching.
all the other Ajax attributes should be added also.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months