Failure on LightPlatformCodeInsightFixtureTestCase.setup():java.lang.RuntimeException: java.io.IOException: writePrevChunkAddress:386545,500525

I've been using LightPlatformCodeInsightFixtureTestCase to run tests of my plugin for months now but all of the sudden the tests are crashing inside the super setup function? I have no idea what is causing this and cant find any documentation on this error. Has anyone seen this and can they explain it?

Here is the base class I wrote to build cases off of the Fixture:

public class KnitCompilerTests extends LightPlatformCodeInsightFixtureTestCase {
@Override
public void tearDown() throws Exception {
super.tearDown();
File stitchCountsLog = new File(this.getTestDataPath()+File.separator+"stitchCountLog.txt");
File stitchTextCountsLog = new File(this.getTestDataPath()+File.separator+"stitchTextCountLog.txt");
StitchCountTracker.writeStitchCounts(stitchCountsLog);
StitchTextCountTracker.writeStitchCounts(stitchTextCountsLog);
}

@Override
public void setUp() throws Exception {
BasicConfigurator.configure();
super.setUp();
}
}

Setup was working with the simple code for a long time, why has it suddenly failed?

Sorry for the dump but the full error/out log is below: https://pastebin.com/raw/ia1e7GnM

 

0
1 comment

Caches were corrupted, so you need to clear the directory:

C:\Users\Megan\.IdeaIC2017.1\system\plugins-sandbox\test\system\

Thanks,

Anna

0

Please sign in to leave a comment.