Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No field mMaxHeight in class Landroid/widget/ImageView #217

Open
perissf1 opened this issue Dec 20, 2023 · 0 comments
Open

No field mMaxHeight in class Landroid/widget/ImageView #217

perissf1 opened this issue Dec 20, 2023 · 0 comments

Comments

@perissf1
Copy link

perissf1 commented Dec 20, 2023

I get the following exception in Android 12 after a failed transaction (using SDK release 4.3.0):

W Accessing hidden field Landroid/widget/ImageView;->mMaxHeight:I (max-target-p, reflection, denied)
E No field mMaxHeight in class Landroid/widget/ImageView; (declaration of 'android.widget.ImageView' appears in /system/framework/framework.jar!classes4.dex)
java.lang.NoSuchFieldException: No field mMaxHeight in class Landroid/widget/ImageView; (declaration of 'android.widget.ImageView' appears in /system/framework/framework.jar!classes4.dex)
at java.lang.Class.getDeclaredField(Native Method)
at com.nostra13.universalimageloader.core.imageaware.ImageViewAware.getImageViewFieldValue(ImageViewAware.java:132)
at com.nostra13.universalimageloader.core.imageaware.ImageViewAware.getHeight(ImageViewAware.java:96)
at com.nostra13.universalimageloader.utils.ImageSizeUtils.defineTargetSizeForView(ImageSizeUtils.java:57)
at com.nostra13.universalimageloader.core.ImageLoader.displayImage(ImageLoader.java:260)
at com.nostra13.universalimageloader.core.ImageLoader.displayImage(ImageLoader.java:209)
at com.nostra13.universalimageloader.core.ImageLoader.displayImage(ImageLoader.java:316)
at com.sumup.merchant.reader.ui.fragments.CardReaderPaymentFragment.setUpImageView(SourceFile:15)
at com.sumup.merchant.reader.ui.fragments.TxFailedFragment.populateUiFromScreenData(SourceFile:3)
at com.sumup.merchant.reader.ui.fragments.TxFailedFragment.onActivityCreated(SourceFile:6)
at androidx.fragment.app.Fragment.performActivityCreated(Fragment.java:3156)
at androidx.fragment.app.FragmentStateManager.activityCreated(FragmentStateManager.java:619)
at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:275)
at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:1943)
at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:1839)
at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:1782)
at androidx.fragment.app.FragmentManager$5.run(FragmentManager.java:565)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8669)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant