VLC crashes when I try to choose MIDI soundfont

VLC for Android and Chrome OS specific usage questions
shinovon
New Cone
New Cone
Posts: 1
Joined: 30 May 2024 07:52

VLC crashes when I try to choose MIDI soundfont

Postby shinovon » 30 May 2024 08:06

Nightly build VLC-Android-3.6.0-Beta-2-armv8-20240526-0126
Android 10, One UI 2.5

Crash log:

Code: Select all

App version: 3.6.0 Beta 2 android.view.InflateException: Binary XML file line #262 in org.videolan.vlc.debug:layout/browser_item: Binary XML file line #262 in org.videolan.vlc.debug:layout/browser_item: Error inflating class android.widget.ProgressBar at Android.MODEL(SM-G960F) at Android.VERSION(10) at Android.FINGERPRINT(samsung/starltexx/starlte:10/QP1A.190711.020/G960FXXUHFVG4:user/release-keys) Caused by: android.view.InflateException: Binary XML file line #262 in org.videolan.vlc.debug:layout/browser_item: Error inflating class android.widget.ProgressBar Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Constructor.newInstance0(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:343) at android.view.LayoutInflater.createView(LayoutInflater.java:854) at android.view.LayoutInflater.createView(LayoutInflater.java:776) at com.android.internal.policy.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:58) at android.view.LayoutInflater.onCreateView(LayoutInflater.java:930) at android.view.LayoutInflater.onCreateView(LayoutInflater.java:950) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1004) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:961) at android.view.LayoutInflater.rInflate(LayoutInflater.java:1123) at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1084) at android.view.LayoutInflater.inflate(LayoutInflater.java:682) at android.view.LayoutInflater.inflate(LayoutInflater.java:534) at androidx.databinding.DataBindingUtil.inflate(DataBindingUtil.java:126) at androidx.databinding.ViewDataBinding.inflateInternal(ViewDataBinding.java:1409) at org.videolan.vlc.databinding.BrowserItemBinding.inflate(BrowserItemBinding.java:245) at org.videolan.vlc.databinding.BrowserItemBinding.inflate(BrowserItemBinding.java:231) at org.videolan.vlc.gui.browser.BaseBrowserAdapter.onCreateViewHolder(BaseBrowserAdapter.kt:132) at org.videolan.vlc.gui.browser.BaseBrowserAdapter.onCreateViewHolder(BaseBrowserAdapter.kt:60) at androidx.recyclerview.widget.RecyclerView$Adapter.createViewHolder(RecyclerView.java:7788) at androidx.recyclerview.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:6873) at androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:6757) at androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:6753) at androidx.recyclerview.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2362) at androidx.recyclerview.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1662) at androidx.recyclerview.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1622) at androidx.recyclerview.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:687) at androidx.recyclerview.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:4645) at androidx.recyclerview.widget.RecyclerView.dispatchLayout(RecyclerView.java:4348) at androidx.recyclerview.widget.RecyclerView.onLayout(RecyclerView.java:4919) at android.view.View.layout(View.java:23750) at android.view.ViewGroup.layout(ViewGroup.java:7277) at androidx.swiperefreshlayout.widget.SwipeRefreshLayout.onLayout(SwipeRefreshLayout.java:625) at android.view.View.layout(View.java:23750) at android.view.ViewGroup.layout(ViewGroup.java:7277) at androidx.constraintlayout.widget.ConstraintLayout.onLayout(ConstraintLayout.java:1873) at android.view.View.layout(View.java:23750) at android.view.ViewGroup.layout(ViewGroup.java:7277) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332) at android.widget.FrameLayout.onLayout(FrameLayout.java:270) at android.view.View.layout(View.java:23750) at android.view.ViewGroup.layout(ViewGroup.java:7277) at androidx.constraintlayout.widget.ConstraintLayout.onLayout(ConstraintLayout.java:1873) at android.view.View.layout(View.java:23750) at android.view.ViewGroup.layout(ViewGroup.java:7277) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332) at android.widget.FrameLayout.onLayout(FrameLayout.java:270) at android.view.View.layout(View.java:23750) at android.view.ViewGroup.layout(ViewGroup.java:7277) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332) at android.widget.FrameLayout.onLayout(FrameLayout.java:270) at android.view.View.layout(View.java:23750) at android.view.ViewGroup.layout(ViewGroup.java:7277) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332) at android.widget.FrameLayout.onLayout(FrameLayout.java:270) at android.view.View.layout(View.java:23750) at android.view.ViewGroup.layout(ViewGroup.java:7277) at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1829) at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1673) at android.widget.LinearLayout.onLayout(LinearLayout.java:1582) at android.view.View.layout(View.java:23750) at android.view.ViewGroup.layout(ViewGroup.java:7277) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332) at android.widget.FrameLayout.onLayout(FrameLayout.java:270) at com.android.internal.policy.DecorView.onLayout(DecorView.java:1099) at android.view.View.layout(View.java:23750) at android.view.ViewGroup.layout(ViewGroup.java:7277) at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:3709) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3161) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2222) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:9123) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:999) at android.view.Choreographer.doCallbacks(Choreographer.java:797) at android.view.Choreographer.doFrame(Choreographer.java:732) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:984) at android.os.Handler.handleCallback(Handler.java:883) at android.os.Handler.dispatchMessage(Handler.java:100) at android.os.Looper.loop(Looper.java:237) at android.app.ActivityThread.main(ActivityThread.java:8167) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100) Caused by: java.lang.UnsupportedOperationException: Failed to resolve attribute at index 8: TypedValue{t=0x2/d=0x7f04029c a=-1} at android.content.res.TypedArray.getDrawableForDensity(TypedArray.java:996) at android.content.res.TypedArray.getDrawable(TypedArray.java:980) at android.widget.ProgressBar.<init>(ProgressBar.java:344) at android.widget.ProgressBar.<init>(ProgressBar.java:328) at android.widget.ProgressBar.<init>(ProgressBar.java:324) ... 82 more

Aza
Developer
Developer
Posts: 1960
Joined: 14 Mar 2019 10:04

Re: VLC crashes when I try to choose MIDI soundfont

Postby Aza » 31 May 2024 07:31

Thanks for the report. I am indeed able to reproduce this issue.


Return to “VLC for Android and Chrome OS”

Who is online

Users browsing this forum: No registered users and 20 guests