Idea报错Unexpectedcontentstoragemodification:page=xxxnewRecord=xxx

2020-06-09 11:00:32,303 [6971867]   WARN - mponents.impl.stores.StoreUtil - Save settings failed 
java.lang.AssertionError: Unexpected content storage modification: page=207; newRecord=40220
    at com.intellij.openapi.vfs.newvfs.persistent.FSRecords.findOrCreateContentRecord(FSRecords.java:1577)
    at com.intellij.openapi.vfs.newvfs.persistent.FSRecords.access$3500(FSRecords.java:61)
    at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$ContentOutputStream.lambda$writeBytes$0(FSRecords.java:1500)
    at com.intellij.openapi.vfs.newvfs.persistent.FSRecords.writeAndHandleErrors(FSRecords.java:951)
    at com.intellij.openapi.vfs.newvfs.persistent.FSRecords.access$300(FSRecords.java:61)
    at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$ContentOutputStream.writeBytes(FSRecords.java:1493)
    at com.intellij.openapi.vfs.newvfs.persistent.FSRecords$ContentOutputStream.close(FSRecords.java:1489)
    at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl$2.close(PersistentFSImpl.java:653)
    at sun.nio.cs.StreamEncoder.implClose(StreamEncoder.java:320)
    at sun.nio.cs.StreamEncoder.close(StreamEncoder.java:149)
    at java.io.OutputStreamWriter.close(OutputStreamWriter.java:233)
    at com.intellij.openapi.util.JDOMUtil.write(JDOMUtil.java:371)

 

解决办法:

找到idea 的xxxxx\.IntelliJIdea2018.2\system\caches目录删除所有文件 重启idea即可

你可能感兴趣的:(工具)