Status Update
Comments
uc...@google.com <uc...@google.com>
lu...@google.com <lu...@google.com>
kd...@google.com <kd...@google.com> #2
Looks like ContextWrapper.getClassLoader()
is throwing an NPE.
java_vm_ext.cc:591] JNI DETECTED ERROR IN APPLICATION: JNI FindClass called with pending exception java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.ClassLoader android.content.Context.getClassLoader()' on a null object reference
java_vm_ext.cc:591] at java.lang.ClassLoader android.content.ContextWrapper.getClassLoader() (ContextWrapper.java:176)
java_vm_ext.cc:591] at java.lang.ClassLoader com.android.tools.agent.app.inspection.AppInspectionService.findClassLoader() (AppInspectionService.java:435)
java_vm_ext.cc:591] at void com.android.tools.agent.app.inspection.AppInspectionService.<init>(long) (AppInspectionService.java:88)
java_vm_ext.cc:591] at com.android.tools.agent.app.inspection.AppInspectionService com.android.tools.agent.app.inspection.AppInspectionService.createAppInspectionService() (AppInspectionService.java:-2)
java_vm_ext.cc:591] at com.android.tools.agent.app.inspection.AppInspectionService com.android.tools.agent.app.inspection.AppInspectionService.instance() (AppInspectionService.java:55)
java_vm_ext.cc:591]
java_vm_ext.cc:591] in call to FindClass
lb...@gmail.com <lb...@gmail.com> #3
I added NPE protection that resorts to a "safe" way to get a classloader.
an...@google.com <an...@google.com>
an...@google.com <an...@google.com>
an...@google.com <an...@google.com>
ad...@google.com <ad...@google.com> #4
Thank you for your patience while our engineering team worked to resolve this issue. A fix for this issue is now available in:
- Android Studio Ladybug Feature Drop | 2024.2.2 Canary 2
- Android Gradle Plugin 8.8.0-alpha02
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Thank you for taking the time to submit feedback — we really appreciate it!
an...@google.com <an...@google.com>
an...@google.com <an...@google.com> #5
lb...@gmail.com <lb...@gmail.com> #6
@5 While I'm happy you did it, I find it weird that you've done it so quickly for such a niche request, while when I requested for Kotlin (have suggestions that make sense for "object ..." like we have for Java's "new ...", for example), I still see Kotlin's support on Android Studio way behind of Java...
an...@google.com <an...@google.com> #7
Thank you for your patience while our engineering team worked to resolve this issue. A fix for this issue is now available in:
- Android Studio Ladybug Feature Drop | 2024.2.2 Canary 1
- Android Gradle Plugin 8.8.0-alpha01
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Thank you for taking the time to submit feedback — we really appreciate it!
lb...@gmail.com <lb...@gmail.com> #8
@7 Seems it offers them, but without the extra ones of "anyOf" , "allOf" :
Can you please consider adding them, with being one of the tops? Also can you please add the context menu operations to convert between single, "anyOf", and "allOf" ?
Description
Same for other annotations that could be auto-suggested with known values