java.lang.IllegalStateException

Java.net JIRA | Harshad Vilekar | 6 years ago
  1. 0

    Admin GUI sometimes simply displays "blank screen". The bottom status bar of the browser window says "Done". Workaround: - To refresh Help screen - Click on Admin Console Help button. - To refresh main browser window, click Shift - Reload. This is seen (once in a while) on some screens - including Console Main Screen, Help Windows and sometimes "restart required" details screen. I bumped into this again today. Screen shot for blank help window (b38) and blank main window (b37) attached. I've seen this with OEL5 and Solaris 10 (Firefox 3.6.10). Sometimes, there is exception thrown in the server log (not sure if it's related). see below. ========================= [#|2011-01-20T15:21:56.347-0800|INFO|oracle-glassfish3.1|javax.enterprise.system.core.security.com.sun.enterprise.security|_ThreadID=123;_ThreadName=Thread-1;|SEC1011: Security Service(s) Started Successfully|#] [#|2011-01-20T15:21:57.971-0800|INFO|oracle-glassfish3.1|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=21;_ThreadName=Thread-52;|Initializing Mojarra 2.1.0 (FCS b10) for context ''|#] [#|2011-01-20T15:21:58.073-0800|INFO|oracle-glassfish3.1|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=22;_ThreadName=admin-thread-pool-4848(5);|Listening to REST requests at context: /management/domain|#] [#|2011-01-20T15:21:57.971-0800|INFO|oracle-glassfish3.1|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=21;_ThreadName=Thread-1;|Initializing Mojarra 2.1.0 (FCS b10) for context ''|#] [#|2011-01-20T15:21:58.073-0800|INFO|oracle-glassfish3.1|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=22;_ThreadName=Thread-1;|Listening to REST requests at context: /management/domain|#] [#|2011-01-20T15:22:00.782-0800|INFO|oracle-glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=123;_ThreadName=Thread-52;|WEB0671: Loading application [__admingui] at [/]|#] [#|2011-01-20T15:22:00.784-0800|INFO|oracle-glassfish3.1|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=123;_ThreadName=Thread-52;|CORE10010: Loading application __admingui done in 8,244 ms|#] [#|2011-01-20T15:22:00.785-0800|INFO|oracle-glassfish3.1|javax.enterprise.system.core.com.sun.enterprise.v3.admin.adapter|_ThreadID=123;_ThreadName=Thread-52;|The Admin Console application is loaded.|#] [#|2011-01-20T15:22:00.782-0800|INFO|oracle-glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=123;_ThreadName=Thread-1;|WEB0671: Loading application [__admingui] at [/]|#] [#|2011-01-20T15:22:00.784-0800|INFO|oracle-glassfish3.1|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=123;_ThreadName=Thread-1;|CORE10010: Loading application __admingui done in 8,244 ms|#] [#|2011-01-20T15:22:00.785-0800|INFO|oracle-glassfish3.1|javax.enterprise.system.core.com.sun.enterprise.v3.admin.adapter|_ThreadID=123;_ThreadName=Thread-1;|The Admin Console application is loaded.|#] [#|2011-01-20T15:22:03.788-0800|WARNING|oracle-glassfish3.1|org.apache.catalina.connector.Request|_ThreadID=22;_ThreadName=admin-thread-pool-4848(5);|PWC4011: Unable to set request character encoding to UTF-8 from context , because request parameters have already been read, or ServletRequest.getReader() has already been called|#] [#|2011-01-20T15:22:03.788-0800|WARNING|oracle-glassfish3.1|org.apache.catalina.connector.Request|_ThreadID=22;_ThreadName=Thread-1;|PWC4011: Unable to set request character encoding to UTF-8 from context , because request parameters have already been read, or ServletRequest.getReader() has already been called|#] [#|2011-01-20T15:22:13.379-0800|INFO|oracle-glassfish3.1|org.glassfish.admingui|_ThreadID=22;_ThreadName=admin-thread-pool-4848(5);|Admin Console: Initializing Session Attributes...|#] [#|2011-01-20T15:22:13.379-0800|INFO|oracle-glassfish3.1|org.glassfish.admingui|_ThreadID=22;_ThreadName=Thread-1;|Admin Console: Initializing Session Attributes...|#] [#|2011-01-20T15:22:14.814-0800|WARNING|oracle-glassfish3.1|org.glassfish.admingui|_ThreadID=23;_ThreadName=Thread-61;|Cannot create update center Image for /export/home/glassfish3; Update Center functionality will not be available in Admin Console|#] [#|2011-01-20T15:22:14.814-0800|WARNING|oracle-glassfish3.1|org.glassfish.admingui|_ThreadID=23;_ThreadName=Thread-1;|Cannot create update center Image for /export/home/glassfish3; Update Center functionality will not be available in Admin Console|#] [#|2011-01-20T15:32:05.647-0800|WARNING|oracle-glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=86;_ThreadName=admin-thread-pool-4848(2);|StandardWrapperValve[FacesServlet]: PWC1406: Servlet.service() for servlet FacesServlet threw exception java.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade.reset(ResponseFacade.java:369) at com.sun.faces.context.ExternalContextImpl.responseReset(ExternalContextImpl.java:821) at com.sun.faces.context.ExceptionHandlerImpl.throwIt(ExceptionHandlerImpl.java:251) at com.sun.faces.context.ExceptionHandlerImpl.handle(ExceptionHandlerImpl.java:141) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:119) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:396) at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1534) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215) at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:233) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655) at org.apache.catalina.core.StandardPipeline.doChainInvoke(StandardPipeline.java:600) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96) at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:326) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:227) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:228) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:818) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1008) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59) at com.sun.grizzly.ContextTask.run(ContextTask.java:71) at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513) at java.lang.Thread.run(Thread.java:662) |#] [#|2011-01-20T15:32:05.647-0800|WARNING|oracle-glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=86;_ThreadName=Thread-1;|StandardWrapperValve[FacesServlet]: PWC1406: Servlet.service() for servlet FacesServlet threw exception java.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade.reset(ResponseFacade.java:369) at com.sun.faces.context.ExternalContextImpl.responseReset(ExternalContextImpl.java:821) at com.sun.faces.context.ExceptionHandlerImpl.throwIt(ExceptionHandlerImpl.java:251) at com.sun.faces.context.ExceptionHandlerImpl.handle(ExceptionHandlerImpl.java:141) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:119) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:396) at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1534) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215) at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:233) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655) at org.apache.catalina.core.StandardPipeline.doChainInvoke(StandardPipeline.java:600) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96) at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:326) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:227) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:228) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:818) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1008) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59) at com.sun.grizzly.ContextTask.run(ContextTask.java:71) at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513) at java.lang.Thread.run(Thread.java:662) |#] ====================== Please note that this is an intermittent issue. Not always reproducible. Please document this - if root cause is not identified in time for 3.1 release.

    Java.net JIRA | 6 years ago | Harshad Vilekar
    java.lang.IllegalStateException
  2. 0

    getting problem in downloading msword file using jsp

    Coderanch | 4 years ago | Nazeer Ahammad
    java.lang.IllegalStateException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 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.IllegalStateException

      No message provided

      at org.apache.catalina.connector.ResponseFacade.reset()
    2. Glassfish Core
      ResponseFacade.reset
      1. org.apache.catalina.connector.ResponseFacade.reset(ResponseFacade.java:369)
      1 frame
    3. JSF
      LifecycleImpl.render
      1. com.sun.faces.context.ExternalContextImpl.responseReset(ExternalContextImpl.java:821)
      2. com.sun.faces.context.ExceptionHandlerImpl.throwIt(ExceptionHandlerImpl.java:251)
      3. com.sun.faces.context.ExceptionHandlerImpl.handle(ExceptionHandlerImpl.java:141)
      4. com.sun.faces.lifecycle.Phase.doPhase(Phase.java:119)
      5. com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
      5 frames
    4. JavaEE 7
      FacesServlet.service
      1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:396)
      1 frame
    5. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1534)
      2. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
      3. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
      3 frames
    6. com.sun.webui
      UploadFilter.doFilter
      1. com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:233)
      1 frame
    7. Glassfish Core
      StandardPipeline.doChainInvoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      5. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
      6. org.apache.catalina.core.StandardPipeline.doChainInvoke(StandardPipeline.java:600)
      6 frames
    8. Glassfish
      PESessionLockingStandardPipeline.invoke
      1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96)
      2. com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
      2 frames
    9. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
      2. org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:326)
      3. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:227)
      3 frames
    10. Kernel Classes
      ContainerMapper.service
      1. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:228)
      1 frame
    11. Grizzly WS
      AbstractThreadPool$Worker.run
      1. com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:818)
      2. com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)
      3. com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1008)
      4. com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
      5. com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      6. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      7. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      8. com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      9. com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
      10. com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
      11. com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      12. com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
      13. com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      13 frames
    12. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame