IDEA 12.1.x Forgetting Some Open Files When Re-Opening Project

Hi,

Beginning recently, I've noticed that when I close and re-open my project, several of the files that I'd opened previously do not get re-opened.

I do have many files open, but not more than the limit I configured in the Editor Tabs settings pane.

This is pretty annoying for me 'cause I like to see my whole project and I carefully arrange the tabs in a logical sequence (on the left of a vertically split window).

Is there a limit to how many tabs can actually be remembered? And if so, why doesn't the settings dialog impose it instead of letting me set a value higher than it will actually respect?


Randall Schulz

5 comments

Hi Randal,

Is it reproduced all the time?

What editor tabs number did you configure?

Are there exceptions at idea.log?

Denis

0

(Sorry for the delay—I was on vacation.)


It is 100% repeated. Every time I re-open that project (regardless of whether I restarted IDEA in between) those files are not reopened.

I originally had a tab limit of 100 open tabs (though I'd not made it to that point when this started happening) but then increased it to 200 without the problem going away.

The log file includes these two exceptions, which are accurate—the files mentioned do not exist, though I'm not sure why IDEA is trying to open them. They were long ago removed from the code base.

These exceptions were immediately adjacent to each other, just as shown here:

2013-07-25 08:26:07,763 [86433997]   INFO - j.ide.startup.FileContentQueue - /box/www/box-storage/saf/dmt/project/build.scala (No such file or directory)
java.io.FileNotFoundException: /box/www/box-storage/saf/dmt/project/build.scala (No such file or directory)
    at java.io.FileInputStream.$$YJP$$open(Native Method)
    at java.io.FileInputStream.open(FileInputStream.java)
    at java.io.FileInputStream.<init>(FileInputStream.java:120)
    at com.intellij.openapi.vfs.impl.local.LocalFileSystemBase.contentsToByteArray(LocalFileSystemBase.java:443)
    at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.contentsToByteArray(PersistentFSImpl.java:509)
    at com.intellij.openapi.vfs.newvfs.impl.VirtualFileImpl.contentsToByteArray(VirtualFileImpl.java:106)
    at com.intellij.ide.caches.FileContent.getBytes(FileContent.java:48)
    at com.intellij.openapi.project.FileContentQueue.a(FileContentQueue.java:116)
    at com.intellij.openapi.project.FileContentQueue.a(FileContentQueue.java:90)
    at com.intellij.openapi.project.FileContentQueue.access$000(FileContentQueue.java:40)
    at com.intellij.openapi.project.FileContentQueue$1.run(FileContentQueue.java:60)
    at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:454)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    at java.lang.Thread.run(Thread.java:680)
    at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:152)
2013-07-25 08:26:07,765 [86433999]   INFO - j.ide.startup.FileContentQueue - /box/www/box-storage/saf/dmt/project/build.properties (No such file or directory)
java.io.FileNotFoundException: /box/www/box-storage/saf/dmt/project/build.properties (No such file or directory)
    at java.io.FileInputStream.$$YJP$$open(Native Method)
    at java.io.FileInputStream.open(FileInputStream.java)
    at java.io.FileInputStream.<init>(FileInputStream.java:120)
    at com.intellij.openapi.vfs.impl.local.LocalFileSystemBase.contentsToByteArray(LocalFileSystemBase.java:443)
    at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.contentsToByteArray(PersistentFSImpl.java:509)
    at com.intellij.openapi.vfs.newvfs.impl.VirtualFileImpl.contentsToByteArray(VirtualFileImpl.java:106)
    at com.intellij.ide.caches.FileContent.getBytes(FileContent.java:48)
    at com.intellij.openapi.project.FileContentQueue.a(FileContentQueue.java:116)
    at com.intellij.openapi.project.FileContentQueue.a(FileContentQueue.java:90)
    at com.intellij.openapi.project.FileContentQueue.access$000(FileContentQueue.java:40)
    at com.intellij.openapi.project.FileContentQueue$1.run(FileContentQueue.java:60)
    at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:454)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    at java.lang.Thread.run(Thread.java:680)
    at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:152)

0

This continues to be a considerable annoyance to me.

Can you give me any feedback? Ideally a way to make it remember all my open files upon re-start or closing and re-opening the project?

0

Well, as mysteriously as this arose, it has now disappeared.

0

Please sign in to leave a comment.