My Oracle Support Banner

Mobile Preview Causes Exceptions (Doc ID 1619796.1)

Last updated on MARCH 20, 2019

Applies to:

Oracle WebCenter Sites - Version 11.1.1.8.0 and later
Information in this document applies to any platform.

Symptoms

Clicking the Multi-Device Preview button in the Contributor UI results in a NullPointerException in the logs:

In the sites.log:

[ERROR] [http-6750-2] [fatwire.logging.cs.request] Exception including resource /jsp/cs_deployed/UI/Layout/CenterPane/MultiDevicePreviewAction.jsp
org.apache.jasper.JasperException: java.lang.NullPointerException
  at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:502)
  at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:430)
  at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
  at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
  at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
  at COM.FutureTense.Servlet.ServletRequest.include(ServletRequest.java:1410)
  at COM.FutureTense.Servlet.FRequestObj.include(FRequestObj.java:1428)
  at COM.FutureTense.Servlet.JSPServices.runJSP(JSPServices.java:111)
  at COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager.runJSP(FILESYSTEMJSPManager.java:463)
  .
  .
  .
  at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
  at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NullPointerException
  at com.fatwire.mobility.util.MobilityUtils.getImageDimensions(MobilityUtils.java:551)
  at com.fatwire.mobility.util.MobilityUtils._createDeviceImageBean(MobilityUtils.java:435)
  at com.fatwire.mobility.util.MobilityUtils.getDeviceImages(MobilityUtils.java:373)
  at org.apache.jsp.jsp.cs_005fdeployed.UI.Layout.CenterPane.MultiDevicePreviewAction_jsp._jspService(MultiDevicePreviewAction_jsp.java:141)
  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
  ... 66 more

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.