java.lang.RuntimeException: Query does not contain parameter named: viewNumber

Icesoft | mlsalcedo | 10 years ago
  1. 0

    Re:Weblogic 10 and IceFaces

    Icesoft | 10 years ago | mlsalcedo
    java.lang.RuntimeException: Query does not contain parameter named: viewNumber
  2. 0

    Re:Run Icefaces portlets with JBoss Portal

    Icesoft | 9 years ago | yurbar2
    java.lang.RuntimeException: Query does not contain parameter named: viewNumber
  3. 0

    java.lang.RuntimeException: Query does not contain parameter named: viewNumber

    Icesoft | 10 years ago | GBouh
    java.lang.RuntimeException: Query does not contain parameter named: viewNumber
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Query does not contain parameter named: ice.session

    Icesoft | 9 years ago | PACRalph
    java.lang.RuntimeException: Query does not contain parameter named: ice.session
  6. 0

    Testing Basic with icepush.jar got the following test results: - The two command links at the bottom always work fine - The reload button does not seem doing anything when clicking on it in icefaces page - In non-icefaces page, clicking on the Show/Hide button sometimes brings up the a pop up message, which says: serverError: class java.lang.ClassCastException [Ljava.lang.Object; cannot be cast to com.sun.faces.application.view.StateHolderSaver[Ljava.lang.Object; cannot be cast to com.sun.faces.application.view.StateHolderSaver - Clicking alternatively and multiple times on the ICEfaces Page button and the Stock JSF Page button throws exceptions in different places: On the page: java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to com.sun.faces.application.view.StateHolderSaver at com.sun.faces.application.view.StateManagementStrategyImpl$4.invokeContextCallback(StateManagementStrategyImpl.java:288) at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:1253) at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:672) at com.sun.faces.application.view.StateManagementStrategyImpl.restoreView(StateManagementStrategyImpl.java:284) at com.sun.faces.application.StateManagerImpl.restoreView(StateManagerImpl.java:177) at com.sun.faces.application.view.ViewHandlingStrategy.restoreView(ViewHandlingStrategy.java:131) at com.sun.faces.application.view.FaceletViewHandlingStrategy.restoreView(FaceletViewHandlingStrategy.java:430) at com.sun.faces.application.view.MultiViewHandler.restoreView(MultiViewHandler.java:143) at javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:288) at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:199) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:110) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) 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:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) at java.lang.Thread.run(Thread.java:619) In server log: 11-Jan-2010 3:25:30 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet Faces Servlet threw exception java.lang.RuntimeException: java.lang.RuntimeException: Query does not contain parameter named: ice.pushid at org.icefaces.push.servlet.ICEpushResourceHandler.handleResourceRequest(ICEpushResourceHandler.java:65) at org.icefaces.push.servlet.ICEfacesResourceHandler.handleResourceRequest(ICEfacesResourceHandler.java:108) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:310) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) 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:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.RuntimeException: Query does not contain parameter named: ice.pushid at org.icepush.servlet.ServletRequestResponse.checkExistenceOf(ServletRequestResponse.java:304) at org.icepush.servlet.ServletRequestResponse.getParameterAsStrings(ServletRequestResponse.java:141) at org.icepush.BlockingConnectionServer$3.service(BlockingConnectionServer.java:82) at org.icepush.BlockingConnectionServer.service(BlockingConnectionServer.java:109) at org.icepush.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:46) at org.icepush.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:51) at org.icepush.servlet.PathDispatcher.service(PathDispatcher.java:44) at org.icepush.servlet.BrowserDispatcher$BrowserEntry.service(BrowserDispatcher.java:105) at org.icepush.servlet.BrowserDispatcher.service(BrowserDispatcher.java:49) at org.icepush.servlet.PathDispatcher.service(PathDispatcher.java:44) at org.icepush.servlet.MainServlet.service(MainServlet.java:44) at org.icefaces.push.servlet.ICEpushResourceHandler.handleResourceRequest(ICEpushResourceHandler.java:63) ... 14 more On server console: 1) Exception on console when testing on FF3.5: 11-Jan-2010 3:58:29 PM org.icefaces.context.DOMPartialViewContext processPartial WARNING: Old DOM is null during domDiff calculation javax.faces.FacesException: java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to com. sun.faces.application.view.StateHolderSaver at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:1256) at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:672) at com.sun.faces.application.view.StateManagementStrategyImpl.restoreView(StateManagementStrategyImpl.java:284) at com.sun.faces.application.StateManagerImpl.restoreView(StateManagerImpl.java:177) at com.sun.faces.application.view.ViewHandlingStrategy.restoreView(ViewHandlingStrategy.java:131) at com.sun.faces.application.view.FaceletViewHandlingStrategy.restoreView(FaceletViewHandlingStrategy.java:430) at com.sun.faces.application.view.MultiViewHandler.restoreView(MultiViewHandler.java:143) at javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:288) at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:199) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:110) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) 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:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to com.sun.faces.application.view.StateHolderSaver at com.sun.faces.application.view.StateManagementStrategyImpl$4.invokeContextCallback(StateManagementStrategyImpl.java:288) at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:1253) ... 24 more 2) Exception on console when testing on IE8: 11-Jan-2010 4:18:09 PM org.icefaces.push.BridgeSetup createView WARNING: Unable to set up WindowScope java.lang.RuntimeException: Unknown window scope ID: 1263251888279 at org.icefaces.application.WindowScopeManager.determineWindowID(WindowScopeManager.java:64) at org.icefaces.push.BridgeSetup.createView(BridgeSetup.java:38) at com.sun.faces.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:195) at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130) at javax.faces.component.UICommand.broadcast(UICommand.java:315) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:775) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1267) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) 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:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) at java.lang.Thread.run(Thread.java:619) java.lang.NullPointerException at org.icefaces.push.BridgeSetup.renderView(BridgeSetup.java:76) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:127) 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:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) 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:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) at java.lang.Thread.run(Thread.java:619)

    ICEsoft JIRA Issue Tracker | 7 years ago | Joanne Bai
    java.lang.RuntimeException: java.lang.RuntimeException: Query does not contain parameter named: ice.pushid

    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.RuntimeException

      Query does not contain parameter named: viewNumber

      at com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.checkExistenceOf()
    2. com.icesoft.faces
      BasicAdaptingServlet.service
      1. com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.checkExistenceOf(ServletRequestResponse.java:176)
      2. com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.getParameterAsStrings(ServletRequestResponse.java:80)
      3. com.icesoft.faces.webapp.http.core.ReceivePing.service(ReceivePing.java:27)
      4. com.icesoft.faces.webapp.http.core.IDVerifier.service(IDVerifier.java:19)
      5. com.icesoft.faces.webapp.http.servlet.BasicAdaptingServlet.service(BasicAdaptingServlet.java:16)
      5 frames