Cannot rebuild an artifact more than once - all further attempts fail
The very first time that I selected a specific artifact, and rebuilt it , the .jar file was updated successfully. Any further attempts have lead to
- a ‘build finished’ status under Build Output
- the last log showing ‘Synchronizing output directories…’ (but not the final log indicative of a successful rebuild)
- re-running the relevant .jar file showing that it still is the old version
Additionally, upon starting IntelliJ Idea Community in wsl, I get the following warnings in my Ubuntu terminal: CompileCommand: exclude com/intellij/openapi/vfs/impl/FilePartNodeRoot.trieDescend bool exclude = true
2024-07-25 12:55:48,413 [ 609] WARN - #c.i.i.u.l.LafManagerImpl - VersionControl.Log.Commit.rowHeight = null in LookAndFeelThemeAdapter; it may lead to performance degradation
2024-07-25 12:55:48,894 [ 1090] WARN - #c.i.i.s.p.i.BundledSharedIndexProvider - Bundled shared index is not found at: /snap/intellij-idea-community/515/jdk-shared-indexes
2024-07-25 12:56:20,917 [ 33113] WARN - #o.j.k.i.s.r.KotlinCompilerReferenceIndexStorage - kotlin-data-container is not found
2024-07-25 12:56:48,260 [ 60456] WARN - #c.i.u.x.Binding - No accessors for com.intellij.platform.feedback.impl.state.DontShowAgainFeedbackState. This means that state class cannot be serialized properly. Please see https://jb.gg/ij-psoc
2024-07-25 12:56:48,261 [ 60457] WARN - #c.i.u.x.Binding - No accessors for com.intellij.platform.feedback.impl.state.CommonFeedbackSurveysState. This means that state class cannot be serialized properly. Please see https://jb.gg/ij-psoc
Running ‘Rebuild’ once on one artifacts prints out the following (with the ‘build finished’ status, last log in build output as ‘Synchronizing output directories…’, and the .jar file still behaving like its old version): 2024-07-25 12:38:17,785 [ 53249] WARN - #o.j.k.i.s.r.KotlinCompilerReferenceIndexStorage - kotlin-data-container is not found
2024-07-25 12:38:24,992 [ 60456] WARN - #c.i.u.x.Binding - No accessors for com.intellij.platform.feedback.impl.state.DontShowAgainFeedbackState. This means that state class cannot be serialized properly. Please see https://jb.gg/ij-psoc
2024-07-25 12:38:24,992 [ 60456] WARN - #c.i.u.x.Binding - No accessors for com.intellij.platform.feedback.impl.state.CommonFeedbackSurveysState. This means that state class cannot be serialized properly. Please see https://jb.gg/ij-psoc
And any further attempt lead to : 2024-07-25 12:38:17,785 [ 53249] WARN - #o.j.k.i.s.r.KotlinCompilerReferenceIndexStorage - kotlin-data-container is not found
(again, with the ‘build finished’ status, last log in build output as ‘Synchronizing output directories…’, and the .jar file still behaving like its old version)
Could I please get some pointers on why rebuilds fail most of the time (except if it is the absolute first time)?
Many thanks in advance for helping out with this. If any further information is required, please do ask.
请先登录再写评论。
Hello,
Is it reproducible with some sample project that could be provided for investigation? Also, could you please try to install IDE using archive from official site?
Hi,
Thank you for your message.
one of my colleagues works on the exam same project as I do and also uses IntelliJ IDEA Community, with, as far as we know, the exact same settings / configuration, and we have not been able to replicate the error on his system. Given this, I am unsure as to whether I could provide a sample project that would allow to replicate the issue.
As for installation: I had originally installed IntelliJ IDEA Community through the official website on Windows (I use a Windows machine with a WSL environment), encountered the problem above, and then decided to try to instal it on and with WSL (as this was working fine for my colleague). Doing the install through one system or the other seems to have had no impact on the behaviour above. I could try uninstalling and re-installing the IDE, if there is a chance this might help.
Do you use any antivirus software or data protection tools? Is folder with your project located under some cloud controlled folder?