java.lang.IllegalArgumentException: Could not check permissions for Draft = { id: 15401071, type: page, title: null} no suitable delegate found.

Atlassian JIRA | Gurleen Anand [Atlassian] | 10 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Daily reports are not being sent to users when there are drafts in the system. The job errors out as it is building a list of change reports to send out. The following error is being generated in the logs: {noformat} 2007-10-09 00:00:01,376 ERROR [DefaultQuartzScheduler_Worker-1] [org.quartz.core.JobRunShell] run Job DEFAULT.DailyReportJob threw an unhandled Exception: java.lang.IllegalArgumentException: Could not check permissions for Draft = { id: 15401071, type: page, title: null} no suitable delegate found. at com.atlassian.confluence.security.DefaultPermissionManager.findDelegateFor(DefaultPermissionManager.java:119) at com.atlassian.confluence.security.DefaultPermissionManager.hasPermission(DefaultPermissionManager.java:31) at sun.reflect.GeneratedMethodAccessor498.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148) at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:20) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176) at $Proxy32.hasPermission(Unknown Source) at com.atlassian.confluence.mail.ChangeDigestNotificationBean.userHasAccessTo(ChangeDigestNotificationBean.java:180) at com.atlassian.confluence.mail.ChangeDigestNotificationBean.getAllChangeReportForUser(ChangeDigestNotificationBean.java:81) at com.atlassian.confluence.mail.ChangeDigestNotificationBean.getAllChangeReports(ChangeDigestNotificationBean.java:167) at com.atlassian.confluence.mail.jobs.DailyReportJob.doExecute(DailyReportJob.java:62) at com.atlassian.quartz.jobs.AbstractJob.executeInternal(AbstractJob.java:87) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:90) at com.atlassian.confluence.setup.quartz.DelegatingClusterAwareQuartzJobBean.executeJob(DelegatingClusterAwareQuartzJobBean.java:16) at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.executeInternal(AbstractClusterAwareQuartzJobBean.java:44) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:90) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) {noformat}

    Atlassian JIRA | 10 years ago | Gurleen Anand [Atlassian]
    java.lang.IllegalArgumentException: Could not check permissions for Draft = { id: 15401071, type: page, title: null} no suitable delegate found.
  2. 0

    Daily reports are not being sent to users when there are drafts in the system. The job errors out as it is building a list of change reports to send out. The following error is being generated in the logs: {noformat} 2007-10-09 00:00:01,376 ERROR [DefaultQuartzScheduler_Worker-1] [org.quartz.core.JobRunShell] run Job DEFAULT.DailyReportJob threw an unhandled Exception: java.lang.IllegalArgumentException: Could not check permissions for Draft = { id: 15401071, type: page, title: null} no suitable delegate found. at com.atlassian.confluence.security.DefaultPermissionManager.findDelegateFor(DefaultPermissionManager.java:119) at com.atlassian.confluence.security.DefaultPermissionManager.hasPermission(DefaultPermissionManager.java:31) at sun.reflect.GeneratedMethodAccessor498.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148) at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:20) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176) at $Proxy32.hasPermission(Unknown Source) at com.atlassian.confluence.mail.ChangeDigestNotificationBean.userHasAccessTo(ChangeDigestNotificationBean.java:180) at com.atlassian.confluence.mail.ChangeDigestNotificationBean.getAllChangeReportForUser(ChangeDigestNotificationBean.java:81) at com.atlassian.confluence.mail.ChangeDigestNotificationBean.getAllChangeReports(ChangeDigestNotificationBean.java:167) at com.atlassian.confluence.mail.jobs.DailyReportJob.doExecute(DailyReportJob.java:62) at com.atlassian.quartz.jobs.AbstractJob.executeInternal(AbstractJob.java:87) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:90) at com.atlassian.confluence.setup.quartz.DelegatingClusterAwareQuartzJobBean.executeJob(DelegatingClusterAwareQuartzJobBean.java:16) at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.executeInternal(AbstractClusterAwareQuartzJobBean.java:44) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:90) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) {noformat}

    Atlassian JIRA | 10 years ago | Gurleen Anand [Atlassian]
    java.lang.IllegalArgumentException: Could not check permissions for Draft = { id: 15401071, type: page, title: null} no suitable delegate found.
  3. 0

    Chat history - A system error has occurred

    GitHub | 3 years ago | sniadek
    org.apache.velocity.exception.MethodInvocationException: Invocation of method 'canView' in class com.atlassian.confluence.security.PermissionHelper threw exception java.lang.IllegalArgumentException: Could not check permissions for michals no suitable delegate found. at template/includes/macros.vm[line 1308, column 39]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Could not check permissions for Draft = { id: 15401071, type: page, title: null} no suitable delegate found.

      at com.atlassian.confluence.security.DefaultPermissionManager.findDelegateFor()
    2. com.atlassian.confluence
      DefaultPermissionManager.hasPermission
      1. com.atlassian.confluence.security.DefaultPermissionManager.findDelegateFor(DefaultPermissionManager.java:119)
      2. com.atlassian.confluence.security.DefaultPermissionManager.hasPermission(DefaultPermissionManager.java:31)
      2 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor498.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:324)
      3 frames
    4. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
      3 frames
    5. com.atlassian.spring
      SpringProfilingInterceptor.invoke
      1. com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:20)
      1 frame
    6. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
      1 frame
    7. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
      1 frame
    8. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
      2 frames
    9. Unknown
      $Proxy32.hasPermission
      1. $Proxy32.hasPermission(Unknown Source)
      1 frame
    10. com.atlassian.confluence
      DailyReportJob.doExecute
      1. com.atlassian.confluence.mail.ChangeDigestNotificationBean.userHasAccessTo(ChangeDigestNotificationBean.java:180)
      2. com.atlassian.confluence.mail.ChangeDigestNotificationBean.getAllChangeReportForUser(ChangeDigestNotificationBean.java:81)
      3. com.atlassian.confluence.mail.ChangeDigestNotificationBean.getAllChangeReports(ChangeDigestNotificationBean.java:167)
      4. com.atlassian.confluence.mail.jobs.DailyReportJob.doExecute(DailyReportJob.java:62)
      4 frames
    11. com.atlassian.quartz
      AbstractJob.executeInternal
      1. com.atlassian.quartz.jobs.AbstractJob.executeInternal(AbstractJob.java:87)
      1 frame
    12. Spring Context Support
      QuartzJobBean.execute
      1. org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:90)
      1 frame
    13. com.atlassian.confluence
      AbstractClusterAwareQuartzJobBean.executeInternal
      1. com.atlassian.confluence.setup.quartz.DelegatingClusterAwareQuartzJobBean.executeJob(DelegatingClusterAwareQuartzJobBean.java:16)
      2. com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.executeInternal(AbstractClusterAwareQuartzJobBean.java:44)
      2 frames
    14. Spring Context Support
      QuartzJobBean.execute
      1. org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:90)
      1 frame
    15. quartz
      SimpleThreadPool$WorkerThread.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:203)
      2. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
      2 frames