I am trying to run this code:
ProgressManager.getInstance().runProcessWithProgressAsynchronously(new RunnableBackgroundableWrapper(project,"BackGround process", new BackgroundRunnable()), new ProgressIndicatorBase() );
But BackgroundRunnable execute this code:
and i get RuntimeException.
I guess tan writeActions are not allowed under asynchronous background processes. So is there way to run my BackgroundRunnable asynchronously?