Status Update
Comments
kd...@google.com <kd...@google.com>
em...@google.com <em...@google.com> #3
The issue where we analyzed the previous manifestation of the same error, and documented the fix:
Since this started happening again in Hedgehog Canary 2, it's probably another IntelliJ merge related issue.
em...@google.com <em...@google.com> #4
Another relevant (or duplicate, not sure) issue:
jo...@google.com <jo...@google.com>
jo...@google.com <jo...@google.com> #5
gh...@google.com <gh...@google.com> #6
Due to the recent CIDR commits 990aeaf448
and 8cf2b7d5d3
(either one is sufficient I believe), OCInitialTablesBuildingActivity
no longer builds native symbols for projects without C++ in them. This leads to the assertion failure in AbstractGlobalProjectSymbolsCache
when symbols are queried.
As far as I can tell we have two options:
- Revert
990aeaf448
and8cf2b7d5d3
so that native symbols are always built. - Or, make sure nobody queries for native symbols when
OCLanguageUtilsBase.isCppSupportDisabled(project)
returns true.
gh...@google.com <gh...@google.com> #7
The hotfix for AS Hedgehog Canary 3 was Change Ib17cb4ce9.
The hotfix for Canary 4 onward is Change Ia10f04128.
Remaining work: follow up with JetBrains to fix the root cause in CIDR.
gh...@google.com <gh...@google.com> #8
Fortunately, JetBrains made a recent
I also sent
cp...@gmail.com <cp...@gmail.com> #9
Android Studio Hedgehog | 2023.1.1 Canary 6, Find Usages still broken :(
cp...@gmail.com <cp...@gmail.com> #11
Canary 8 Ctrl + N still does not work
cp...@gmail.com <cp...@gmail.com> #12
Canary 9 is still broken
jo...@google.com <jo...@google.com> #13
This doesn't repro for me in canary 9. Looking at the idea.log from
jo...@google.com <jo...@google.com> #14
I tried ctrl-N and ctrl-B. Please open a new bug with idea.log with canary 9 or later if this persists.
gh...@google.com <gh...@google.com> #15
The idea.log from
2023-06-15 02:06:26,831 [ 32938] SEVERE - #c.i.o.a.i.ApplicationImpl - Symbols must be loaded
java.lang.AssertionError: Symbols must be loaded
at com.jetbrains.cidr.lang.symbols.symtable.AbstractGlobalProjectSymbolsCache.lambda$new$2(AbstractGlobalProjectSymbolsCache.java:59)
...
at com.jetbrains.cidr.lang.symbols.symtable.OCGlobalProjectSymbolsCache.getAllSymbolNames(OCGlobalProjectSymbolsCache.java:171)
at com.jetbrains.cidr.lang.navigation.OCGotoByNameContributor.processNames(OCGotoByNameContributor.java:44)
...
2023-06-15 02:06:26,832 [ 32939] SEVERE - #c.i.o.a.i.ApplicationImpl - Android Studio Hedgehog | 2023.1.1 Canary 8 Build #AI-231.9011.34.2311.10290408
2023-06-15 02:06:26,832 [ 32939] SEVERE - #c.i.o.a.i.ApplicationImpl - JDK: 17.0.6; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
2023-06-15 02:06:26,832 [ 32939] SEVERE - #c.i.o.a.i.ApplicationImpl - OS: Linux
gh...@google.com <gh...@google.com> #16
I can repro the exception when the "Android NDK Support" plugin is disabled (since disabling that plugin also disables HotfixForOCInitialTablesBuildingActivity
).
jo...@google.com <jo...@google.com> #17
jo...@google.com <jo...@google.com> #18
The part of this we can fix in Android Studio is now done (internal change id I3acbb1e4e93c0c1b817c0233ab2795d50a050611).
There is one stack not covered that JetBrains will need to handle:
JetBrains also confirmed that disabling the CLion plugin isn't going to work.
There is one piece of work remaining on our side. Once
cp...@gmail.com <cp...@gmail.com> #19
thanks, enabling Android NDK Support fixes issue, currently canary 12
em...@google.com <em...@google.com> #20
Rest of the internal cleanup work (about replacing Android Studio fix with a more generic fix) will be on
For those who are impacted, please make sure you have the Android NDK plugin enabled. Otherwise the local fix would not be applied.
Description
Create a new studio project using the basic compose template.
Wait for everything to index and try to Ctrl+click to find usages of the
Greeting
function.Before you even click, it should fail to have the popup show up and instead spew out: