org.apache.tapestry5.ioc.internal.OperationException

apache.org | 3 months ago
  1. 0

    Building Lift for the first time

    Google Groups | 5 years ago | Alex Black
    java.util.EmptyStackException
  2. 0

    I get a portlet failure with the following stack trace, but not always or on all machines... org.jasig.portal.channels.portlet.PortletDispatchException: Exception executing portlet RenderRequest: [channelPublishId=102, channelSubscribeId=n43, portletApplicationId=/portal/jasig-widget-portlets, portletName=google-maps, user=aw411510] at org.jasig.portal.channels.portlet.SpringPortletChannelImpl.render(SpringPortletChannelImpl.java:385) at org.jasig.portal.channels.portlet.CSpringPortletAdaptor.renderCharacters(CSpringPortletAdaptor.java:217) at org.jasig.portal.ChannelRenderer$Worker.execute(ChannelRenderer.java:641) at org.jasig.portal.utils.threading.BaseTask.run(BaseTask.java:41) at sun.reflect.GeneratedMethodAccessor197.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.orm.jpa.JpaInterceptor.invoke(JpaInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at org.jasig.portal.$Proxy204.run(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) 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) Caused by: org.jasig.portal.channels.portlet.PortletDispatchException: The portlet window 'PortletWindowImpl[portletWindowId=102_n43_46.n43,contextPath=/portal/jasig-widget-portlets,portletName=google-maps,windowState=normal,portletMode=view,expirationCache=<null>,requestParameters={},delegationParent=<null>]' threw an exception while executing render. at org.jasig.portal.portlet.rendering.PortletRendererImpl.doRender(PortletRendererImpl.java:236) at org.jasig.portal.channels.portlet.SpringPortletChannelImpl.render(SpringPortletChannelImpl.java:381) ... 19 more Caused by: javax.portlet.PortletException at org.apache.pluto.internal.impl.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:113) at org.springframework.web.portlet.DispatcherPortlet.doRender(DispatcherPortlet.java:1140) at org.springframework.web.portlet.DispatcherPortlet.render(DispatcherPortlet.java:1094) at org.springframework.web.portlet.DispatcherPortlet.doRenderService(DispatcherPortlet.java:832) at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:483) at org.springframework.web.portlet.FrameworkPortlet.doDispatch(FrameworkPortlet.java:453) at javax.portlet.GenericPortlet.render(GenericPortlet.java:175) at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:208) at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:139) Caused by: java.util.EmptyStackException at java.util.Stack.peek(Stack.java:85) at com.yahoo.platform.yui.compressor.JavaScriptCompressor.getCurrentScope(JavaScriptCompressor.java:559) at com.yahoo.platform.yui.compressor.JavaScriptCompressor.printSymbolTree(JavaScriptCompressor.java:1097) at com.yahoo.platform.yui.compressor.JavaScriptCompressor.compress(JavaScriptCompressor.java:553) at org.jasig.resourceserver.utils.taglib.JavaScriptMinificationTag.doAfterBody(JavaScriptMinificationTag.java:99) at org.apache.jsp.WEB_002dINF.jsp.googleMaps_jsp._jspx_meth_rs_005fcompressJs_005f0(googleMaps_jsp.java:282) at org.apache.jsp.WEB_002dINF.jsp.googleMaps_jsp._jspService(googleMaps_jsp.java:86) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) It looks as though there's a simple way at least to prevent the rendering error (if not follow through on the minification). I'll post a patch.

    Apereo Issues | 5 years ago | Drew Wills
    org.jasig.portal.channels.portlet.PortletDispatchException: Exception executing portlet RenderRequest: [channelPublishId=102, channelSubscribeId=n43, portletApplicationId=/portal/jasig-widget-portlets, portletName=google-maps, user=aw411510]
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    I get a portlet failure with the following stack trace, but not always or on all machines... org.jasig.portal.channels.portlet.PortletDispatchException: Exception executing portlet RenderRequest: [channelPublishId=102, channelSubscribeId=n43, portletApplicationId=/portal/jasig-widget-portlets, portletName=google-maps, user=aw411510] at org.jasig.portal.channels.portlet.SpringPortletChannelImpl.render(SpringPortletChannelImpl.java:385) at org.jasig.portal.channels.portlet.CSpringPortletAdaptor.renderCharacters(CSpringPortletAdaptor.java:217) at org.jasig.portal.ChannelRenderer$Worker.execute(ChannelRenderer.java:641) at org.jasig.portal.utils.threading.BaseTask.run(BaseTask.java:41) at sun.reflect.GeneratedMethodAccessor197.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.orm.jpa.JpaInterceptor.invoke(JpaInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at org.jasig.portal.$Proxy204.run(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) 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) Caused by: org.jasig.portal.channels.portlet.PortletDispatchException: The portlet window 'PortletWindowImpl[portletWindowId=102_n43_46.n43,contextPath=/portal/jasig-widget-portlets,portletName=google-maps,windowState=normal,portletMode=view,expirationCache=<null>,requestParameters={},delegationParent=<null>]' threw an exception while executing render. at org.jasig.portal.portlet.rendering.PortletRendererImpl.doRender(PortletRendererImpl.java:236) at org.jasig.portal.channels.portlet.SpringPortletChannelImpl.render(SpringPortletChannelImpl.java:381) ... 19 more Caused by: javax.portlet.PortletException at org.apache.pluto.internal.impl.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:113) at org.springframework.web.portlet.DispatcherPortlet.doRender(DispatcherPortlet.java:1140) at org.springframework.web.portlet.DispatcherPortlet.render(DispatcherPortlet.java:1094) at org.springframework.web.portlet.DispatcherPortlet.doRenderService(DispatcherPortlet.java:832) at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:483) at org.springframework.web.portlet.FrameworkPortlet.doDispatch(FrameworkPortlet.java:453) at javax.portlet.GenericPortlet.render(GenericPortlet.java:175) at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:208) at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:139) Caused by: java.util.EmptyStackException at java.util.Stack.peek(Stack.java:85) at com.yahoo.platform.yui.compressor.JavaScriptCompressor.getCurrentScope(JavaScriptCompressor.java:559) at com.yahoo.platform.yui.compressor.JavaScriptCompressor.printSymbolTree(JavaScriptCompressor.java:1097) at com.yahoo.platform.yui.compressor.JavaScriptCompressor.compress(JavaScriptCompressor.java:553) at org.jasig.resourceserver.utils.taglib.JavaScriptMinificationTag.doAfterBody(JavaScriptMinificationTag.java:99) at org.apache.jsp.WEB_002dINF.jsp.googleMaps_jsp._jspx_meth_rs_005fcompressJs_005f0(googleMaps_jsp.java:282) at org.apache.jsp.WEB_002dINF.jsp.googleMaps_jsp._jspService(googleMaps_jsp.java:86) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) It looks as though there's a simple way at least to prevent the rendering error (if not follow through on the minification). I'll post a patch.

    Apereo Issues | 5 years ago | Drew Wills
    org.jasig.portal.channels.portlet.PortletDispatchException: Exception executing portlet RenderRequest: [channelPublishId=102, channelSubscribeId=n43, portletApplicationId=/portal/jasig-widget-portlets, portletName=google-maps, user=aw411510]
  5. 0

    EmptyStackException

    Stack Overflow | 4 years ago | user1093111
    java.util.EmptyStackException
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.util.EmptyStackException

    No message provided

    at java.util.Stack.peek()
  2. Java RT
    Stack.peek
    1. java.util.Stack.peek(Stack.java:85)
    1 frame
  3. yui compressor
    JavaScriptCompressor.compress
    1. com.yahoo.platform.yui.compressor.JavaScriptCompressor.getCurrentScope(JavaScriptCompressor.java:559)
    2. com.yahoo.platform.yui.compressor.JavaScriptCompressor.printSymbolTree(JavaScriptCompressor.java:1105)
    3. com.yahoo.platform.yui.compressor.JavaScriptCompressor.compress(JavaScriptCompressor.java:553)
    3 frames
  4. org.apache.tapestry5
    MasterResourceMinimizer.minimize
    1. org.apache.tapestry5.internal.yuicompressor.JavaScriptResourceMinimizer.doMinimize(JavaScriptResourceMinimizer.java:98)
    2. org.apache.tapestry5.internal.yuicompressor.AbstractMinimizer$1.perform(AbstractMinimizer.java:68)
    3. org.apache.tapestry5.internal.TapestryInternalUtils$5.run(TapestryInternalUtils.java:582)
    4. org.apache.tapestry5.ioc.internal.OperationTrackerImpl$1.invoke(OperationTrackerImpl.java:51)
    5. org.apache.tapestry5.ioc.internal.OperationTrackerImpl$1.invoke(OperationTrackerImpl.java:48)
    6. org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74)
    7. org.apache.tapestry5.ioc.internal.OperationTrackerImpl.run(OperationTrackerImpl.java:47)
    8. org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.run(PerThreadOperationTracker.java:76)
    9. org.apache.tapestry5.ioc.internal.RegistryImpl.run(RegistryImpl.java:1109)
    10. org.apache.tapestry5.internal.TapestryInternalUtils.performIO(TapestryInternalUtils.java:576)
    11. org.apache.tapestry5.internal.yuicompressor.AbstractMinimizer.minimize(AbstractMinimizer.java:62)
    12. org.apache.tapestry5.internal.services.assets.MasterResourceMinimizer.minimize(MasterResourceMinimizer.java:44)
    12 frames
  5. Unknown
    $ResourceMinimizer_1250535a97d2196c.minimize
    1. $ResourceMinimizer_1250535a97d2196c.minimize(Unknown Source)
    1 frame
  6. org.apache.tapestry5
    AssetDispatcher.dispatch
    1. org.apache.tapestry5.internal.services.assets.StackAssetRequestHandler.assembleStackContent(StackAssetRequestHandler.java:175)
    2. org.apache.tapestry5.internal.services.assets.StackAssetRequestHandler.assembleStackContent(StackAssetRequestHandler.java:163)
    3. org.apache.tapestry5.internal.services.assets.StackAssetRequestHandler.getUncompressedResource(StackAssetRequestHandler.java:146)
    4. org.apache.tapestry5.internal.services.assets.StackAssetRequestHandler.getResource(StackAssetRequestHandler.java:123)
    5. org.apache.tapestry5.internal.services.assets.StackAssetRequestHandler.access$100(StackAssetRequestHandler.java:40)
    6. org.apache.tapestry5.internal.services.assets.StackAssetRequestHandler$1.perform(StackAssetRequestHandler.java:103)
    7. org.apache.tapestry5.internal.TapestryInternalUtils$5.run(TapestryInternalUtils.java:582)
    8. org.apache.tapestry5.ioc.internal.OperationTrackerImpl$1.invoke(OperationTrackerImpl.java:51)
    9. org.apache.tapestry5.ioc.internal.OperationTrackerImpl$1.invoke(OperationTrackerImpl.java:48)
    10. org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74)
    11. org.apache.tapestry5.ioc.internal.OperationTrackerImpl.run(OperationTrackerImpl.java:47)
    12. org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.run(PerThreadOperationTracker.java:76)
    13. org.apache.tapestry5.ioc.internal.RegistryImpl.run(RegistryImpl.java:1109)
    14. org.apache.tapestry5.internal.TapestryInternalUtils.performIO(TapestryInternalUtils.java:576)
    15. org.apache.tapestry5.internal.services.assets.StackAssetRequestHandler.handleAssetRequest(StackAssetRequestHandler.java:96)
    16. org.apache.tapestry5.internal.services.AssetDispatcher.dispatch(AssetDispatcher.java:109)
    16 frames
  7. Unknown
    $Dispatcher_1250535a97d21961.dispatch
    1. $Dispatcher_1250535a97d21963.dispatch(Unknown Source)
    2. $Dispatcher_1250535a97d21967.dispatch(Unknown Source)
    3. $Dispatcher_1250535a97d21961.dispatch(Unknown Source)
    3 frames
  8. org.apache.tapestry5
    RequestErrorFilter.service
    1. org.apache.tapestry5.services.TapestryModule$RequestHandlerTerminator.service(TapestryModule.java:302)
    2. org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:26)
    2 frames
  9. Unknown
    $RequestHandler_1250535a97d21962.service
    1. $RequestHandler_1250535a97d21962.service(Unknown Source)
    1 frame
  10. org.apache.tapestry5
    TapestryModule$3.service
    1. org.apache.tapestry5.services.TapestryModule$3.service(TapestryModule.java:902)
    1 frame
  11. Unknown
    $RequestHandler_1250535a97d21962.service
    1. $RequestHandler_1250535a97d21962.service(Unknown Source)
    1 frame
  12. org.apache.tapestry5
    TapestryModule$2.service
    1. org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:892)
    1 frame
  13. Unknown
    $RequestHandler_1250535a97d21962.service
    1. $RequestHandler_1250535a97d21962.service(Unknown Source)
    1 frame
  14. org.apache.tapestry5
    StaticFilesFilter.service
    1. org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:90)
    1 frame
  15. Unknown
    $RequestHandler_1250535a97d21962.service
    1. $RequestHandler_1250535a97d21962.service(Unknown Source)
    1 frame
  16. group.app.web
    AppModule$1.service
    1. group.app.web.services.AppModule$1.service(AppModule.java:90)
    1 frame
  17. Unknown
    $RequestHandler_1250535a97d21956.service
    1. $RequestFilter_1250535a97d2195d.service(Unknown Source)
    2. $RequestHandler_1250535a97d21962.service(Unknown Source)
    3. $RequestHandler_1250535a97d21956.service(Unknown Source)
    3 frames
  18. org.apache.tapestry5
    GZipFilter.service
    1. org.apache.tapestry5.services.TapestryModule$HttpServletRequestHandlerTerminator.service(TapestryModule.java:253)
    2. org.apache.tapestry5.internal.gzip.GZipFilter.service(GZipFilter.java:53)
    2 frames
  19. Unknown
    $HttpServletRequestHandler_1250535a97d21958.service
    1. $HttpServletRequestHandler_1250535a97d21958.service(Unknown Source)
    1 frame
  20. org.apache.tapestry5
    IgnoredPathsFilter.service
    1. org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
    1 frame
  21. Unknown
    $HttpServletRequestHandler_1250535a97d21958.service
    1. $HttpServletRequestFilter_1250535a97d21955.service(Unknown Source)
    2. $HttpServletRequestHandler_1250535a97d21958.service(Unknown Source)
    2 frames
  22. org.apache.tapestry5
    TapestryModule$1.service
    1. org.apache.tapestry5.services.TapestryModule$1.service(TapestryModule.java:852)
    1 frame
  23. Unknown
    $HttpServletRequestHandler_1250535a97d21953.service
    1. $HttpServletRequestHandler_1250535a97d21958.service(Unknown Source)
    2. $HttpServletRequestHandler_1250535a97d21953.service(Unknown Source)
    2 frames
  24. org.apache.tapestry5
    TapestryFilter.doFilter
    1. org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:171)
    1 frame
  25. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
    5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
    7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
    8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)
    9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:403)
    10 frames
  26. Grizzly HTTP
    JIoEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:301)
    2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:162)
    3. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:140)
    4. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
    4 frames
  27. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    3. java.lang.Thread.run(Thread.java:680)
    3 frames