Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Crashes when I click on preview layout #1904

Open
5 tasks done
yazigegeda opened this issue Sep 10, 2024 · 0 comments
Open
5 tasks done

Crashes when I click on preview layout #1904

yazigegeda opened this issue Sep 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@yazigegeda
Copy link

Issue Checklist

  • I confirm that this issue is not a duplicate and hasn't been reported before.
  • I agree to follow the project's code of conduct.
  • I have checked and verified that I am using the latest version of AndroidIDE from GitHub or F-Droid.

Additional terms

  • I understand that providing incomplete or inaccurate information may result in the issue being closed.
  • I agree to provide all requested details promptly for a comprehensive bug report.

Issue explanation

Crashes when I click on preview layout

Expected behavior

none

Version name

Version : v2.7.1-beta (27102)
CI Build : true
Branch : main
Commit : 55bb46b
Variant : arm64-v8a (release)
Build type : OFFICIAL
F-Droid Build : false
F-Droid Version : null
F-Droid Version code : -1
SDK Version : 30
Supported ABIs : [arm64-v8a, armeabi-v7a, armeabi]
Manufacturer : OPPO
Device : PDVM00

Download source

GitHub

Relevant log output

AndroidIDE Crash Report
Version : v2.7.1-beta (27102)
CI Build : true
Branch : main
Commit : 55bb46b31
Variant : arm64-v8a (release)
Build type : OFFICIAL
F-Droid Build : false
F-Droid Version : null
F-Droid Version code : -1
SDK Version : 30
Supported ABIs : [arm64-v8a, armeabi-v7a, armeabi]
Manufacturer : OPPO
Device : PDVM00

Stacktrace:
java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.drawable.Drawable.getLevel()' on a null object reference
	at android.graphics.drawable.ClipDrawable.draw(ClipDrawable.java:180)
	at android.graphics.drawable.LayerDrawable.draw(LayerDrawable.java:1018)
	at android.widget.ProgressBar.drawTrack(ProgressBar.java:2139)
	at android.widget.AbsSeekBar.drawTrack(AbsSeekBar.java:823)
	at android.widget.ProgressBar.onDraw(ProgressBar.java:2106)
	at android.widget.AbsSeekBar.onDraw(AbsSeekBar.java:806)
	at android.view.View.draw(View.java:22644)
	at android.view.View.updateDisplayListIfDirty(View.java:21497)
	at android.view.View.draw(View.java:22364)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4611)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4345)
	at android.view.View.draw(View.java:22647)
	at android.view.View.updateDisplayListIfDirty(View.java:21497)
	at android.view.View.draw(View.java:22364)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4611)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4345)
	at android.view.View.draw(View.java:22647)
	at android.view.View.updateDisplayListIfDirty(View.java:21497)
	at android.view.View.draw(View.java:22364)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4611)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4345)
	at android.view.View.draw(View.java:22647)
	at android.view.View.updateDisplayListIfDirty(View.java:21497)
	at android.view.View.draw(View.java:22364)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4611)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4345)
	at android.view.View.draw(View.java:22647)
	at android.view.View.updateDisplayListIfDirty(View.java:21497)
	at android.view.View.draw(View.java:22364)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4611)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4345)
	at android.view.View.updateDisplayListIfDirty(View.java:21488)
	at android.view.View.draw(View.java:22364)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4611)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4345)
	at androidx.constraintlayout.widget.ConstraintLayout.dispatchDraw(Unknown Source:28)
	at android.view.View.updateDisplayListIfDirty(View.java:21488)
	at android.view.View.draw(View.java:22364)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4611)
	at androidx.fragment.app.FragmentContainerView.drawChild(Unknown Source:32)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4345)
	at androidx.fragment.app.FragmentContainerView.dispatchDraw(Unknown Source:35)
	at android.view.View.updateDisplayListIfDirty(View.java:21488)
	at android.view.View.draw(View.java:22364)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4611)
	at androidx.coordinatorlayout.widget.CoordinatorLayout.drawChild(Unknown Source:13)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4345)
	at android.view.View.updateDisplayListIfDirty(View.java:21488)
	at android.view.View.draw(View.java:22364)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4611)
	at androidx.drawerlayout.widget.DrawerLayout.drawChild(Unknown Source:98)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4345)
	at android.view.View.updateDisplayListIfDirty(View.java:21488)
	at android.view.View.draw(View.java:22364)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4611)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4345)
	at android.view.View.updateDisplayListIfDirty(View.java:21488)
	at android.view.View.draw(View.java:22364)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4611)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4345)
	at android.view.View.updateDisplayListIfDirty(View.java:21488)
	at android.view.View.draw(View.java:22364)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4611)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4345)
	at android.view.View.updateDisplayListIfDirty(View.java:21488)
	at android.view.View.draw(View.java:22364)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4611)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4345)
	at android.view.View.updateDisplayListIfDirty(View.java:21488)
	at android.view.View.draw(View.java:22364)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4611)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4345)
	at com.android.internal.policy.DecorView.dispatchDraw(DecorView.java:2963)
	at android.view.View.draw(View.java:22647)
	at com.android.internal.policy.DecorView.draw(DecorView.java:903)
	at android.view.View.updateDisplayListIfDirty(View.java:21497)
	at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRen
@yazigegeda yazigegeda added the bug Something isn't working label Sep 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant