Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RecursiveAction

 
meeta gaur
Ranch Hand
Posts: 305
Notepad Tomcat Server Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Exception in thread "main" java.lang.StackOverflowError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:536)
at java.util.concurrent.ForkJoinTask.reportResult(ForkJoinTask.java:596)
at java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:640)
at java.util.concurrent.ForkJoinPool.invoke(ForkJoinPool.java:1521)
at RecursiveActionExample.main(RecursiveActionExample.java:40)
Caused by: java.lang.StackOverflowError
at sun.misc.Unsafe.compareAndSwapInt(Native Method)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.compareAndSetState(AbstractQueuedSynchronizer.java:566)
at java.util.concurrent.locks.ReentrantLock$NonfairSync.lock(ReentrantLock.java:211)
at java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:290)
at java.util.concurrent.ForkJoinTask.setExceptionalCompletion(ForkJoinTask.java:439)
at java.util.concurrent.ForkJoinTask.doInvoke(ForkJoinTask.java:379)
at java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:654)
at java.util.concurrent.ForkJoinTask.invokeAll(ForkJoinTask.java:685)
at RecursiveActionExample.compute(RecursiveActionExample.java:31)
at java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:177)
at java.util.concurrent.ForkJoinTask.doInvoke(ForkJoinTask.java:377)
at java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:654)
at java.util.concurrent.ForkJoinTask.invokeAll(ForkJoinTask.java:685)
at RecursiveActionExample.compute(RecursiveActionExample.java:31)
at java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:177)
at java.util.concurrent.ForkJoinTask.doInvoke(ForkJoinTask.java:377)
at java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:654)
at java.util.concurrent.ForkJoinTask.invokeAll(ForkJoinTask.java:685)
at RecursiveActionExample.compute(RecursiveActionExample.java:31)
at java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:177)
at java.util.concurrent.ForkJoinTask.doInvoke(ForkJoinTask.java:377)
at java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:654)
at java.util.concurrent.ForkJoinTask.invokeAll(ForkJoinTask.java:685)
at RecursiveActionExample.compute(RecursiveActionExample.java:31)
at java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:177)
at java.util.concurrent.ForkJoinTask.doInvoke(ForkJoinTask.java:377)
at java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:654)
at java.util.concurrent.ForkJoinTask.invokeAll(ForkJoinTask.java:685)
at RecursiveActionExample.compute(RecursiveActionExample.java:31)
at java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:177)
at java.util.concurrent.ForkJoinTask.doInvoke(ForkJoinTask.java:377)
at java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:654)
at java.util.concurrent.ForkJoinTask.invokeAll(ForkJoinTask.java:685)
at RecursiveActionExample.compute(RecursiveActionExample.java:31)
at java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:177)
at java.util.concurrent.ForkJoinTask.doInvoke(ForkJoinTask.java:377)
at java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:654)
at java.util.concurrent.ForkJoinTask.invokeAll(ForkJoinTask.java:685)
at RecursiveActionExample.compute(RecursiveActionExample.java:31)
at java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:177)
at java.util.concurrent.ForkJoinTask.doInvoke(ForkJoinTask.java:377)
at java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:654)
at java.util.concurrent.ForkJoinTask.invokeAll(ForkJoinTask.java:685)
at RecursiveActionExample.compute(RecursiveActionExample.java:31)
at java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:177)
at java.util.concurrent.ForkJoinTask.doInvoke(ForkJoinTask.java:377)
at java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:654)
at java.util.concurrent.ForkJoinTask.invokeAll(ForkJoinTask.java:685)
at RecursiveActionExample.compute(RecursiveActionExample.java:31)
at java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:177)
at java.util.concurrent.ForkJoinTask.doInvoke(ForkJoinTask.java:377)
at java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:654)
at java.util.concurrent.ForkJoinTask.invokeAll(ForkJoinTask.java:685)
at RecursiveActionExample.compute(RecursiveActionExample.java:31)
at java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:177)
at java.util.concurrent.ForkJoinTask.doInvoke(ForkJoinTask.java:377)
at java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:654)
at java.util.concurrent.ForkJoinTask.invokeAll(ForkJoinTask.java:685)
at RecursiveActionExample.compute(RecursiveActionExample.java:31)
at java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:177)
at java.util.concurrent.ForkJoinTask.doInvoke(ForkJoinTask.java:377)
at java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:654)
at java.util.concurrent.ForkJoinTask.invokeAll(ForkJoinTask.java:685)
at RecursiveActionExample.compute(RecursiveActionExample.java:31)
at java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:177)
at java.util.concurrent.ForkJoinTask.doInvoke(ForkJoinTask.java:377)
at java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:654)
at java.util.concurrent.ForkJoinTask.invokeAll(ForkJoinTask.java:685)
at RecursiveActionExample.compute(RecursiveActionExample.java:31)
at java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:177)
at java.util.concurrent.ForkJoinTask.doInvoke(ForkJoinTask.java:377)
at java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:654)
at java.util.concurrent.ForkJoinTask.invokeAll(ForkJoinTask.java:685)
at RecursiveActionExample.compute(RecursiveActionExample.java:31)
at java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:177)
at java.util.concurrent.ForkJoinTask.doInvoke(ForkJoinTask.java:377)
at java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:654)
at java.util.concurrent.ForkJoinTask.invokeAll(ForkJoinTask.java:685)
at RecursiveActionExample.compute(RecursiveActionExample.java:31)
at java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:177)
at java.util.concurrent.ForkJoinTask.doInvoke(ForkJoinTask.java:377)
at java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:654)
at java.util.concurrent.ForkJoinTask.invokeAll(ForkJoinTask.java:685)
at RecursiveActionExample.compute(RecursiveActionExample.java:31)
at java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:177)
at java.util.concurrent.ForkJoinTask.doInvoke(ForkJoinTask.java:377)

Please help!!
 
meeta gaur
Ranch Hand
Posts: 305
Notepad Tomcat Server Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry for stupid mistake
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic