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 JFrog JIRA by Frederic Simon, 1 year ago
org.artifactory.descriptor.repo.VirtualRepoDescriptor cannot be cast to org.artifactory.descriptor.repo.RealRepoDescriptor
via JFrog JIRA by Frederic Simon, 2 years ago
org.artifactory.descriptor.repo.VirtualRepoDescriptor cannot be cast to org.artifactory.descriptor.repo.RealRepoDescriptor
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)	at org.artifactory.backup.BackupServiceImpl.backupSystem(BackupServiceImpl.java:159)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)	at $Proxy48.backupSystem(Unknown Source)	at org.artifactory.backup.BackupJob.onExecute(BackupJob.java:22)	at org.artifactory.backup.BackupJob.onExecute(BackupJob.java:14)	at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.java:43)	at org.quartz.core.JobRunShell.run(JobRunShell.java:202)	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)	at java.lang.Thread.run(Unknown Source)