javax.portlet.PortletException: Request processing failed

Apereo Issues | Eric Dalquist | 10 years ago
  1. 0

    The permissions manager portlet fails with the exception: ERROR [pool-1-thread-2] [/uP3].[PermissionsManagerPortlet] Mar/30 10:16:31.909 - Servlet.service() for servlet PermissionsManagerPortlet threw exception javax.portlet.PortletException: Request processing failed at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:434) at org.springframework.web.portlet.FrameworkPortlet.doDispatch(FrameworkPortlet.java:391) at javax.portlet.GenericPortlet.render(GenericPortlet.java:175) at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:198) at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:141) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499) at org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:169) at org.apache.pluto.core.DefaultPortletInvokerService.render(DefaultPortletInvokerService.java:103) at org.apache.pluto.core.PortletContainerImpl.doRender(PortletContainerImpl.java:178) at org.jasig.portal.portlet.rendering.MultithreadedPortletRenderingModel$RenderingWorker.run(MultithreadedPortletRenderingModel.java:225) at org.jasig.portal.utils.ThreadLocalCopyRunnable.run(ThreadLocalCopyRunnable.java:111) at org.jasig.portal.spring.RequestContextAwareThreadLocalCopyRunnable.run(RequestContextAwareThreadLocalCopyRunnable.java:37) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:613) Caused by: java.lang.IllegalArgumentException: Don't know how to handle response instruction [ResponseInstruction@4f625f flowExecutionKey = '_cD99A3A45-4C85-C22D-437F-13B4D1CF57EC_kF9C49476-E835-AC8D-7DC6-5E37E99699C7', viewSelection = redirect:, flowExecutionContext = [FlowExecutionImpl@625ec1 flow = 'permissions-manager-flow', flowSessions = list[[FlowSessionImpl@ac7303 flow = 'permissions-manager-flow', state = 'selectOwner', scope = map[[empty]], flashMap = map[[empty]], status = Paused]]]] at org.springframework.webflow.executor.mvc.PortletFlowController.toModelAndView(PortletFlowController.java:286) at org.springframework.webflow.executor.mvc.PortletFlowController.handleRenderRequestInternal(PortletFlowController.java:180) at org.springframework.web.portlet.mvc.AbstractController.handleRenderRequest(AbstractController.java:217) at org.springframework.web.portlet.mvc.SimpleControllerHandlerAdapter.handleRender(SimpleControllerHandlerAdapter.java:52) at org.springframework.web.portlet.DispatcherPortlet.doRenderService(DispatcherPortlet.java:751) at org.jasig.portal.spring.PoliteDispatcherPortlet.doRenderService(PoliteDispatcherPortlet.java:47) at org.jasig.portal.portlets.permissions.PermissionsManagerDispatcherPortlet.doRenderService(PermissionsManagerDispatcherPortlet.java:23) at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:421) ... 23 more

    Apereo Issues | 10 years ago | Eric Dalquist
    javax.portlet.PortletException: Request processing failed
  2. 0

    The permissions manager portlet fails with the exception: ERROR [pool-1-thread-2] [/uP3].[PermissionsManagerPortlet] Mar/30 10:16:31.909 - Servlet.service() for servlet PermissionsManagerPortlet threw exception javax.portlet.PortletException: Request processing failed at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:434) at org.springframework.web.portlet.FrameworkPortlet.doDispatch(FrameworkPortlet.java:391) at javax.portlet.GenericPortlet.render(GenericPortlet.java:175) at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:198) at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:141) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499) at org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:169) at org.apache.pluto.core.DefaultPortletInvokerService.render(DefaultPortletInvokerService.java:103) at org.apache.pluto.core.PortletContainerImpl.doRender(PortletContainerImpl.java:178) at org.jasig.portal.portlet.rendering.MultithreadedPortletRenderingModel$RenderingWorker.run(MultithreadedPortletRenderingModel.java:225) at org.jasig.portal.utils.ThreadLocalCopyRunnable.run(ThreadLocalCopyRunnable.java:111) at org.jasig.portal.spring.RequestContextAwareThreadLocalCopyRunnable.run(RequestContextAwareThreadLocalCopyRunnable.java:37) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:613) Caused by: java.lang.IllegalArgumentException: Don't know how to handle response instruction [ResponseInstruction@4f625f flowExecutionKey = '_cD99A3A45-4C85-C22D-437F-13B4D1CF57EC_kF9C49476-E835-AC8D-7DC6-5E37E99699C7', viewSelection = redirect:, flowExecutionContext = [FlowExecutionImpl@625ec1 flow = 'permissions-manager-flow', flowSessions = list[[FlowSessionImpl@ac7303 flow = 'permissions-manager-flow', state = 'selectOwner', scope = map[[empty]], flashMap = map[[empty]], status = Paused]]]] at org.springframework.webflow.executor.mvc.PortletFlowController.toModelAndView(PortletFlowController.java:286) at org.springframework.webflow.executor.mvc.PortletFlowController.handleRenderRequestInternal(PortletFlowController.java:180) at org.springframework.web.portlet.mvc.AbstractController.handleRenderRequest(AbstractController.java:217) at org.springframework.web.portlet.mvc.SimpleControllerHandlerAdapter.handleRender(SimpleControllerHandlerAdapter.java:52) at org.springframework.web.portlet.DispatcherPortlet.doRenderService(DispatcherPortlet.java:751) at org.jasig.portal.spring.PoliteDispatcherPortlet.doRenderService(PoliteDispatcherPortlet.java:47) at org.jasig.portal.portlets.permissions.PermissionsManagerDispatcherPortlet.doRenderService(PermissionsManagerDispatcherPortlet.java:23) at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:421) ... 23 more

    Apereo Issues | 10 years ago | Eric Dalquist
    javax.portlet.PortletException: Request processing failed
  3. 0

    When requesting the same flow from two browser windows simultaneously after the application start we get error in one window. From the log it is obvious that the flow is created simultaneously in two request processing threads. 10:08:41 [INFO] resin-tcp-connection-*:8080-23:org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from file [/opt/com/caucho/resin/resin-current/webapps/test/WEB-INF/classes/flows/new-entry-flow-beans.xml] 10:08:41 [INFO] resin-tcp-connection-*:8080-21:org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from file [/opt/com/caucho/resin/resin-current/webapps/test/WEB-INF/classes/flows/new-entry-flow-beans.xml] 10:08:43 [DEBUG] resin-tcp-connection-*:8080-23:org.springframework.web.servlet.DispatcherServlet - Cleared thread-bound request context: HttpRequest[11] 10:08:43 [ERROR] resin-tcp-connection-*:8080-23:org.springframework.web.servlet.DispatcherServlet - Could not complete request java.lang.IllegalArgumentException: This flow 'new-entry-flow' already contains a state with id 'save' -- state ids must be locally unique to the flow definition; existing state-ids of this flow include: array<String>['start', 'start', 'input', 'save'] at org.springframework.webflow.Flow.add(Flow.java:202) at org.springframework.webflow.State.setFlow(State.java:119) at org.springframework.webflow.builder.DefaultFlowArtifactFactory.createState(DefaultFlowArtifactFactory.java:123) at org.springframework.webflow.builder.XmlFlowBuilder$LocalFlowArtifactFactory.createState(XmlFlowBuilder.java:1149) at org.springframework.webflow.builder.XmlFlowBuilder.parseActionState(XmlFlowBuilder.java:599) at org.springframework.webflow.builder.XmlFlowBuilder.addStateDefinitions(XmlFlowBuilder.java:550) at org.springframework.webflow.builder.XmlFlowBuilder.buildStates(XmlFlowBuilder.java:534) at org.springframework.webflow.builder.FlowAssembler.assembleFlow(FlowAssembler.java:111) at org.springframework.webflow.registry.RefreshableFlowHolder.assembleFlow(RefreshableFlowHolder.java:121) at org.springframework.webflow.registry.RefreshableFlowHolder.getFlow(RefreshableFlowHolder.java:76) at org.springframework.webflow.registry.FlowRegistryImpl.getFlow(FlowRegistryImpl.java:170) at org.springframework.webflow.execution.repository.support.AbstractFlowExecutionRepository.createFlowExecution(AbstractFlowExecutionRepository.java:76) at org.springframework.webflow.executor.FlowExecutorImpl.launch(FlowExecutorImpl.java:154) at org.springframework.webflow.executor.support.FlowRequestHandler.handleFlowRequest(FlowRequestHandler.java:117) at org.springframework.webflow.executor.mvc.FlowController.handleRequestInternal(FlowController.java:198) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)

    Spring JIRA | 1 decade ago | Serge Bogatyrjov
    java.lang.IllegalArgumentException: This flow 'new-entry-flow' already contains a state with id 'save' -- state ids must be locally unique to the flow definition; existing state-ids of this flow include: array<String>['start', 'start', 'input', 'save']
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When requesting the same flow from two browser windows simultaneously after the application start we get error in one window. From the log it is obvious that the flow is created simultaneously in two request processing threads. 10:08:41 [INFO] resin-tcp-connection-*:8080-23:org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from file [/opt/com/caucho/resin/resin-current/webapps/test/WEB-INF/classes/flows/new-entry-flow-beans.xml] 10:08:41 [INFO] resin-tcp-connection-*:8080-21:org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from file [/opt/com/caucho/resin/resin-current/webapps/test/WEB-INF/classes/flows/new-entry-flow-beans.xml] 10:08:43 [DEBUG] resin-tcp-connection-*:8080-23:org.springframework.web.servlet.DispatcherServlet - Cleared thread-bound request context: HttpRequest[11] 10:08:43 [ERROR] resin-tcp-connection-*:8080-23:org.springframework.web.servlet.DispatcherServlet - Could not complete request java.lang.IllegalArgumentException: This flow 'new-entry-flow' already contains a state with id 'save' -- state ids must be locally unique to the flow definition; existing state-ids of this flow include: array<String>['start', 'start', 'input', 'save'] at org.springframework.webflow.Flow.add(Flow.java:202) at org.springframework.webflow.State.setFlow(State.java:119) at org.springframework.webflow.builder.DefaultFlowArtifactFactory.createState(DefaultFlowArtifactFactory.java:123) at org.springframework.webflow.builder.XmlFlowBuilder$LocalFlowArtifactFactory.createState(XmlFlowBuilder.java:1149) at org.springframework.webflow.builder.XmlFlowBuilder.parseActionState(XmlFlowBuilder.java:599) at org.springframework.webflow.builder.XmlFlowBuilder.addStateDefinitions(XmlFlowBuilder.java:550) at org.springframework.webflow.builder.XmlFlowBuilder.buildStates(XmlFlowBuilder.java:534) at org.springframework.webflow.builder.FlowAssembler.assembleFlow(FlowAssembler.java:111) at org.springframework.webflow.registry.RefreshableFlowHolder.assembleFlow(RefreshableFlowHolder.java:121) at org.springframework.webflow.registry.RefreshableFlowHolder.getFlow(RefreshableFlowHolder.java:76) at org.springframework.webflow.registry.FlowRegistryImpl.getFlow(FlowRegistryImpl.java:170) at org.springframework.webflow.execution.repository.support.AbstractFlowExecutionRepository.createFlowExecution(AbstractFlowExecutionRepository.java:76) at org.springframework.webflow.executor.FlowExecutorImpl.launch(FlowExecutorImpl.java:154) at org.springframework.webflow.executor.support.FlowRequestHandler.handleFlowRequest(FlowRequestHandler.java:117) at org.springframework.webflow.executor.mvc.FlowController.handleRequestInternal(FlowController.java:198) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)

    Spring JIRA | 1 decade ago | Serge Bogatyrjov
    java.lang.IllegalArgumentException: This flow 'new-entry-flow' already contains a state with id 'save' -- state ids must be locally unique to the flow definition; existing state-ids of this flow include: array<String>['start', 'start', 'input', 'save']
  6. 0

    skylark: cannot reference other label as output

    GitHub | 2 years ago | hanwen
    java.lang.RuntimeException: Unrecoverable error while evaluating node 'PACKAGE:src/main/protobuf' (requested by nodes 'RECURSIVE_PKG:[/home/hanwen/vc/bazel]/[src/main/protobuf]')

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

      Don't know how to handle response instruction [ResponseInstruction@4f625f flowExecutionKey = '_cD99A3A45-4C85-C22D-437F-13B4D1CF57EC_kF9C49476-E835-AC8D-7DC6-5E37E99699C7', viewSelection = redirect:, flowExecutionContext = [FlowExecutionImpl@625ec1 flow = 'permissions-manager-flow', flowSessions = list[[FlowSessionImpl@ac7303 flow = 'permissions-manager-flow', state = 'selectOwner', scope = map[[empty]], flashMap = map[[empty]], status = Paused]]]]

      at org.springframework.webflow.executor.mvc.PortletFlowController.toModelAndView()
    2. Spring Web Flow
      PortletFlowController.handleRenderRequestInternal
      1. org.springframework.webflow.executor.mvc.PortletFlowController.toModelAndView(PortletFlowController.java:286)
      2. org.springframework.webflow.executor.mvc.PortletFlowController.handleRenderRequestInternal(PortletFlowController.java:180)
      2 frames
    3. Spring Web Portlet
      DispatcherPortlet.doRenderService
      1. org.springframework.web.portlet.mvc.AbstractController.handleRenderRequest(AbstractController.java:217)
      2. org.springframework.web.portlet.mvc.SimpleControllerHandlerAdapter.handleRender(SimpleControllerHandlerAdapter.java:52)
      3. org.springframework.web.portlet.DispatcherPortlet.doRenderService(DispatcherPortlet.java:751)
      3 frames
    4. org.jasig.portal
      PermissionsManagerDispatcherPortlet.doRenderService
      1. org.jasig.portal.spring.PoliteDispatcherPortlet.doRenderService(PoliteDispatcherPortlet.java:47)
      2. org.jasig.portal.portlets.permissions.PermissionsManagerDispatcherPortlet.doRenderService(PermissionsManagerDispatcherPortlet.java:23)
      2 frames
    5. Spring Web Portlet
      FrameworkPortlet.doDispatch
      1. org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:421)
      2. org.springframework.web.portlet.FrameworkPortlet.doDispatch(FrameworkPortlet.java:391)
      2 frames
    6. Java Portlet Specification V2.0
      GenericPortlet.render
      1. javax.portlet.GenericPortlet.render(GenericPortlet.java:175)
      1 frame
    7. Pluto Portlet Container
      PortletServlet.doGet
      1. org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:198)
      2. org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:141)
      2 frames
    8. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      2 frames
    9. Glassfish Core
      ApplicationDispatcher.include
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
      4. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
      5. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
      5 frames
    10. Pluto Portlet Container
      PortletContainerImpl.doRender
      1. org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:169)
      2. org.apache.pluto.core.DefaultPortletInvokerService.render(DefaultPortletInvokerService.java:103)
      3. org.apache.pluto.core.PortletContainerImpl.doRender(PortletContainerImpl.java:178)
      3 frames
    11. org.jasig.portal
      RequestContextAwareThreadLocalCopyRunnable.run
      1. org.jasig.portal.portlet.rendering.MultithreadedPortletRenderingModel$RenderingWorker.run(MultithreadedPortletRenderingModel.java:225)
      2. org.jasig.portal.utils.ThreadLocalCopyRunnable.run(ThreadLocalCopyRunnable.java:111)
      3. org.jasig.portal.spring.RequestContextAwareThreadLocalCopyRunnable.run(RequestContextAwareThreadLocalCopyRunnable.java:37)
      3 frames
    12. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:123)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
      6. java.lang.Thread.run(Thread.java:613)
      6 frames