system.security.NoAccessException: EntityObject can not be initialized with null EntityInfo

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Salesforce by Peter
, 1 year ago
EntityObject can not be initialized with null EntityInfo
system.security.NoAccessException: EntityObject can not be initialized with null EntityInfo
at common.udd.object.EntityObjectImpl.(EntityObjectImpl.java:122)
at common.udd.object.EntityObject.(EntityObject.java:124)
at common.ownership.OwnedEntityObject.(OwnedEntityObject.java:55)
at core.customentity.BaseCustomDataTemplateObject.(BaseCustomDataTemplateObject.java:35)
at core.customentity.CustomEntityDataTemplateObject.(CustomEntityDataTemplateObject.java:40)
at core.customentity.CustomEntityDataTemplateUi.(CustomEntityDataTemplateUi.java:34)
at core.customentity.CustomEntityDataTemplateUi.(CustomEntityDataTemplateUi.java:30)
at core.customentity.CustomEntityDataTemplatePage.hook_init_entityUi(CustomEntityDataTemplatePage.java:50)
at core.customentity.CustomEntityDataTemplatePage.hook_init_entityUi(CustomEntityDataTemplatePage.java:1)
at common.entityfeed.ui.AbstractEntityFeedPage.hook_init_entityUi(AbstractEntityFeedPage.java:58)
at common.page.GenericEntityPage.(GenericEntityPage.java:827)
at common.page.GenericEntityPage.(GenericEntityPage.java:817)
at common.entityfeed.ui.AbstractEntityFeedPage.(AbstractEntityFeedPage.java:48)
at core.customentity.CustomEntityDataTemplatePage.(CustomEntityDataTemplatePage.java:45)
at core.apexpages.components.ApexGenericPageComponent.getGenericEntityPage(ApexGenericPageComponent.java:139)
at core.apexpages.components.ApexGenericPageComponent.getPageComponentizer(ApexGenericPageComponent.java:115)
at core.apexpages.components.ApexGenericPageComponent.getComponentizer(ApexGenericPageComponent.java:243)
at core.apexpages.components.ApexDetailComponent.beforeEncode(ApexDetailComponent.java:174)
at core.apexpages.components.framework.util.ApexComponentUtil$3.visit(ApexComponentUtil.java:1498)
at core.apexpages.components.framework.util.ApexComponentUtil$1.call(ApexComponentUtil.java:1038)
at core.apexpages.components.framework.util.ApexComponentUtil$1.call(ApexComponentUtil.java:1)
at core.apexpages.components.framework.util.ApexComponentUtil._visitComponents(ApexComponentUtil.java:1061)
at core.apexpages.components.framework.util.ApexComponentUtil._visitChildrenOnce(ApexComponentUtil.java:1099)
at core.apexpages.components.framework.util.ApexComponentUtil._processChildren(ApexComponentUtil.java:1085)
at core.apexpages.components.framework.util.ApexComponentUtil.access$5(ApexComponentUtil.java:1079)
at core.apexpages.components.framework.util.ApexComponentUtil$1.call(ApexComponentUtil.java:1042)
at core.apexpages.components.framework.util.ApexComponentUtil$1.call(ApexComponentUtil.java:1)
at core.apexpages.framework.context.VFContextServiceImpl.run(VFContextServiceImpl.java:2867)
at core.apexpages.framework.context.VFContextServiceImpl.runWithComponentContext(VFContextServiceImpl.java:2748)
at core.apexpages.framework.context.VFContextServiceImpl.runWithComponentContextIfDiff(VFContextServiceImpl.java:2704)
at core.apexpages.framework.context.VFContextServiceImpl.runWithComponentContextIfDiff(VFContextServiceImpl.java:2699)
at core.apexpages.components.framework.util.ApexComponentUtil._visitComponents(ApexComponentUtil.java:1063)
at core.apexpages.components.framework.util.ApexComponentUtil._visitChildrenOnce(ApexComponentUtil.java:1099)
at core.apexpages.components.framework.util.ApexComponentUtil._processChildren(ApexComponentUtil.java:1085)
at core.apexpages.components.framework.util.ApexComponentUtil.access$5(ApexComponentUtil.java:1079)
at core.apexpages.components.framework.util.ApexComponentUtil$1.call(ApexComponentUtil.java:1042)
at core.apexpages.components.framework.util.ApexComponentUtil$1.call(ApexComponentUtil.java:1)
at core.apexpages.components.framework.util.ApexComponentUtil._visitComponents(ApexComponentUtil.java:1061)
at core.apexpages.components.framework.util.ApexComponentUtil._visitChildrenOnce(ApexComponentUtil.java:1099)
at core.apexpages.components.framework.util.ApexComponentUtil._processChildren(ApexComponentUtil.java:1085)
at core.apexpages.components.framework.util.ApexComponentUtil.access$5(ApexComponentUtil.java:1079)
at core.apexpages.components.framework.util.ApexComponentUtil$1.call(ApexComponentUtil.java:1042)
at core.apexpages.components.framework.util.ApexComponentUtil$1.call(ApexComponentUtil.java:1)
at core.apexpages.components.framework.util.ApexComponentUtil._visitComponents(ApexComponentUtil.java:1061)
at core.apexpages.components.framework.util.ApexComponentUtil.visitComponents(ApexComponentUtil.java:953)
at core.apexpages.components.framework.util.ApexComponentUtil.doBeforeEncode(ApexComponentUtil.java:1444)
at core.apexpages.components.framework.context.ApexPagesAjaxViewRoot.encodeAll(ApexPagesAjaxViewRoot.java:79)
at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:566)
at core.apexpages.components.framework.context.ApexViewHandlerImpl.renderView(ApexViewHandlerImpl.java:251)
at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:106)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:178)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109)
at core.apexpages.framework.ApexPagesLifecycleImpl.phase(ApexPagesLifecycleImpl.java:164)
at core.apexpages.framework.ApexPagesLifecycleImpl.render(ApexPagesLifecycleImpl.java:95)
at visualforce.VisualforceServiceImpl$1.call(VisualforceServiceImpl.java:262)
at visualforce.VisualforceServiceImpl$1.call(VisualforceServiceImpl.java:1)
at core.apexpages.framework.context.VFContextServiceImpl.run(VFContextServiceImpl.java:2867)
at core.apexpages.framework.context.VFContextServiceImpl.runWithComponentContext(VFContextServiceImpl.java:2803)
at core.apexpages.framework.context.VFContextServiceImpl.runWithComponentContextIfDiff(VFContextServiceImpl.java:2704)
at visualforce.VisualforceServiceImpl.invokePage(VisualforceServiceImpl.java:179)
at core.apexpages.framework.ApexViewServlet.handlePage(ApexViewServlet.java:348)
at common.request.servlet.BaseApplicationServlet.serviceInternal(BaseApplicationServlet.java:138)
at common.request.servlet.BaseApplicationServlet.doService(BaseApplicationServlet.java:74)
at common.request.servlet.ProtectedHttpServlet.service(ProtectedHttpServlet.java:36)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:667)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:522)
at core.apexpages.framework.ApexViewFilter.doFilter(ApexViewFilter.java:28)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:194)
at core.apexpages.framework.ApexViewXMLFilter.doXmlFilter(ApexViewXMLFilter.java:23)
at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:281)
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:379)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:507)
at core.apexpages.framework.ApexViewFilter.doFilter(ApexViewFilter.java:28)
at klein.filter.JettyStreamWriterAdaptorFilter.doFilter(JettyStreamWriterAdaptorFilter.java:105)
at sfdc.commons.filters.cookie.CookieCatalogFilter.doFilter(CookieCatalogFilter.java:78)
at security.services.validator.VulnerabilityCheckFilter.doFilter(VulnerabilityCheckFilter.java:70)
at system.filter.SeparateDomainRedirectFilter.doFilter(SeparateDomainRedirectFilter.java:148)
at core.dns.filter.CustomDomainMappingFilter.doFilter(CustomDomainMappingFilter.java:210)
at core.dns.filter.SiteRedirectMappingFilter.doFilter(SiteRedirectMappingFilter.java:114)
at core.dns.filter.BandwidthMeterFilter.doFilter(BandwidthMeterFilter.java:125)
at system.filter.OrgDomainFilter.doFilter(OrgDomainFilter.java:59)
at system.filter.StatsOnlyFilter.doFilter(StatsOnlyFilter.java:85)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1410)
at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:82)
at sfdc.commons.filters.gzip.CommonGzipFilterProxy.doFilter(CommonGzipFilterProxy.java:27)
at sfdc.commons.filters.gzip.CommonGzipFilter.doFilter(CommonGzipFilter.java:31)
at system.filter.BasePreGzipFilter.doFilter(BasePreGzipFilter.java:197)
at system.filter.RedirectFilter.doFilter(RedirectFilter.java:211)
at sfdc.commons.filters.modifyparam.ModifiableParameterFilter.doFilter(ModifiableParameterFilter.java:46)
at klein.filter.MultiPartFilter.doFilter(MultiPartFilter.java:117)
at com.force.http.routing.RoutingFilter.doFilter(RoutingFilter.java:73)
at system.filter.InstanceRedirectFilter.doFilter(InstanceRedirectFilter.java:860)
at sfdc.commons.filters.routing.CommonRemoteAddrFilter.doFilter(CommonRemoteAddrFilter.java:78)
at system.filter.LegacyJSPFilter.doFilter(LegacyJSPFilter.java:212)
at routing.ios.IosRoutingFilter.doFilter(IosRoutingFilter.java:84)
at core.feeds.notification.tracking.ClickTrackingFilter.doFilter(ClickTrackingFilter.java:84)
at core.dns.filter.SitesRuntimeForwardingFilter.requestIsNotForSites(SitesRuntimeForwardingFilter.java:208)
at core.dns.filter.SitesRuntimeForwardingFilter.doFilterInternal(SitesRuntimeForwardingFilter.java:487)
at core.dns.filter.SitesRuntimeForwardingFilter.doFilter(SitesRuntimeForwardingFilter.java:247)
at core.dns.filter.SitesProxyCachingFilter.doFilter(SitesProxyCachingFilter.java:45)
at routing.filter.LoadBalancerFilter.doFilter(LoadBalancerFilter.java:80)
at routing.loadbalancer.SfdcLoadBalancerFilter.doFilter(SfdcLoadBalancerFilter.java:54)
at common.util.database.ZeroDowntimeSpinModeFilter.doFilter(ZeroDowntimeSpinModeFilter.java:60)
at system.orgdomain.OrgDomainLoadBalancerFilter.doFilter(OrgDomainLoadBalancerFilter.java:88)
at sfdc.commons.filters.context.CommonStackableContextWatchingFilter.doFilter(CommonStackableContextWatchingFilter.java:193)
at sfdc.commons.filters.context.CommonContextReleaseFilter.doFilter(CommonContextReleaseFilter.java:80)
at system.filter.SessionNeverEstablishedLogFilter.doFilter(SessionNeverEstablishedLogFilter.java:61)
at com.force.http.routing.RoutingFilter.doFilter(RoutingFilter.java:73)
at com.force.http.routing.RoutingFilter.handleFilter(RoutingFilter.java:122)
at com.force.http.routing.RoutingFilter.doFilter(RoutingFilter.java:79)
at system.filter.Immediate404Filter.doFilter(Immediate404Filter.java:95)
at system.filter.ResponseHeaderFilter.doFilter(ResponseHeaderFilter.java:166)
at sfdc.commons.filters.logging.CommonAccessLogFilter.doFilter(CommonAccessLogFilter.java:54)
at sfdc.commons.filters.context.CommonRequestIdFilter.doFilter(CommonRequestIdFilter.java:43)
at system.filter.RegulatorWaitTestFilter.doFilter(RegulatorWaitTestFilter.java:61)
at system.filter.RegulatorFilter.doFilter(RegulatorFilter.java:86)
at system.filter.RequestPathSecurityFilter.doFilter(RequestPathSecurityFilter.java:70)
at sfdc.commons.filters.encoding.CommonRequestEncodingFilter.doFilter(CommonRequestEncodingFilter.java:86)
at system.filter.RequestEncodingFilter.doFilter(RequestEncodingFilter.java:56)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1410)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:430)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1033)
at org.eclipse.jetty.rewrite.handler.RegexServletHandler.doScope(RegexServletHandler.java:218)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:967)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:317)
at klein.handler.SfdcJettytHandler.handle(SfdcJettytHandler.java:92)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:126)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:368)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:498)
at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:974)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1036)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:640)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:231)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:680)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:35)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.