com.dotmarketing.exception.DotSecurityException: User com.liferay.portal.model.User@cb1c722f does not have permission to read null

Google Groups | Alex | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

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

    Google Groups | 9 months ago | Alex
    com.dotmarketing.exception.DotSecurityException: User com.liferay.portal.model.User@cb1c722f does not have permission to read null
  2. 0

    Reindex stalled at 100% after 2.5.7 to 3.5 upgrade

    Google Groups | 11 months ago | Michael Bishop
    com.dotmarketing.exception.DotSecurityException: system

    Root Cause Analysis

    1. 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()
    2. com.dotmarketing.portlets
      Folder.getParentPermissionable
      1. com.dotmarketing.portlets.folders.business.FolderAPIImpl.findParentFolder(FolderAPIImpl.java:142)
      2. com.dotmarketing.portlets.folders.model.Folder.getParentPermissionable(Folder.java:248)
      2 frames
    3. com.dotmarketing.business
      PermissionBitAPIImpl.doesUserHavePermission
      1. com.dotmarketing.business.PermissionBitFactoryImpl.loadPermissions(PermissionBitFactoryImpl.java:2520)
      2. com.dotmarketing.business.PermissionBitFactoryImpl.getInheritablePermissions(PermissionBitFactoryImpl.java:1170)
      3. com.dotmarketing.business.PermissionBitFactoryImpl.getInheritablePermissions(PermissionBitFactoryImpl.java:1152)
      4. com.dotmarketing.business.PermissionBitFactoryImpl.loadPermissions(PermissionBitFactoryImpl.java:2525)
      5. com.dotmarketing.business.PermissionBitFactoryImpl.getPermissions(PermissionBitFactoryImpl.java:1222)
      6. com.dotmarketing.business.PermissionBitFactoryImpl.getPermissions(PermissionBitFactoryImpl.java:1191)
      7. com.dotmarketing.business.PermissionBitAPIImpl.getPermissions(PermissionBitAPIImpl.java:562)
      8. com.dotmarketing.business.PermissionBitAPIImpl.doesUserHavePermission(PermissionBitAPIImpl.java:331)
      8 frames
    4. com.dotmarketing.portlets
      FileAPIImpl.find
      1. com.dotmarketing.portlets.files.business.FileAPIImpl.find(FileAPIImpl.java:691)
      1 frame
    5. com.dotmarketing.viewtools
      ContentMap.get
      1. com.dotmarketing.viewtools.content.ContentMap.get(ContentMap.java:216)
      2. com.dotmarketing.viewtools.content.ContentMap.get(ContentMap.java:111)
      2 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor222.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    7. Apache Velocity
      Template.merge
      1. org.apache.velocity.runtime.parser.node.GetExecutor.execute(GetExecutor.java:102)
      2. org.apache.velocity.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:516)
      3. org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:202)
      4. org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:285)
      5. org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:572)
      6. org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:156)
      7. org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:285)
      8. org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReference.java:535)
      9. org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:62)
      10. org.apache.velocity.runtime.parser.node.ASTElseIfStatement.evaluate(ASTElseIfStatement.java:82)
      11. org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:104)
      12. org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      13. org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:423)
      14. org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:211)
      15. org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:330)
      16. org.apache.velocity.Template.merge(Template.java:362)
      17. org.apache.velocity.Template.merge(Template.java:265)
      17 frames
    8. com.dotmarketing.viewtools
      VelocityWebUtil.mergeTemplate
      1. com.dotmarketing.viewtools.VelocityWebUtil.mergeTemplate(VelocityWebUtil.java:87)
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor236.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    10. Apache Velocity
      Template.merge
      1. org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:372)
      2. org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:361)
      3. org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:178)
      4. org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:285)
      5. org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:374)
      6. org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      7. org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
      8. org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      9. org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
      10. org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      11. org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:218)
      12. org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:308)
      13. org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:226)
      14. org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:211)
      15. org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:330)
      16. org.apache.velocity.Template.merge(Template.java:362)
      17. org.apache.velocity.Template.merge(Template.java:265)
      17 frames
    11. com.dotmarketing.viewtools
      VelocityWebUtil.mergeTemplate
      1. com.dotmarketing.viewtools.VelocityWebUtil.mergeTemplate(VelocityWebUtil.java:87)
      1 frame
    12. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor236.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    13. Apache Velocity
      Template.merge
      1. org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:372)
      2. org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:361)
      3. org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:178)
      4. org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:285)
      5. org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:572)
      6. org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
      7. org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:150)
      8. org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:330)
      9. org.apache.velocity.Template.merge(Template.java:362)
      10. org.apache.velocity.Template.merge(Template.java:265)
      10 frames
    14. com.dotmarketing.viewtools
      VelocityWebUtil.mergeTemplate
      1. com.dotmarketing.viewtools.VelocityWebUtil.mergeTemplate(VelocityWebUtil.java:87)
      1 frame
    15. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor236.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    16. Apache Velocity
      Template.merge
      1. org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:372)
      2. org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:361)
      3. org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:178)
      4. org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:285)
      5. org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:374)
      6. org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      7. org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
      8. org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      9. org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:218)
      10. org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:308)
      11. org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:226)
      12. org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:211)
      13. org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      14. org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:218)
      15. org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:308)
      16. org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:226)
      17. org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:211)
      18. org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      19. org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
      20. org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      21. org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:423)
      22. org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:211)
      23. org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:330)
      24. org.apache.velocity.Template.merge(Template.java:362)
      25. org.apache.velocity.Template.merge(Template.java:265)
      25 frames
    17. com.dotmarketing.viewtools
      VelocityWebUtil.mergeTemplate
      1. com.dotmarketing.viewtools.VelocityWebUtil.mergeTemplate(VelocityWebUtil.java:87)
      1 frame
    18. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor236.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    19. Apache Velocity
      Template.merge
      1. org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:372)
      2. org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:361)
      3. org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:178)
      4. org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:285)
      5. org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:374)
      6. org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      7. org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:330)
      8. org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
      9. org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      10. org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:218)
      11. org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:308)
      12. org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:226)
      13. org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:211)
      14. org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:330)
      15. org.apache.velocity.Template.merge(Template.java:362)
      16. org.apache.velocity.Template.merge(Template.java:265)
      16 frames
    20. com.dotmarketing.viewtools
      VelocityWebUtil.mergeTemplate
      1. com.dotmarketing.viewtools.VelocityWebUtil.mergeTemplate(VelocityWebUtil.java:87)
      1 frame
    21. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor236.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    22. Apache Velocity
      Template.merge
      1. org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:372)
      2. org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:361)
      3. org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:178)
      4. org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:285)
      5. org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:374)
      6. org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      7. org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
      8. org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:330)
      9. org.apache.velocity.Template.merge(Template.java:362)
      10. org.apache.velocity.Template.merge(Template.java:265)
      10 frames
    23. com.dotmarketing.velocity
      VelocityServlet.service
      1. com.dotmarketing.velocity.VelocityServlet.doLiveMode(VelocityServlet.java:555)
      2. com.dotmarketing.velocity.VelocityServlet.service(VelocityServlet.java:257)
      2 frames
    24. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
      1 frame
    25. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    26. Tomcat WS
      WsFilter.doFilter
      1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      1 frame
    27. Glassfish Core
      ApplicationDispatcher.forward
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721)
      4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466)
      5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391)
      6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318)
      6 frames
    28. com.dotmarketing.filters
      CMSFilter.doFilter
      1. com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:203)
      1 frame
    29. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    30. com.dotmarketing.filters
      AutoLoginFilter.doFilter
      1. com.dotmarketing.filters.AutoLoginFilter.doFilter(AutoLoginFilter.java:61)
      1 frame
    31. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    32. com.dotmarketing.cms
      URLMapFilter.doFilter
      1. com.dotmarketing.cms.urlmap.filters.URLMapFilter.doFilter(URLMapFilter.java:299)
      1 frame
    33. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    34. com.dotmarketing.filters
      TimeMachineFilter.doFilter
      1. com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:49)
      1 frame
    35. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    36. com.dotcms.repackage
      UrlRewriteFilter.doFilter
      1. com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
      2. com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
      3. com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
      4. com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
      4 frames
    37. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    38. com.dotmarketing.filters
      ThreadNameFilter.doFilter
      1. com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:90)
      1 frame
    39. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    40. com.dotmarketing.filters
      CookiesFilter.doFilter
      1. com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:33)
      1 frame
    41. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    42. com.dotmarketing.filters
      CharsetEncodingFilter.doFilter
      1. com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:146)
      1 frame
    43. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
      8. org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516)
      10 frames
    44. Grizzly HTTP
      NioEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1086)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:659)
      3. org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223)
      4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1558)
      5. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1515)
      5 frames
    45. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      2 frames
    46. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      1 frame
    47. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame