Fixed
Status Update
Comments
lb...@gmail.com <lb...@gmail.com>
sr...@google.com <sr...@google.com>
jl...@google.com <jl...@google.com>
tn...@google.com <tn...@google.com>
tn...@google.com <tn...@google.com> #2
Thank you for the report and the supplied dump with the reproduction. I can confirm that the NPE is also present on HEAD, and I will look into it.
Quite a few of the class files in the dump has malformed inner-class attribute, where R8 reports e.g.:
Info in /tmp/tmpo67ucguh/program.jar:ofifmwrrhhmodsc/ψξψξψξξ.class:
Malformed inner-class attribute:
outerTypeInternal: ofifmwrrhhmodsc/ψξψξψξξ
innerTypeInternal: ofifmwrrhhmodsc/ψξψξψξξ$ψξξψξξξ
innerName: ψξψξψξξ$ψξξψξξξ
These are ignored, so they should not be the reason for the NPE, but something to also look into.
Description
STEPS TO REPRODUCE:
1. Use this code:
Example:
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
val view = findViewById<View>(android.R.id.content)!!
ObjectAnimatorEx.ofFloat(view, View.ALPHA, 1f).setDuration(500).start()
}
object ObjectAnimatorEx {
@JvmStatic
fun <T> ofFloat(target: T, property: Property<T, Float>, vararg values: Float): ObjectAnimator {
return ObjectAnimator.ofFloat(target, property, *values)
}
}
}
The bug is that you get a warning about the animation not being started.
------------------
Studio Build:
Version of Gradle Plugin:
Version of Gradle:
Version of Java:
OS:
Android Studio Flamingo | 2022.2.1 Canary 4
Build #AI-222.4167.29.2221.9153536, built on October 8, 2022
Runtime version: 17.0.4.1+0-b2043.56-9127311 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 9048M
Cores: 12
Registry:
external.system.auto.import.disabled=true
debugger.watches.in.variables=false
ide.text.editor.with.preview.show.floating.toolbar=false
ide.images.show.chessboard=true
Non-Bundled Plugins:
idea.plugin.protoeditor (222.4167.21)
com.intellij.marketplace (222.4167.37)
com.dubreuia (2.3.0)
com.dethlex.numberconverter (1.5.0)
String Manipulation (9.5.1)
Show As ... (1.0.3)
GenerateSerializationHelpers (1.0.6)
GenerateSerialVersionUID (3.0.3)
com.google.mad-scorecard (1.2)
net.aquadc.mike.plugin (0.26)
izhangzhihao.rainbow.brackets (6.26)
com.ppismerov.ksvu (0.0.1)