java.lang.ClassCastException: org.artifactory.descriptor.repo.VirtualRepoDescriptor cannot be cast to org.artifactory.descriptor.repo.RealRepoDescriptor

JFrog JIRA | Frederic Simon | 8 years ago
  1. 0

    It should not be possible to add a virtual repo to the excluded list: Job DEFAULT.backupTrigger0#c2b0fadb-220d-4f15-800f-77d5ed5ef499 threw an unhandled Exception: java.lang.ClassCastException: org.artifactory.descriptor.repo.VirtualRepoDescriptor cannot be cast to org.artifactory.descriptor.repo.RealRepoDescriptor at org.artifactory.backup.BackupServiceImpl.getBackedupRepos(BackupServiceImpl.java:230) [artifactory-core-1.3.0-rc-2.jar:na] at org.artifactory.backup.BackupServiceImpl.backupSystem(BackupServiceImpl.java:159) [artifactory-core-1.3.0-rc-2.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_10-rc2] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [na:1.6.0_10-rc2] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [na:1.6.0_10-rc2] at java.lang.reflect.Method.invoke(Unknown Source) [na:1.6.0_10-rc2] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) [spring-aop-2.5.5.jar:2.5.5] at $Proxy48.backupSystem(Unknown Source) [na:na] at org.artifactory.backup.BackupJob.onExecute(BackupJob.java:22) [artifactory-core-1.3.0-rc-2.jar:na] at org.artifactory.backup.BackupJob.onExecute(BackupJob.java:14) [artifactory-core-1.3.0-rc-2.jar:na] at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.java:43) [artifactory-core-1.3.0-rc-2.jar:na] at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-1.6.3.jar:1.6.3] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [na:1.6.0_10-rc2] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.6.0_10-rc2] at java.lang.Thread.run(Unknown Source) [na:1.6.0_10-rc2]

    JFrog JIRA | 8 years ago | Frederic Simon
    java.lang.ClassCastException: org.artifactory.descriptor.repo.VirtualRepoDescriptor cannot be cast to org.artifactory.descriptor.repo.RealRepoDescriptor
  2. 0

    It should not be possible to add a virtual repo to the excluded list: Job DEFAULT.backupTrigger0#c2b0fadb-220d-4f15-800f-77d5ed5ef499 threw an unhandled Exception: java.lang.ClassCastException: org.artifactory.descriptor.repo.VirtualRepoDescriptor cannot be cast to org.artifactory.descriptor.repo.RealRepoDescriptor at org.artifactory.backup.BackupServiceImpl.getBackedupRepos(BackupServiceImpl.java:230) [artifactory-core-1.3.0-rc-2.jar:na] at org.artifactory.backup.BackupServiceImpl.backupSystem(BackupServiceImpl.java:159) [artifactory-core-1.3.0-rc-2.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_10-rc2] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [na:1.6.0_10-rc2] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [na:1.6.0_10-rc2] at java.lang.reflect.Method.invoke(Unknown Source) [na:1.6.0_10-rc2] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) [spring-aop-2.5.5.jar:2.5.5] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) [spring-aop-2.5.5.jar:2.5.5] at $Proxy48.backupSystem(Unknown Source) [na:na] at org.artifactory.backup.BackupJob.onExecute(BackupJob.java:22) [artifactory-core-1.3.0-rc-2.jar:na] at org.artifactory.backup.BackupJob.onExecute(BackupJob.java:14) [artifactory-core-1.3.0-rc-2.jar:na] at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.java:43) [artifactory-core-1.3.0-rc-2.jar:na] at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-1.6.3.jar:1.6.3] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [na:1.6.0_10-rc2] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.6.0_10-rc2] at java.lang.Thread.run(Unknown Source) [na:1.6.0_10-rc2]

    JFrog JIRA | 8 years ago | Frederic Simon
    java.lang.ClassCastException: org.artifactory.descriptor.repo.VirtualRepoDescriptor cannot be cast to org.artifactory.descriptor.repo.RealRepoDescriptor
  3. 0

    Memcached Java客户端2.6.1发布 - 编程语言 - ITeye资讯

    iteye.com | 1 year ago
    java.lang.ClassCastException: cannot be cast to
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ClassCastException in HandleFactory.getPkgFragmentRoot (355)

    Eclipse Bugzilla | 1 year ago | error-reports-inbox
    java.lang.ClassCastException: cannot be cast to org.eclipse.wst.jsdt.internal.core.PackageFragmentRoot
  6. 0

    Bug ID: JDK-6499662 "java.lang.ClassCastException: cannot be cast to java.lang.String" happens from time to time

    sun.com | 4 months ago
    java.lang.ClassCastException: cannot be cast to java.lang.String

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.artifactory.descriptor.repo.VirtualRepoDescriptor cannot be cast to org.artifactory.descriptor.repo.RealRepoDescriptor

      at org.artifactory.backup.BackupServiceImpl.getBackedupRepos()
    2. org.artifactory.backup
      BackupServiceImpl.backupSystem
      1. org.artifactory.backup.BackupServiceImpl.getBackedupRepos(BackupServiceImpl.java:230)[artifactory-core-1.3.0-rc-2.jar:na]
      2. org.artifactory.backup.BackupServiceImpl.backupSystem(BackupServiceImpl.java:159)[artifactory-core-1.3.0-rc-2.jar:na]
      2 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_10-rc2]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[na:1.6.0_10-rc2]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[na:1.6.0_10-rc2]
      4. java.lang.reflect.Method.invoke(Unknown Source)[na:1.6.0_10-rc2]
      4 frames
    4. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)[spring-aop-2.5.5.jar:2.5.5]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)[spring-aop-2.5.5.jar:2.5.5]
      2 frames
    5. Unknown
      $Proxy48.backupSystem
      1. $Proxy48.backupSystem(Unknown Source)[na:na]
      1 frame
    6. org.artifactory.backup
      BackupJob.onExecute
      1. org.artifactory.backup.BackupJob.onExecute(BackupJob.java:22)[artifactory-core-1.3.0-rc-2.jar:na]
      2. org.artifactory.backup.BackupJob.onExecute(BackupJob.java:14)[artifactory-core-1.3.0-rc-2.jar:na]
      2 frames
    7. org.artifactory.schedule
      QuartzCommand.execute
      1. org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.java:43)[artifactory-core-1.3.0-rc-2.jar:na]
      1 frame
    8. quartz
      JobRunShell.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:202)[quartz-1.6.3.jar:1.6.3]
      1 frame
    9. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)[na:1.6.0_10-rc2]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[na:1.6.0_10-rc2]
      3. java.lang.Thread.run(Unknown Source)[na:1.6.0_10-rc2]
      3 frames