Portlet Exception

Hello Experts,

Im getting a portlet exception while starting the MWS page.

Exception is as follows:
[POP.001.0002] A “javax.portlet.PortletException” occurred with the Message "at app.tabs.TabsPortlet.doView

Help to solve my issue.
Thanks in advance.

Hi Lavanya,

please provide your wM Version.

Are there any recent changes to your environment, i.e. new Fixes?

Regards,
Holger

Iam using wM8.2V …no changes to environment were done actually.

Hi Lavanya,

is there anything in the full.log under MWS/server/default/logs related to this issue?

Did you try to restart the MWS and check if this helps?

Regards,
Holger

Hi Holger ,

Yes ,I have done checking by restarting the MWS but getting same issue,
here is the error for full.log :

2017-03-22 15:58:09 IST (Framework:INFO) - My webMethods Server “MyMWS” Node “MyMWS” took 619 seconds to initialize
role: search
role: notification
role: autodeploy
role: taskengine
http listening at: GUEST-673:8585
FrontEndUrl: http://GUEST-673:8585

2017-03-22 15:58:09 IST (Framework:INFO) - Initializing component: com.webMethods.portal.system.impl.SavePerfData
2017-03-22 15:58:09 IST (Framework:INFO) - Initializing component: com.webMethods.jackrabbit.spi2mws.SearchIndexInitializer
2017-03-22 15:58:09 IST (com.webMethods.jackrabbit.spi2mws.SearchIndexInitializer:INFO) - Initializing the search index asynchronously
2017-03-22 15:58:09 IST (Framework:INFO) - Initializing component: com.webMethods.portal.system.impl.UpdateBuildVersion
2017-03-22 15:58:09 IST (Framework:INFO) - Cleaning up temp folder …
2017-03-22 15:58:10 IST (Framework:INFO) - Done cleaning temp folder.
2017-03-22 15:58:10 IST (task:INFO) - Using C:/SoftwareAG82/MWS/server/MyMWS/system/lwq/MyMWS directory for completion queue storage
2017-03-22 15:58:10 IST (Configuration:INFO) - Out-of-band file changes will be monitored every ‘60000’ milliseconds
2017-03-22 15:58:14 IST (Debug.com.webMethods.lwq.impl.DBMessageStoreMgr:ERROR) - Failed to initialize DB message store.
2017-03-22 15:58:15 IST (task:INFO) - Initialized TaskCompletion Queue
2017-03-22 16:21:30 IST (Framework:INFO) [RID:1] - Processing request [bcx5vje6gc3o:null] http://localhost:8585/ (GET)
2017-03-22 16:23:01 IST (jsf:ERROR) [RID:1] - no axsrft secrets – cannot generate anti-xsrf tokens!
2017-03-22 16:23:38 IST (Framework:INFO) [RID:2] - Processing request [bcx5vje6gc3o:null] http://localhost:8585/wm_timezone.settimezone (GET)
2017-03-22 16:24:18 IST (Framework:INFO) [RID:3] - Processing request [bcx5vje6gc3o:Guest] http://localhost:8585/user.current.start.page (POST)
2017-03-22 16:24:22 IST (jsf:ERROR) [RID:3] - no axsrft secrets – cannot generate anti-xsrf tokens!
2017-03-22 16:25:00 IST (Framework:INFO) [RID:3] - [POP.001.0002] A “java.lang.NullPointerException” occurred with the Message “at app.editable.EditablePortlet.printCurrentUserModel(EditablePortlet.java:135)”
java.lang.NullPointerException
at app.editable.EditablePortlet.printCurrentUserModel(EditablePortlet.java:135)
at app.editable.EditablePortlet.printNoodleScripts(EditablePortlet.java:85)
at app.editable.EditablePortlet.doView(EditablePortlet.java:167)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:290)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:218)
at com.webMethods.portal.framework.portletcontainer.impl.PortletApplicationHandler.process(PortletApplicationHandler.java:495)
at com.webMethods.portal.framework.portletcontainer.servlet.PortletServlet.service(PortletServlet.java:58)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:192)
at com.webMethods.portal.framework.portletcontainer.PortletContainer.dispatch(PortletContainer.java:221)
at com.webMethods.portal.framework.portletcontainer.PortletContainer.process(PortletContainer.java:130)
at com.webMethods.portal.framework.portletcontainer.PortletContainer.renderPortlet(PortletContainer.java:103)
at com.webMethods.portal.framework.portletcontainer.beans.PortletBean.processRequest(PortletBean.java:193)
at com.webMethods.portal.framework.portletcontainer.beans.PortletBean.getContentInternal(PortletBean.java:82)
at com.webMethods.portal.framework.portlet.beans.BasicPortletBean.getContent(BasicPortletBean.java:151)
at com.webMethods.portal.mech.portlet.impl.PortletMechanics.getPortletContent(PortletMechanics.java:96)
at com.webMethods.portal.mech.storage.page.PortletHelper.renderContent(PortletHelper.java:428)
at com.webMethods.portal.mech.storage.page.PortletHelper.renderContent(PortletHelper.java:400)
at com.webMethods.portal.framework.presentation.renderers.ShellSubRenderer.renderPortlet(ShellSubRenderer.java:117)
at com.webMethods.portal.framework.presentation.renderers.PortalPageSubRenderer.renderColumn(PortalPageSubRenderer.java:397)
at com.webMethods.portal.framework.presentation.renderers.PortalPageSubRenderer.renderRow(PortalPageSubRenderer.java:253)
at com.webMethods.portal.framework.presentation.renderers.PortalPageSubRenderer.renderColumn(PortalPageSubRenderer.java:401)
at com.webMethods.portal.framework.presentation.renderers.PortalPageSubRenderer.renderRow(PortalPageSubRenderer.java:253)
at com.webMethods.portal.framework.presentation.renderers.PortalPageSubRenderer.renderContent(PortalPageSubRenderer.java:135)
at com.webMethods.portal.framework.presentation.renderers.ShellSubRenderer.subrender(ShellSubRenderer.java:77)
at com.webMethods.portal.framework.presentation.renderers.DefaultRenderer.renderPageStart(DefaultRenderer.java:261)
at com.webMethods.portal.framework.presentation.renderers.DefaultRenderer.render(DefaultRenderer.java:223)
at com.webMethods.portal.framework.presentation.PresentationManager.handlePres(PresentationManager.java:370)
at com.webMethods.portal.framework.dispatch.DispatchManager.pres(DispatchManager.java:623)
at com.webMethods.portal.framework.dispatch.DispatchManager.handle(DispatchManager.java:458)
at com.webMethods.portal.framework.dispatch.DispatchManager.handleDispatch(DispatchManager.java:369)
at com.webMethods.portal.framework.impl.PortalServlet.service(PortalServlet.java:272)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at com.webMethods.portal.framework.impl.NTLMFilter.doFilter(NTLMFilter.java:50)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.webMethods.caf.faces.servlet.GZIPFilter.doFilter(GZIPFilter.java:42)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:938)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
2017-03-22 16:25:17 IST (Framework:INFO) [RID:3] - [POP.001.0002] A “javax.portlet.PortletException” occurred with the Message “at app.tabs.TabsPortlet.doView(TabsPortlet.java:108)”
javax.portlet.PortletException
at app.tabs.TabsPortlet.doView(TabsPortlet.java:108)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:290)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:218)
at com.webMethods.portal.framework.portletcontainer.impl.PortletApplicationHandler.process(PortletApplicationHandler.java:495)
at com.webMethods.portal.framework.portletcontainer.servlet.PortletServlet.service(PortletServlet.java:58)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:192)
at com.webMethods.portal.framework.portletcontainer.PortletContainer.dispatch(PortletContainer.java:221)
at com.webMethods.portal.framework.portletcontainer.PortletContainer.process(PortletContainer.java:130)
at com.webMethods.portal.framework.portletcontainer.PortletContainer.renderPortlet(PortletContainer.java:103)
at com.webMethods.portal.framework.portletcontainer.beans.PortletBean.processRequest(PortletBean.java:193)
at com.webMethods.portal.framework.portletcontainer.beans.PortletBean.getContentInternal(PortletBean.java:82)
at com.webMethods.portal.framework.portlet.beans.BasicPortletBean.getContent(BasicPortletBean.java:151)
at com.webMethods.portal.mech.portlet.impl.PortletMechanics.getPortletContent(PortletMechanics.java:96)
at com.webMethods.portal.mech.storage.page.PortletHelper.renderContent(PortletHelper.java:428)
at com.webMethods.portal.mech.storage.page.PortletHelper.renderContent(PortletHelper.java:400)
at com.webMethods.portal.framework.presentation.renderers.ShellSubRenderer.renderPortlet(ShellSubRenderer.java:117)
at com.webMethods.portal.framework.presentation.renderers.PortalPageSubRenderer.renderColumn(PortalPageSubRenderer.java:397)
at com.webMethods.portal.framework.presentation.renderers.PortalPageSubRenderer.renderRow(PortalPageSubRenderer.java:253)
at com.webMethods.portal.framework.presentation.renderers.PortalPageSubRenderer.renderColumn(PortalPageSubRenderer.java:401)
at com.webMethods.portal.framework.presentation.renderers.PortalPageSubRenderer.renderRow(PortalPageSubRenderer.java:253)
at com.webMethods.portal.framework.presentation.renderers.PortalPageSubRenderer.renderColumn(PortalPageSubRenderer.java:401)
at com.webMethods.portal.framework.presentation.renderers.PortalPageSubRenderer.renderRow(PortalPageSubRenderer.java:253)
at com.webMethods.portal.framework.presentation.renderers.PortalPageSubRenderer.renderContent(PortalPageSubRenderer.java:135)
at com.webMethods.portal.framework.presentation.renderers.ShellSubRenderer.subrender(ShellSubRenderer.java:77)
at com.webMethods.portal.framework.presentation.renderers.DefaultRenderer.renderPageStart(DefaultRenderer.java:261)
at com.webMethods.portal.framework.presentation.renderers.DefaultRenderer.render(DefaultRenderer.java:223)
at com.webMethods.portal.framework.presentation.PresentationManager.handlePres(PresentationManager.java:370)
at com.webMethods.portal.framework.dispatch.DispatchManager.pres(DispatchManager.java:623)
at com.webMethods.portal.framework.dispatch.DispatchManager.handle(DispatchManager.java:458)
at com.webMethods.portal.framework.dispatch.DispatchManager.handleDispatch(DispatchManager.java:369)
at com.webMethods.portal.framework.impl.PortalServlet.service(PortalServlet.java:272)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at com.webMethods.portal.framework.impl.NTLMFilter.doFilter(NTLMFilter.java:50)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.webMethods.caf.faces.servlet.GZIPFilter.doFilter(GZIPFilter.java:42)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:938)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
Caused by: java.lang.RuntimeException: com.webMethods.portal.bizPolicy.BizException: [POP.002.0006] Unable to locate biz policy for resource: null
at com.webMethods.portal.noodle.tabset.impl.UserTabSet.addTab(UserTabSet.java:194)
at com.webMethods.portal.noodle.tabset.impl.UserTabSetService.processRequest(UserTabSetService.java:291)
at app.tabs.TabsPortlet.doView(TabsPortlet.java:51)
… 60 more
Caused by: com.webMethods.portal.bizPolicy.BizException: [POP.002.0006] Unable to locate biz policy for resource: null
at com.webMethods.portal.bizPolicy.biz.impl.BizPolicyManager.getBizPolicy(BizPolicyManager.java:55)
at com.webMethods.portal.noodle.tabset.impl.UserTabSetService.createUserTab(UserTabSetService.java:107)
at com.webMethods.portal.noodle.tabset.impl.UserTabSet.addTab(UserTabSet.java:186)
… 62 more
Nested Exception is
java.lang.RuntimeException: com.webMethods.portal.bizPolicy.BizException: [POP.002.0006] Unable to locate biz policy for resource: null
at com.webMethods.portal.noodle.tabset.impl.UserTabSet.addTab(UserTabSet.java:194)
at com.webMethods.portal.noodle.tabset.impl.UserTabSetService.processRequest(UserTabSetService.java:291)
at app.tabs.TabsPortlet.doView(TabsPortlet.java:51)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:290)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:218)
at com.webMethods.portal.framework.portletcontainer.impl.PortletApplicationHandler.process(PortletApplicationHandler.java:495)
at com.webMethods.portal.framework.portletcontainer.servlet.PortletServlet.service(PortletServlet.java:58)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:192)
at com.webMethods.portal.framework.portletcontainer.PortletContainer.dispatch(PortletContainer.java:221)
at com.webMethods.portal.framework.portletcontainer.PortletContainer.process(PortletContainer.java:130)
at com.webMethods.portal.framework.portletcontainer.PortletContainer.renderPortlet(PortletContainer.java:103)
at com.webMethods.portal.framework.portletcontainer.beans.PortletBean.processRequest(PortletBean.java:193)
at com.webMethods.portal.framework.portletcontainer.beans.PortletBean.getContentInternal(PortletBean.java:82)
at com.webMethods.portal.framework.portlet.beans.BasicPortletBean.getContent(BasicPortletBean.java:151)
at com.webMethods.portal.mech.portlet.impl.PortletMechanics.getPortletContent(PortletMechanics.java:96)
at com.webMethods.portal.mech.storage.page.PortletHelper.renderContent(PortletHelper.java:428)
at com.webMethods.portal.mech.storage.page.PortletHelper.renderContent(PortletHelper.java:400)
at com.webMethods.portal.framework.presentation.renderers.ShellSubRenderer.renderPortlet(ShellSubRenderer.java:117)
at com.webMethods.portal.framework.presentation.renderers.PortalPageSubRenderer.renderColumn(PortalPageSubRenderer.java:397)
at com.webMethods.portal.framework.presentation.renderers.PortalPageSubRenderer.renderRow(PortalPageSubRenderer.java:253)
at com.webMethods.portal.framework.presentation.renderers.PortalPageSubRenderer.renderColumn(PortalPageSubRenderer.java:401)
at com.webMethods.portal.framework.presentation.renderers.PortalPageSubRenderer.renderRow(PortalPageSubRenderer.java:253)
at com.webMethods.portal.framework.presentation.renderers.PortalPageSubRenderer.renderColumn(PortalPageSubRenderer.java:401)
at com.webMethods.portal.framework.presentation.renderers.PortalPageSubRenderer.renderRow(PortalPageSubRenderer.java:253)
at com.webMethods.portal.framework.presentation.renderers.PortalPageSubRenderer.renderContent(PortalPageSubRenderer.java:135)
at com.webMethods.portal.framework.presentation.renderers.ShellSubRenderer.subrender(ShellSubRenderer.java:77)
at com.webMethods.portal.framework.presentation.renderers.DefaultRenderer.renderPageStart(DefaultRenderer.java:261)
at com.webMethods.portal.framework.presentation.renderers.DefaultRenderer.render(DefaultRenderer.java:223)
at com.webMethods.portal.framework.presentation.PresentationManager.handlePres(PresentationManager.java:370)
at com.webMethods.portal.framework.dispatch.DispatchManager.pres(DispatchManager.java:623)
at com.webMethods.portal.framework.dispatch.DispatchManager.handle(DispatchManager.java:458)
at com.webMethods.portal.framework.dispatch.DispatchManager.handleDispatch(DispatchManager.java:369)
at com.webMethods.portal.framework.impl.PortalServlet.service(PortalServlet.java:272)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at com.webMethods.portal.framework.impl.NTLMFilter.doFilter(NTLMFilter.java:50)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.webMethods.caf.faces.servlet.GZIPFilter.doFilter(GZIPFilter.java:42)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:938)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
Caused by: com.webMethods.portal.bizPolicy.BizException: [POP.002.0006] Unable to locate biz policy for resource: null
at com.webMethods.portal.bizPolicy.biz.impl.BizPolicyManager.getBizPolicy(BizPolicyManager.java:55)
at com.webMethods.portal.noodle.tabset.impl.UserTabSetService.createUserTab(UserTabSetService.java:107)
at com.webMethods.portal.noodle.tabset.impl.UserTabSet.addTab(UserTabSet.java:186)

Hi Lavanya,

as per the error message looks like your database schema for MWS got corrupted somehow:
“com.webMethods.portal.bizPolicy.BizException: [POP.002.0006] Unable to locate biz policy for resource: null”

Especially the user, groups, roles and permission management seem to be affected.

Can you check this with your database team?

In worst case you will have to drop and recreate the database schema.

If you want to be sure please open an incident to support team in Empower eService.

Regards,
Holger