java.lang.UnsupportedOperationException: This method is not supported during startup

ICEsoft JIRA Issue Tracker | Krashan Brahmanjara | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Showcase doesn't start if glassfish javax.faces implemetnation is replaced with myfaces libraries. maj 18, 2014 3:13:41 PM org.apache.myfaces.webapp.AbstractFacesInitializer initFaces SEVERE: An error occured while initializing MyFaces: This method is not supported during startup java.lang.UnsupportedOperationException: This method is not supported during startup at org.apache.myfaces.context.servlet.StartupServletExternalContextImpl.getSession(StartupServletExternalContextImpl.java:187) at org.apache.myfaces.view.impl.DefaultViewScopeHandler.generateViewScopeId(DefaultViewScopeHandler.java:128) at org.apache.myfaces.view.ViewScopeProxyMap.getWrapped(ViewScopeProxyMap.java:76) at org.apache.myfaces.view.ViewScopeProxyMap.get(ViewScopeProxyMap.java:109) at org.icefaces.util.EnvUtils.getViewParam(EnvUtils.java:1041) at org.icefaces.util.EnvUtils.isFocusManaged(EnvUtils.java:521) at org.icefaces.impl.event.BridgeSetup.<init>(BridgeSetup.java:60) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at java.lang.Class.newInstance(Class.java:374) at org.apache.myfaces.shared.util.ClassUtils.newInstance(ClassUtils.java:411) at org.apache.myfaces.shared.util.ClassUtils.newInstance(ClassUtils.java:374) at org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfigurator.java:649) at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:477) at org.apache.myfaces.webapp.AbstractFacesInitializer.buildConfiguration(AbstractFacesInitializer.java:416) at org.apache.myfaces.webapp.Jsp21FacesInitializer.initContainerIntegration(Jsp21FacesInitializer.java:73) at org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces(AbstractFacesInitializer.java:172) at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:119) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4971) BTW. Some pom.xml files isn't updated to support myfaces profile. But users can simple fix it so it is not problem.

    ICEsoft JIRA Issue Tracker | 3 years ago | Krashan Brahmanjara
    java.lang.UnsupportedOperationException: This method is not supported during startup
  2. 0

    Showcase doesn't start if glassfish javax.faces implemetnation is replaced with myfaces libraries. maj 18, 2014 3:13:41 PM org.apache.myfaces.webapp.AbstractFacesInitializer initFaces SEVERE: An error occured while initializing MyFaces: This method is not supported during startup java.lang.UnsupportedOperationException: This method is not supported during startup at org.apache.myfaces.context.servlet.StartupServletExternalContextImpl.getSession(StartupServletExternalContextImpl.java:187) at org.apache.myfaces.view.impl.DefaultViewScopeHandler.generateViewScopeId(DefaultViewScopeHandler.java:128) at org.apache.myfaces.view.ViewScopeProxyMap.getWrapped(ViewScopeProxyMap.java:76) at org.apache.myfaces.view.ViewScopeProxyMap.get(ViewScopeProxyMap.java:109) at org.icefaces.util.EnvUtils.getViewParam(EnvUtils.java:1041) at org.icefaces.util.EnvUtils.isFocusManaged(EnvUtils.java:521) at org.icefaces.impl.event.BridgeSetup.<init>(BridgeSetup.java:60) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at java.lang.Class.newInstance(Class.java:374) at org.apache.myfaces.shared.util.ClassUtils.newInstance(ClassUtils.java:411) at org.apache.myfaces.shared.util.ClassUtils.newInstance(ClassUtils.java:374) at org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfigurator.java:649) at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:477) at org.apache.myfaces.webapp.AbstractFacesInitializer.buildConfiguration(AbstractFacesInitializer.java:416) at org.apache.myfaces.webapp.Jsp21FacesInitializer.initContainerIntegration(Jsp21FacesInitializer.java:73) at org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces(AbstractFacesInitializer.java:172) at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:119) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4971) BTW. Some pom.xml files isn't updated to support myfaces profile. But users can simple fix it so it is not problem.

    ICEsoft JIRA Issue Tracker | 3 years ago | Krashan Brahmanjara
    java.lang.UnsupportedOperationException: This method is not supported during startup
  3. 0

    Emporium app (MyFaces JSF): A server error occurs when deploying emporium with MyFaces JSF: Dec 20, 2015 3:11:54 PM org.apache.myfaces.util.ExternalSpecifications isBeanValidationAvailable INFO: MyFaces Bean Validation support disabled Dec 20, 2015 3:11:54 PM org.icefaces.impl.renderkit.DOMRenderKit <clinit> INFO: ICEsoft Technologies Inc. ICEfaces 4.1.0 Build number: 3 Build date: 151218 Revision: 46894 Dec 20, 2015 3:11:54 PM org.apache.myfaces.config.FacesConfigurator handleSerialFactory INFO: Serialization provider : class org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory Dec 20, 2015 3:11:54 PM org.apache.myfaces.config.annotation.DefaultLifecycleProviderFactory getLifecycleProvider INFO: Using LifecycleProvider org.apache.myfaces.config.annotation.Tomcat7AnnotationLifecycleProvider Dec 20, 2015 3:11:54 PM org.apache.myfaces.webapp.AbstractFacesInitializer _createEagerBeans WARNING: The managed-bean with name icefacesBeanDestroyRecorder must be application scoped to support eager=true. Dec 20, 2015 3:11:54 PM org.apache.myfaces.webapp.AbstractFacesInitializer initFaces SEVERE: An error occured while initializing MyFaces: This method is not supported during startup java.lang.UnsupportedOperationException: This method is not supported during startup at org.apache.myfaces.context.servlet.StartupServletExternalContextImpl.getSession(StartupServletExternalContext Impl.java:187) at org.apache.myfaces.view.impl.DefaultViewScopeHandler.generateViewScopeId(DefaultViewScopeHandler.java:128) at org.apache.myfaces.view.ViewScopeProxyMap.getWrapped(ViewScopeProxyMap.java:76) at org.apache.myfaces.view.ViewScopeProxyMap.get(ViewScopeProxyMap.java:109) at org.apache.myfaces.config.ManagedBeanBuilder.getScope(ManagedBeanBuilder.java:560) at org.apache.myfaces.config.ManagedBeanBuilder.getNarrowestScope(ManagedBeanBuilder.java:464) at org.apache.myfaces.config.ManagedBeanBuilder.isInValidScope(ManagedBeanBuilder.java:435) at org.apache.myfaces.config.ManagedBeanBuilder.initializeProperties(ManagedBeanBuilder.java:319) at org.apache.myfaces.config.ManagedBeanBuilder.buildManagedBean(ManagedBeanBuilder.java:163) at org.apache.myfaces.webapp.AbstractFacesInitializer._createEagerBeans(AbstractFacesInitializer.java:303) at org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces(AbstractFacesInitializer.java:193) at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java :119) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4937) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1120) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1678) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Dec 20, 2015 3:11:54 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory C:\Servers\apache-tomcat-7.0.42\webapps\examples Dec 20, 2015 3:11:56 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory C:\Servers\apache-tomcat-7.0.42\webapps\host-manager Dec 20, 2015 3:11:56 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory C:\Servers\apache-tomcat-7.0.42\webapps\manager Dec 20, 2015 3:11:56 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory C:\Servers\apache-tomcat-7.0.42\webapps\ROOT Dec 20, 2015 3:11:56 PM org.icefaces.demo.emporium.watcher.base.ThreadedWatcher stop INFO: Stop requested for null. Dec 20, 2015 3:11:56 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-bio-8080"] Dec 20, 2015 3:11:56 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-bio-8443"] Dec 20, 2015 3:11:56 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["ajp-bio-8009"] Dec 20, 2015 3:11:56 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 9900 ms Dec 20, 2015 3:12:11 PM org.icepush.servlet.MainServlet <init> INFO: ICEsoft Technologies Inc. ICEpush 4.1.0 Build number: 3 Revision: 46894 Dec 20, 2015 3:12:13 PM org.apache.myfaces.util.ExternalSpecifications isUnifiedELAvailable INFO: MyFaces Unified EL support enabled Dec 20, 2015 3:12:13 PM org.icefaces.demo.emporium.auth.AuthController determineStatus WARNING: Failed to find or validate Auth password file from path: /opt/tomcat/emporium/password, disallowing Auth. Dec 20, 2015 3:12:14 PM org.icefaces.demo.emporium.bid.model.AuctionImage generateParentDir INFO: Item image directory C:\Servers\apache-tomcat-7.0.42\temp\1-emporium\resources\items valid with 177 files. Dec 20, 2015 3:12:14 PM org.icefaces.demo.emporium.settings.SettingsBean initSettingsBean INFO: User initialized with SettingsBean: User #34333 from North America using theme cupertino with fg/bg colors rgba(0, 0, 0, 0.9)/rgba(176, 196, 222, 0.9) Dec 20, 2015 3:12:14 PM org.icefaces.demo.emporium.bid.AuctionService initAuctionService INFO: Test Flag status...no interval push [false], expiry [false], bid robot [false], many items [false], many past bids [false], autojoin chat [false], growl messages [false], no auth [false].

    ICEsoft JIRA Issue Tracker | 1 year ago | Carmen Cristurean
    java.lang.UnsupportedOperationException: This method is not supported during startup
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Emporium app (MyFaces JSF): A server error occurs when deploying emporium with MyFaces JSF: Dec 20, 2015 3:11:54 PM org.apache.myfaces.util.ExternalSpecifications isBeanValidationAvailable INFO: MyFaces Bean Validation support disabled Dec 20, 2015 3:11:54 PM org.icefaces.impl.renderkit.DOMRenderKit <clinit> INFO: ICEsoft Technologies Inc. ICEfaces 4.1.0 Build number: 3 Build date: 151218 Revision: 46894 Dec 20, 2015 3:11:54 PM org.apache.myfaces.config.FacesConfigurator handleSerialFactory INFO: Serialization provider : class org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory Dec 20, 2015 3:11:54 PM org.apache.myfaces.config.annotation.DefaultLifecycleProviderFactory getLifecycleProvider INFO: Using LifecycleProvider org.apache.myfaces.config.annotation.Tomcat7AnnotationLifecycleProvider Dec 20, 2015 3:11:54 PM org.apache.myfaces.webapp.AbstractFacesInitializer _createEagerBeans WARNING: The managed-bean with name icefacesBeanDestroyRecorder must be application scoped to support eager=true. Dec 20, 2015 3:11:54 PM org.apache.myfaces.webapp.AbstractFacesInitializer initFaces SEVERE: An error occured while initializing MyFaces: This method is not supported during startup java.lang.UnsupportedOperationException: This method is not supported during startup at org.apache.myfaces.context.servlet.StartupServletExternalContextImpl.getSession(StartupServletExternalContext Impl.java:187) at org.apache.myfaces.view.impl.DefaultViewScopeHandler.generateViewScopeId(DefaultViewScopeHandler.java:128) at org.apache.myfaces.view.ViewScopeProxyMap.getWrapped(ViewScopeProxyMap.java:76) at org.apache.myfaces.view.ViewScopeProxyMap.get(ViewScopeProxyMap.java:109) at org.apache.myfaces.config.ManagedBeanBuilder.getScope(ManagedBeanBuilder.java:560) at org.apache.myfaces.config.ManagedBeanBuilder.getNarrowestScope(ManagedBeanBuilder.java:464) at org.apache.myfaces.config.ManagedBeanBuilder.isInValidScope(ManagedBeanBuilder.java:435) at org.apache.myfaces.config.ManagedBeanBuilder.initializeProperties(ManagedBeanBuilder.java:319) at org.apache.myfaces.config.ManagedBeanBuilder.buildManagedBean(ManagedBeanBuilder.java:163) at org.apache.myfaces.webapp.AbstractFacesInitializer._createEagerBeans(AbstractFacesInitializer.java:303) at org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces(AbstractFacesInitializer.java:193) at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java :119) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4937) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1120) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1678) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Dec 20, 2015 3:11:54 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory C:\Servers\apache-tomcat-7.0.42\webapps\examples Dec 20, 2015 3:11:56 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory C:\Servers\apache-tomcat-7.0.42\webapps\host-manager Dec 20, 2015 3:11:56 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory C:\Servers\apache-tomcat-7.0.42\webapps\manager Dec 20, 2015 3:11:56 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory C:\Servers\apache-tomcat-7.0.42\webapps\ROOT Dec 20, 2015 3:11:56 PM org.icefaces.demo.emporium.watcher.base.ThreadedWatcher stop INFO: Stop requested for null. Dec 20, 2015 3:11:56 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-bio-8080"] Dec 20, 2015 3:11:56 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-bio-8443"] Dec 20, 2015 3:11:56 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["ajp-bio-8009"] Dec 20, 2015 3:11:56 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 9900 ms Dec 20, 2015 3:12:11 PM org.icepush.servlet.MainServlet <init> INFO: ICEsoft Technologies Inc. ICEpush 4.1.0 Build number: 3 Revision: 46894 Dec 20, 2015 3:12:13 PM org.apache.myfaces.util.ExternalSpecifications isUnifiedELAvailable INFO: MyFaces Unified EL support enabled Dec 20, 2015 3:12:13 PM org.icefaces.demo.emporium.auth.AuthController determineStatus WARNING: Failed to find or validate Auth password file from path: /opt/tomcat/emporium/password, disallowing Auth. Dec 20, 2015 3:12:14 PM org.icefaces.demo.emporium.bid.model.AuctionImage generateParentDir INFO: Item image directory C:\Servers\apache-tomcat-7.0.42\temp\1-emporium\resources\items valid with 177 files. Dec 20, 2015 3:12:14 PM org.icefaces.demo.emporium.settings.SettingsBean initSettingsBean INFO: User initialized with SettingsBean: User #34333 from North America using theme cupertino with fg/bg colors rgba(0, 0, 0, 0.9)/rgba(176, 196, 222, 0.9) Dec 20, 2015 3:12:14 PM org.icefaces.demo.emporium.bid.AuctionService initAuctionService INFO: Test Flag status...no interval push [false], expiry [false], bid robot [false], many items [false], many past bids [false], autojoin chat [false], growl messages [false], no auth [false].

    ICEsoft JIRA Issue Tracker | 1 year ago | Carmen Cristurean
    java.lang.UnsupportedOperationException: This method is not supported during startup
  6. 0

    IceFace Configuration / Deployment problem :(

    Icesoft | 4 years ago | chrisauer
    java.lang.UnsupportedOperationException: This method is not supported during startup

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      This method is not supported during startup

      at org.apache.myfaces.context.servlet.StartupServletExternalContextImpl.getSession()
    2. Impl
      StartupServletExternalContextImpl.getSession
      1. org.apache.myfaces.context.servlet.StartupServletExternalContextImpl.getSession(StartupServletExternalContextImpl.java:187)
      1 frame
    3. org.apache.myfaces
      ViewScopeProxyMap.get
      1. org.apache.myfaces.view.impl.DefaultViewScopeHandler.generateViewScopeId(DefaultViewScopeHandler.java:128)
      2. org.apache.myfaces.view.ViewScopeProxyMap.getWrapped(ViewScopeProxyMap.java:76)
      3. org.apache.myfaces.view.ViewScopeProxyMap.get(ViewScopeProxyMap.java:109)
      3 frames
    4. org.icefaces.util
      EnvUtils.isFocusManaged
      1. org.icefaces.util.EnvUtils.getViewParam(EnvUtils.java:1041)
      2. org.icefaces.util.EnvUtils.isFocusManaged(EnvUtils.java:521)
      2 frames
    5. org.icefaces.impl
      BridgeSetup.<init>
      1. org.icefaces.impl.event.BridgeSetup.<init>(BridgeSetup.java:60)
      1 frame
    6. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      5. java.lang.Class.newInstance(Class.java:374)
      5 frames
    7. Apache MyFaces Shared For JSF 2.0 - Core Mirror
      ClassUtils.newInstance
      1. org.apache.myfaces.shared.util.ClassUtils.newInstance(ClassUtils.java:411)
      2. org.apache.myfaces.shared.util.ClassUtils.newInstance(ClassUtils.java:374)
      2 frames
    8. Impl
      StartupServletContextListener.contextInitialized
      1. org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfigurator.java:649)
      2. org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:477)
      3. org.apache.myfaces.webapp.AbstractFacesInitializer.buildConfiguration(AbstractFacesInitializer.java:416)
      4. org.apache.myfaces.webapp.Jsp21FacesInitializer.initContainerIntegration(Jsp21FacesInitializer.java:73)
      5. org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces(AbstractFacesInitializer.java:172)
      6. org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:119)
      6 frames
    9. Glassfish Core
      StandardContext.listenerStart
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4971)
      1 frame