java.lang.ClassCastException: java.lang.OutOfMemoryError cannot be cast to java.lang.Exception

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Google Groups by Dhaval Joshi, 1 year ago
java.lang.OutOfMemoryError cannot be cast to java.lang.Exception
java.lang.ClassCastException: java.lang.OutOfMemoryError cannot be cast to java.lang.Exception
at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:124)
at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:184)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
at com.sun.proxy.$Proxy250.create(Unknown Source)
at org.dcm4chex.archive.mbean.AbstractDeleterService.fileSystemMgt(AbstractDeleterService.java:382)
at org.dcm4chex.archive.mbean.FileSystemMgt2Service.deleteOrphanedPrivateFiles(FileSystemMgt2Service.java:788)
at org.dcm4chex.archive.mbean.FileSystemMgt2Service$2$1.run(FileSystemMgt2Service.java:301)
at java.lang.Thread.run(Thread.java:701)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.