[
https://issues.jboss.org/browse/RF-10648?page=com.atlassian.jira.plugin.s...
]
Ilya Shaikovsky resolved RF-10648.
----------------------------------
Resolution: Rejected
please recheck your project dependencies carefully.
in attached war there are only 3 richfaces libraries instead of four ones. have you
checked updates at
http://community.jboss.org/docs/DOC-15447 related to impl dependency?
(made in M5 and was highlighted untill m6).
When I added remained jar - service init exception disapeared but new ones appeared
because you also missing cssparser and sac redepndencies.
Service Tracker not initialized
-------------------------------
Key: RF-10648
URL:
https://issues.jboss.org/browse/RF-10648
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 4.0.0.CR1
Environment: JBoss AS 6.0.0.Final (default configuration)
OpenJDK Runtime Environment (IcedTea6 1.9.7) (6b20-1.9.7-0ubuntu1~10.04.1)
Reporter: Lukas Fryc
Assignee: Ilya Shaikovsky
Fix For: 4.0.0.Final
Attachments: auction.war
Sample Auction application:
https://github.com/lfryc/auction/tree/ServiceTrackedNotInitialized
I have upgraded sample Auction application from M3 to CR1 and it stopped to work with
following exception (it means it works fine with M3):
javax.faces.FacesException: Service Tracker has not been initialized
org.richfaces.application.ServiceTracker.getServicesFactory(ServiceTracker.java:73)
org.richfaces.application.ServiceTracker.getService(ServiceTracker.java:62)
org.richfaces.application.configuration.ConfigurationServiceHelper.getBooleanConfigurationValue(ConfigurationServiceHelper.java:37)
org.richfaces.model.ArrangeableModel.createStringComparator(ArrangeableModel.java:340)
org.richfaces.model.ArrangeableModel.compareSortByValues(ArrangeableModel.java:324)
org.richfaces.model.ArrangeableModel.compare(ArrangeableModel.java:309)
org.richfaces.model.ArrangeableModel.access$200(ArrangeableModel.java:52)
org.richfaces.model.ArrangeableModel$2.compare(ArrangeableModel.java:262)
java.util.Arrays.mergeSort(Arrays.java:1283)
java.util.Arrays.mergeSort(Arrays.java:1294)
java.util.Arrays.mergeSort(Arrays.java:1294)
java.util.Arrays.sort(Arrays.java:1223)
java.util.Collections.sort(Collections.java:176)
org.richfaces.model.ArrangeableModel.sort(ArrangeableModel.java:260)
org.richfaces.model.ArrangeableModel.arrange(ArrangeableModel.java:214)
org.richfaces.component.UIDataTableBase.createExtendedDataModel(UIDataTableBase.java:212)
org.richfaces.component.UIDataAdaptor.getExtendedDataModel(UIDataAdaptor.java:462)
org.richfaces.component.UIDataAdaptor.getRowCount(UIDataAdaptor.java:509)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:616)
javax.faces.component.UIComponentBase$AttributesMap.get(UIComponentBase.java:2206)
org.richfaces.DataScrollerUtils.eval(DataScrollerUtils.java:88)
org.richfaces.DataScrollerUtils.getRowCount(DataScrollerUtils.java:83)
org.richfaces.event.DataTablePreRenderListener.processEvent(DataTablePreRenderListener.java:125)
javax.faces.event.SystemEvent.processListener(SystemEvent.java:102)
com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2040)
com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2016)
com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:298)
com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:242)
org.jboss.weld.integration.webtier.jsf.ForwardingApplication.publishEvent(ForwardingApplication.java:336)
javax.faces.application.ApplicationWrapper.publishEvent(ApplicationWrapper.java:666)
javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:816)
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:298)
com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:101)
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:849)
javax.faces.component.UIComponent.encodeAll(UIComponent.java:1643)
com.sun.faces.renderkit.html_basic.CompositeRenderer.encodeChildren(CompositeRenderer.java:75)
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:849)
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:300)
com.sun.faces.renderkit.html_basic.GridRenderer.renderRow(GridRenderer.java:181)
com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:125)
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:849)
javax.faces.component.UIComponent.encodeAll(UIComponent.java:1643)
javax.faces.component.UIComponent.encodeAll(UIComponent.java:1646)
javax.faces.component.UIComponent.encodeAll(UIComponent.java:1646)
com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:389)
com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:127)
javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:269)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:117)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:135)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:309)
org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:67)
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira