Error read icons.db cause of dateUtils error

Environment:

  • Java: JetBrains s.r.o. 11.0.11
  • OS: Mac OS X aarch64
  • IDE: IntelliJ IDEA 2021.2
  • SonarLint: 5.2.0.35150
org.jetbrains.mvstore.MVStoreException: End of file /Users/gordor/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/212.4746.92/IntelliJ IDEA.app/Contents/bin/icons.db (position=357367, length null, read=0, remaining=16384)
	at org.jetbrains.mvstore.DataUtil.readFully(DataUtil.java:110)
	at org.jetbrains.mvstore.FileStore.readFully(FileStore.java:124)
	at org.jetbrains.mvstore.Chunk.readBufferForPage(Chunk.java:436)
	at org.jetbrains.mvstore.MVStore.doReadPage(MVStore.java:2630)
	at org.jetbrains.mvstore.MVStore.lambda$readPage$9(MVStore.java:2616)
	at com.github.benmanes.caffeine.cache.BoundedLocalCache.lambda$doComputeIfAbsent$13(BoundedLocalCache.java:2439)
	at java.base/java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1908)
	at com.github.benmanes.caffeine.cache.BoundedLocalCache.doComputeIfAbsent(BoundedLocalCache.java:2437)
	at com.github.benmanes.caffeine.cache.BoundedLocalCache.computeIfAbsent(BoundedLocalCache.java:2420)
	at com.github.benmanes.caffeine.cache.LocalCache.computeIfAbsent(LocalCache.java:104)
	at com.github.benmanes.caffeine.cache.LocalManualCache.get(LocalManualCache.java:62)
	at org.jetbrains.mvstore.MVStore.readPage(MVStore.java:2616)
	at org.jetbrains.mvstore.NonLeafPage.getChildPage(NonLeafPage.java:62)
	at org.jetbrains.mvstore.Page.get(Page.java:205)
	at org.jetbrains.mvstore.MVMap.get(MVMap.java:372)
	at c.ij.ui.svg.SvgPrebuiltCacheManager.loadFromCache(SvgPrebuiltCacheManager.java:48)

Hello,

Welcome to the community!

I think this error does not relate to SonarLint. What were you doing at the time ? The stack trace appears to be truncated, would you have a more complete one ?

My guess is that we try to use an IntelliJ API from our plugin to load an icon but the database is somehow corrupted. Could try to reinstall your IDE and see if the error disappears ?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.