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 JIRA by Yannick Marcon, 2 years ago
org.obiba.opal.fs.security.SecuredFileObject cannot be cast to org.apache.commons.vfs2.provider.DelegateFileObject
via JIRA by Yannick Marcon, 1 year ago
org.obiba.opal.fs.security.SecuredFileObject cannot be cast to org.apache.commons.vfs2.provider.DelegateFileObject
java.lang.ClassCastException: org.obiba.opal.fs.security.SecuredFileObject cannot be cast to org.apache.commons.vfs2.provider.DelegateFileObject	at org.apache.commons.vfs2.provider.DelegateFileObject.doRename(DelegateFileObject.java:436)	at org.apache.commons.vfs2.provider.AbstractFileObject.moveTo(AbstractFileObject.java:1102)	at org.apache.commons.vfs2.impl.DecoratedFileObject.moveTo(DecoratedFileObject.java:155)	at org.obiba.opal.shell.commands.ImportCommand.archive(ImportCommand.java:310)	at org.obiba.opal.shell.commands.ImportCommand.importFromTables(ImportCommand.java:226)	at org.obiba.opal.shell.commands.ImportCommand.executeImports(ImportCommand.java:93)	at org.obiba.opal.shell.commands.ImportCommand.execute(ImportCommand.java:72)	at org.obiba.opal.shell.CommandJob.run(CommandJob.java:114)	at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120)	at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)	at java.util.concurrent.FutureTask.run(FutureTask.java:166)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)	at java.lang.Thread.run(Thread.java:722)