Project just blew up - Cant Compile in IDEA: "Error: Read from Storage 0 bytes ..."

After using IDEA for many months without a hitch, this morning I had a hard crash on a development server. When I rebooted and tried to continue developing the project to my horror I found that IDEA now wont compile the project. It returns:

"Error: Read from Storage 0 bytes, but requested xxx bytes"

I tried invalidating all caches, as suggested by another thread, but that didnt resolve the issue. So I also tried to completely delete the cache files in folder .IntellijIdea90/system/cache/* Still the same problem. The log file from the most recent attempt contains the following:

2010-09-19 15:54:41,157 [  25064]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/fileColors.xml file is null
2010-09-19 15:54:41,157 [  25064]   INFO - .impl.stores.XmlElementStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/fileColors.xml
2010-09-19 15:54:41,963 [  25870]   INFO - tor.impl.FileEditorManagerImpl - Project opening took 20416 ms
2010-09-19 15:56:24,541 [ 128448]   INFO -        com.atlassian.theplugin - Start: Project initializing
2010-09-19 15:56:24,592 [ 128499]   INFO -        com.atlassian.theplugin - End: Project initialized
2010-09-19 15:56:37,489 [ 141396]   INFO - ij.compiler.impl.CompileDriver - COMPILATION STARTED
2010-09-19 15:56:37,564 [ 141471]   INFO - lij.compiler.impl.CompilerUtil - Initial VFS refresh took 68 ms: 0 min 0sec
2010-09-19 15:56:37,590 [ 141497]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/groovyc.xml file is null
2010-09-19 15:56:37,590 [ 141497]   INFO - .impl.stores.XmlElementStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/groovyc.xml
2010-09-19 15:56:40,420 [ 144327]   INFO - lij.compiler.impl.CompilerUtil - Finding dependencies took 27 ms: 0 min 0sec
2010-09-19 15:56:40,420 [ 144327]   INFO - lij.compiler.impl.CompilerUtil - Javac running took 2528 ms: 0 min 2sec
2010-09-19 15:56:40,428 [ 144335]   INFO - lij.compiler.impl.CompilerUtil - Dependency cache update took 8 ms: 0 min 0sec
2010-09-19 15:56:40,533 [ 144440]   INFO - lij.compiler.impl.CompilerUtil - Dependency cache disposal took 105 ms: 0 min 0sec
2010-09-19 15:56:41,384 [ 145291]   INFO - lij.compiler.impl.CompilerUtil - Dependency cache disposal took 0 ms: 0 min 0sec
2010-09-19 15:56:41,434 [ 145341]   INFO - lij.compiler.impl.CompilerUtil - Dependency cache disposal took 0 ms: 0 min 0sec
2010-09-19 15:56:41,434 [ 145341]   INFO - lij.compiler.impl.CompilerUtil - Dependency cache disposal took 0 ms: 0 min 0sec
2010-09-19 15:56:41,436 [ 145343]   INFO - lij.compiler.impl.CompilerUtil - Refreshing VFS in total took 225 ms: 0 min 0sec
2010-09-19 15:56:41,436 [ 145343]   INFO - lij.compiler.impl.CompilerUtil -     COMPILATION FINISHED; Errors: 1; warnings: 4 took 3947 ms: 0 min 3sec
2010-09-19 15:56:44,809 [ 148716]   WARN - tellij.ide.HackyRepaintManager - Access to realized (ever shown) UI components should be done only from the AWT event dispatch thread, revalidate(), invalidate() & repaint() is ok from any thread
java.lang.Exception

I have tried searching the entire file store for fileColors.xml and groovyc.xml but they dont exist.

Can anyone please help me solve this problem. Until I do my entire project is in the dumps and on hold.

Thanks hugely,

Roger

Please sign in to leave a comment.