javax.faces.FacesException: java.lang.UnsupportedOperationException

Icesoft | Cyrill | 9 years ago
  1. 0

    Jdeveloper jsf 1.2 problem

    Icesoft | 9 years ago | Cyrill
    javax.faces.FacesException: java.lang.UnsupportedOperationException
  2. 0

    In all scenarios the sample icefaces portlets are not working: - sample-icefaces-myfaces-portlet-4.3.3.2.war - sample-icefaces-sun-facelets-portlet-4.3.3.2.war - sample-icefaces-sun-portlet-4.3.3.2.war The message on the jboss server is: --> snip --> 13:11:36,858 INFO [PluginPackageHotDeployListener] Reading plugin package for sample-icefaces-sun-portlet 13:11:36,936 INFO [PluginPackageHotDeployListener] Plugin package liferay/sample-icefaces-sun-portlet/4.3.3.1/war regis tered successfully 13:11:36,968 INFO [PortletHotDeployListener] Registering portlets for sample-icefaces-sun-portlet 13:11:36,983 INFO [PortletHotDeployListener] Portlets for sample-icefaces-sun-portlet registered successfully 13:11:36,983 ERROR [StandardContext] Error listenerStart 13:11:36,983 ERROR [StandardContext] Context [/sample-icefaces-sun-portlet] startup failed due to previous errors 13:11:36,983 INFO [PluginPackageHotDeployListener] Reading plugin package for sample-icefaces-sun-portlet 13:11:36,983 INFO [PluginPackageHotDeployListener] Plugin package liferay/sample-icefaces-sun-portlet/4.3.3.1/war unreg istered successfully 13:11:36,983 INFO [PortletHotDeployListener] Unregistering portlets for sample-icefaces-sun-portlet 13:11:36,983 INFO [PortletHotDeployListener] Portlets for sample-icefaces-sun-portlet unregistered successfully 13:11:36,983 ERROR [[/sample-icefaces-sun-portlet]] Exception sending context destroyed event to listener instance of cl ass com.sun.faces.application.WebappLifecycleListener java.lang.ClassCastException: com.sun.faces.application.ApplicationAssociate cannot be cast to com.sun.faces.application .ApplicationAssociate at com.sun.faces.application.ApplicationAssociate.getInstance(ApplicationAssociate.java:180) at com.sun.faces.application.WebappLifecycleListener.getAssociate(WebappLifecycleListener.java:289) at com.sun.faces.application.WebappLifecycleListener.handleAttributeEvent(WebappLifecycleListener.java:225) at com.sun.faces.application.WebappLifecycleListener.contextDestroyed(WebappLifecycleListener.java:275) at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3893) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4525) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4389) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) <-- snip <-- On the Mac with the tomcat server I've got a class not found error for the apache.common.digester.RuleSet class. I've solved the problem by adding all needed librarys described in the approbriated propertie file (liferay-plugin-package.properties). The class cast exception vanished but the liferay portal won't find the portlet descriptor. That results in an unnamed and uncatathegorisized portlet. The portlet is then available in the portal server, but it don't work -> it results in an unresolvable request in the portlet after pressing the "Open" Link. Same thing happens on Windows XP. It is important for us to get the icefaces+liferay working, because we are in an project kickoff. If the demos are not working I have to cancel the use of liferay for our company. Otherwise it will become a strategic product inside our portfolio. Can you help please!? Best Regards, Gerd Weckenmann Lead Software Architect, businessMart AG, Stuttgart, Germany gerd.weckenmann@businessmart.de

    Liferay Issues | 9 years ago | Gerd Weckenmann
    javax.faces.FacesException: java.lang.UnsupportedOperationException
  3. 0

    Please help me, I got a problem using ICEfaces 1.6.1 with JSF 1.2

    Icesoft | 9 years ago | yiqingmichaelxu
    javax.faces.FacesException: java.lang.UnsupportedOperationException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    db:: 3.65::Error listenerStart xc

    hivmr.com | 7 months ago
    javax.faces.FacesException: java.lang.UnsupportedOperationException
  6. 0

    Re:Download Document

    Icesoft | 8 years ago | facefab
    javax.faces.FacesException: java.lang.UnsupportedOperationException

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      No message provided

      at com.sun.faces.config.ConfigureListener$InitFacesContext.getViewRoot()
    2. JSF
      ConfigureListener.contextInitialized
      1. com.sun.faces.config.ConfigureListener$InitFacesContext.getViewRoot(ConfigureListener.java:1690)
      2. com.sun.faces.util.MessageFactory.getMessage(MessageFactory.java:113)
      3. com.sun.faces.util.MessageUtils.getExceptionMessageString(MessageUtils.java:277)
      4. com.sun.faces.util.Util.createInstance(Util.java:477)
      5. com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:671)
      6. com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:503)
      7. com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:402)
      7 frames
    3. com.evermind.server
      ApplicationServerLauncher.run
      1. com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1130)
      2. com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:738)
      3. com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
      4. com.evermind.server.Application.getHttpApplication(Application.java:571)
      5. com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1990)
      6. com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1909)
      7. com.evermind.server.http.HttpSite.initApplications(HttpSite.java:615)
      8. com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290)
      9. com.evermind.server.http.HttpServer.setSites(HttpServer.java:270)
      10. com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177)
      11. com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2450)
      12. com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:998)
      13. com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
      13 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame