NullPointerException From SitesDeviceManagerImpl (Doc ID 1679547.1)

Last updated on JULY 07, 2017

Applies to:

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

Symptoms

Page requests result in an error with the following stack trace in the logs:

[2014-06-04 11:37:05,860 NZST] [ERROR] [.kernel.Default (self-tuning)'] [fatwire.logging.cs.request] COM.FutureTense.Common.ContentServerException: ContentServerException: (Unexpected runtime exception) Error code:GENERIC SERVER ERROR
COM.FutureTense.Common.ContentServerException: ContentServerException: (Unexpected runtime exception) Error code:GENERIC SERVER ERROR
    at com.openmarket.Satellite.servlet.BaseServlet.doGet(BaseServlet.java:129)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
    at COM.FutureTense.Servlet.WebReferenceFilter.doFilter(WebReferenceFilter.java:130)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at com.fatwire.wem.sso.cas.filter.CASFilter.doFilter(CASFilter.java:701)
    at com.fatwire.wem.sso.SSOFilter.doFilter(SSOFilter.java:51)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at com.fatwire.gst.foundation.httpstatus.HttpResponseStatusFilter.doFilter(HttpResponseStatusFilter.java:81)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused by: java.lang.NullPointerException
    at COM.FutureTense.Mobility.Device.SitesDeviceManagerImpl$DeviceEditor.getDevice(SitesDeviceManagerImpl.java:224)
    at COM.FutureTense.Mobility.Device.SitesDeviceManagerImpl.getDeviceCapabilities(SitesDeviceManagerImpl.java:138)
    at COM.FutureTense.Mobility.Device.DeviceServiceImpl.getDevice(DeviceServiceImpl.java:96)
    at COM.FutureTense.Mobility.DeviceHelper.getDeviceSuffix(DeviceHelper.java:180)
    at com.openmarket.Satellite.DeviceCacheManager.getDeviceSuffix(DeviceCacheManager.java:153)
    at com.openmarket.Satellite.AbstractContentServer.getRedirectCacheObject(AbstractContentServer.java:587)
    at com.openmarket.Satellite.CoResidentContentServerEh.getRedirectCacheObject(CoResidentContentServerEh.java:34)
    at com.openmarket.Satellite.AbstractContentServerEh.getCacheObject(AbstractContentServerEh.java:167)
    at com.openmarket.Satellite.CoResidentContentServerEh.getCacheObject(CoResidentContentServerEh.java:34)
    at com.openmarket.Satellite.SatelliteServer.execute(SatelliteServer.java:90)
    at com.openmarket.Satellite.servlet.BaseServlet.doGet(BaseServlet.java:121)
... 24 more

Additionally, when inspecting a Mobile device and clicking the Test User Agent button, the inspect screen shows an error:
Device association failed due to internal error. Please see log.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms