Want more features on Pastebin? Sign Up, it's FREE!
Guest

JSF 2.2 Error #1

By: pramajaya on Mar 25th, 2013  |  syntax: None  |  size: 3.28 KB  |  views: 42  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. java.lang.ClassCastException: java.util.HashMap cannot be cast to [B
  2.         at com.sun.faces.renderkit.ServerSideStateHelper.handleRestoreState(ServerSideStateHelper.java:418)
  3.         at com.sun.faces.renderkit.ServerSideStateHelper.getState(ServerSideStateHelper.java:318)
  4.         at com.sun.faces.renderkit.ResponseStateManagerImpl.getState(ResponseStateManagerImpl.java:104)
  5.         at com.sun.faces.application.view.FaceletViewHandlingStrategy.restoreView(FaceletViewHandlingStrategy.java:552)
  6.         at com.sun.faces.application.view.MultiViewHandler.restoreView(MultiViewHandler.java:148)
  7.         at javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:353)
  8.         at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:197)
  9.         at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
  10.         at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:121)
  11.         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198)
  12.         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:646)
  13.         at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1682)
  14.         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:318)
  15.         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:160)
  16.         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:734)
  17.         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:673)
  18.         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:175)
  19.         at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:357)
  20.         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:260)
  21.         at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:188)
  22.         at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:191)
  23.         at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:168)
  24.         at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:189)
  25.         at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
  26.         at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:288)
  27.         at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:206)
  28.         at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:136)
  29.         at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:114)
  30.         at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
  31.         at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:838)
  32.         at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113)
  33.         at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115)
  34.         at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)
  35.         at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135)
  36.         at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:564)
  37.         at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:544)
  38.         at java.lang.Thread.run(Thread.java:722)
clone this paste RAW Paste Data