IBM Support

webMethods Knowlegebase : Skin administration giving NullPointerException (NPE) (1799461)

Troubleshooting


Problem

After deploying a new skin into MWS, there is problem with displaying a picture which is part of the skin.

When opening the Skin using the sysadmin user and go to the MWS image administration (Folders > System > Skins > MySkin > Images) the following NullPointerException message is displayed:

"[POP.001.0002] A "java.lang.NullPointerException" occurred with the Message "at com.webmethods.portal.portlet.impl.wm_xt_skin.mechanics.SkinMechanics.getServerSideResourcePath(SkinMechanics.java:200)" "

In the MWS full log they get the following error:

"(Framework:INFO) [RID:314109] - [POP.001.0002] A "java.lang.NullPointerException" occurred with the Message "at com.webmethods.portal.portlet.impl.wm_xt_skin.mechanics.SkinMechanics.getServerSideResourcePath(SkinMechanics.java:200)"

java.lang.NullPointerException

at com.webmethods.portal.portlet.impl.wm_xt_skin.mechanics.SkinMechanics.getServerSideResourcePath(SkinMechanics.java:200)

at com.webmethods.portal.portlet.impl.wm_xt_skin.mechanics.SkinMechanics.loadSkin(SkinMechanics.java:244)

at com.webmethods.portal.portlet.impl.wm_xt_skin.mechanics.SkinMechanics.getClientProperties(SkinMechanics.java:481)

at com.webmethods.portal.portlet.impl.wm_skineditor.Skineditor.getInheritedClientSideProperty(Skineditor.java:272)

at ui.portlets.wm_skineditor.images._jspService(images.java:974)

at com.webmethods.portal.framework.presentation.handlers.Jsp.render(Jsp.java:297)

at com.webmethods.portal.framework.presentation.handlers.Jsp.render(Jsp.java:237)

at com.webmethods.portal.framework.portlet.beans.JspPortletBean.generateContent(JspPortletBean.java:147)

at com.webmethods.portal.framework.portlet.beans.JspPortletBean.getContentInternal(JspPortletBean.java:76)

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:430)

at com.webmethods.portal.mech.storage.page.PortletHelper.renderContent(PortletHelper.java:402)

at com.webmethods.portal.framework.presentation.renderers.DefaultRenderer.renderPageContent(DefaultRenderer.java:479)

at com.webmethods.portal.framework.presentation.renderers.DefaultRenderer.render(DefaultRenderer.java:341)

at com.webmethods.portal.framework.presentation.PresentationManager.handlePres(PresentationManager.java:434)

at com.webmethods.portal.framework.dispatch.DispatchManager.pres(DispatchManager.java:714)

at com.webmethods.portal.framework.dispatch.DispatchManager.handle(DispatchManager.java:544)

at com.webmethods.portal.framework.dispatch.DispatchManager.handleDispatch(DispatchManager.java:443)

at com.webmethods.portal.framework.impl.PortalServlet.service(PortalServlet.java:329)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)

at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)

at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:83)

at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:364)

at com.webmethods.caf.faces.servlet.GZIPFilter.doFilter(GZIPFilter.java:48)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)

at com.webmethods.portal.framework.impl.NTLMV1Filter.doFilter(NTLMV1Filter.java:55)

at com.webmethods.portal.framework.impl.NTLMFilter.doFilter(NTLMFilter.java:26)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)

at com.webmethods.portal.framework.impl.RequestFilter.doFilter(RequestFilter.java:63)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)

at com.webmethods.portal.framework.impl.JsfPartialAjaxRequestFilter.doFilter(JsfPartialAjaxRequestFilter.java:77)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)

at com.webmethods.portal.framework.impl.SpnegoFilterWrapper.doFilter(SpnegoFilterWrapper.java:72)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)

at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)

at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)

at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)

at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)

at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)

at com.webmethods.portal.webapp.jetty7.MwsServer.handle(MwsServer.java:127)

at org.eclipse.jetty.server.Server.handle(Server.java:497)

at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)

at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)

at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)

at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)

at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)

at java.lang.Thread.run(Thread.java:748)"

Document Location

Worldwide

[{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSVYEV","label":"IBM webMethods Integration"},"ARM Category":[{"code":"a8mKe00000000AQIAY","label":"My webMethods Server (MWS)"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Red Hat Enterprise Linux"}],"Version":"9.9"},{"Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSAWP1J","label":"IBM webMethods BPM"},"ARM Category":[{"code":"a8mKe00000000AQIAY","label":"My webMethods Server (MWS)"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Red Hat Enterprise Linux"}],"Version":"9.9"},{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSFIWYE","label":"IBM webMethods B2B"},"ARM Category":[{"code":"a8mKe00000000AQIAY","label":"My webMethods Server (MWS)"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Red Hat Enterprise Linux"}],"Version":"9.9"},{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSQG2X","label":"IBM webMethods Managed File Transfer"},"ARM Category":[{"code":"a8mKe00000000AQIAY","label":"My webMethods Server (MWS)"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Red Hat Enterprise Linux"}],"Version":"9.9"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
20 March 2025

UID

ibm17214524