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

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • IceFace Configuration / Deployment problem :(
    via by chrisauer,
  • 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.
    via by Krashan Brahmanjara,
  • 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].
    via by Carmen Cristurean,
  • 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.
    via by Krashan Brahmanjara,
  • 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].
    via by Carmen Cristurean,
    • java.lang.UnsupportedOperationException: This method is not supported during startup at org.apache.myfaces.context.servlet.StartupServletExternalContextImpl.getSession(StartupServletExternalContextImpl.java:191) at com.sun.faces.application.view.ViewScopeManager.processPostConstructViewMap(ViewScopeManager.java:217) at com.sun.faces.application.view.ViewScopeManager.processEvent(ViewScopeManager.java:202) at com.sun.faces.application.view.ViewScopeEventListener.processEvent(ViewScopeEventListener.java:68) at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106) at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2161) at com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2137) at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:296) at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:247) at javax.faces.application.Application.publishEvent(Application.java:1666) at javax.faces.component.UIViewRoot.getViewMap(UIViewRoot.java:1515) at javax.faces.component.UIViewRoot.getViewMap(UIViewRoot.java:1469) at org.icefaces.util.EnvUtils.getViewParam(EnvUtils.java:867) at org.icefaces.util.EnvUtils.isFocusManaged(EnvUtils.java:403) at org.icefaces.impl.event.BridgeSetup.<init>(BridgeSetup.java:62) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.apache.myfaces.shared_impl.util.ClassUtils.newInstance(ClassUtils.java:346) at org.apache.myfaces.shared_impl.util.ClassUtils.newInstance(ClassUtils.java:311) at org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfigurator.java:1981) at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:529) at org.apache.myfaces.webapp.AbstractFacesInitializer.buildConfiguration(AbstractFacesInitializer.java:296) at org.apache.myfaces.webapp.Jsp21FacesInitializer.initContainerIntegration(Jsp21FacesInitializer.java:73) at org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces(AbstractFacesInitializer.java:118) at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:111) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4779) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5273) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1568) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1558) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)
    No Bugmate found.