com.dotmarketing.exception.DotSecurityException

User com.liferay.portal.model.User@cb1c722f does not have permission to read null

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web26

  • User com.liferay.portal.model.User@cb1c722f does not have permission to read null
  • User com.liferay.portal.model.User@cb1c722f does not have permission to read  null
  • User com.liferay.portal.model.User@cb1c722f does not have permission to read null
  • Stack trace

    • com.dotmarketing.exception.DotSecurityException: User com.liferay.portal.model.User@cb1c722f does not have permission to read null at com.dotmarketing.portlets.folders.business.FolderAPIImpl.findParentFolder(FolderAPIImpl.java:142) at com.dotmarketing.portlets.folders.model.Folder.getParentPermissionable(Folder.java:248) at com.dotmarketing.business.PermissionBitFactoryImpl.loadPermissions(PermissionBitFactoryImpl.java:2520) at com.dotmarketing.business.PermissionBitFactoryImpl.getInheritablePermissions(PermissionBitFactoryImpl.java:1170) at com.dotmarketing.business.PermissionBitFactoryImpl.getInheritablePermissions(PermissionBitFactoryImpl.java:1152) at com.dotmarketing.business.PermissionBitFactoryImpl.loadPermissions(PermissionBitFactoryImpl.java:2525) at com.dotmarketing.business.PermissionBitFactoryImpl.getPermissions(PermissionBitFactoryImpl.java:1222) at com.dotmarketing.business.PermissionBitFactoryImpl.getPermissions(PermissionBitFactoryImpl.java:1191) at com.dotmarketing.business.PermissionBitAPIImpl.getPermissions(PermissionBitAPIImpl.java:562) at com.dotmarketing.business.PermissionBitAPIImpl.doesUserHavePermission(PermissionBitAPIImpl.java:331) at com.dotmarketing.portlets.files.business.FileAPIImpl.find(FileAPIImpl.java:691) at com.dotmarketing.viewtools.content.ContentMap.get(ContentMap.java:216) at com.dotmarketing.viewtools.content.ContentMap.get(ContentMap.java:111) at sun.reflect.GeneratedMethodAccessor222.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.velocity.runtime.parser.node.GetExecutor.execute(GetExecutor.java:102) at org.apache.velocity.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:516) at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:202) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:285) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:572) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:156) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:285) at org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReference.java:535) at org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:62) at org.apache.velocity.runtime.parser.node.ASTElseIfStatement.evaluate(ASTElseIfStatement.java:82) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:104) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:423) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:211) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:330) at org.apache.velocity.Template.merge(Template.java:362) at org.apache.velocity.Template.merge(Template.java:265) at com.dotmarketing.viewtools.VelocityWebUtil.mergeTemplate(VelocityWebUtil.java:87) at sun.reflect.GeneratedMethodAccessor236.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:372) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:361) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:178) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:285) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:374) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:218) at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:308) at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:226) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:211) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:330) at org.apache.velocity.Template.merge(Template.java:362) at org.apache.velocity.Template.merge(Template.java:265) at com.dotmarketing.viewtools.VelocityWebUtil.mergeTemplate(VelocityWebUtil.java:87) at sun.reflect.GeneratedMethodAccessor236.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:372) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:361) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:178) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:285) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:572) at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71) at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:150) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:330) at org.apache.velocity.Template.merge(Template.java:362) at org.apache.velocity.Template.merge(Template.java:265) at com.dotmarketing.viewtools.VelocityWebUtil.mergeTemplate(VelocityWebUtil.java:87) at sun.reflect.GeneratedMethodAccessor236.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:372) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:361) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:178) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:285) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:374) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:218) at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:308) at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:226) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:211) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:218) at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:308) at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:226) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:211) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:423) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:211) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:330) at org.apache.velocity.Template.merge(Template.java:362) at org.apache.velocity.Template.merge(Template.java:265) at com.dotmarketing.viewtools.VelocityWebUtil.mergeTemplate(VelocityWebUtil.java:87) at sun.reflect.GeneratedMethodAccessor236.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:372) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:361) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:178) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:285) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:374) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:330) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:218) at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:308) at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:226) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:211) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:330) at org.apache.velocity.Template.merge(Template.java:362) at org.apache.velocity.Template.merge(Template.java:265) at com.dotmarketing.viewtools.VelocityWebUtil.mergeTemplate(VelocityWebUtil.java:87) at sun.reflect.GeneratedMethodAccessor236.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:372) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:361) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:178) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:285) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:374) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:330) at org.apache.velocity.Template.merge(Template.java:362) at org.apache.velocity.Template.merge(Template.java:265) at com.dotmarketing.velocity.VelocityServlet.doLiveMode(VelocityServlet.java:555) at com.dotmarketing.velocity.VelocityServlet.service(VelocityServlet.java:257) at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) at com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:203) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.dotmarketing.filters.AutoLoginFilter.doFilter(AutoLoginFilter.java:61) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.dotmarketing.cms.urlmap.filters.URLMapFilter.doFilter(URLMapFilter.java:299) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:49) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176) at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145) at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:90) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:33) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:146) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1086) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:659) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1558) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1515) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.