You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we try to login in landscape mode, the login activity crashes
Steps to reproduce:
Change the orientation of the device and try to login.
How can we reproduce the issue?
Expected behaviour was flawless login irrespective of the device orientation
Add System logs:
java.lang.RuntimeException: Unable to start activity ComponentInfo{fr.free.nrw.commons/fr.free.nrw.commons.auth.LoginActivity}: java.lang.IllegalStateException: Required view 'skipLogin' with ID 2131689702 for field 'skipLoginText' was not found. If this view is optional add '@nullable' (fields) or '@optional' (methods) annotation.
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2927)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2988)
at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:4915)
at android.app.ActivityThread.-wrap21(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1637)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6682)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)
Caused by: java.lang.IllegalStateException: Required view 'skipLogin' with ID 2131689702 for field 'skipLoginText' was not found. If this view is optional add '@nullable' (fields) or '@optional' (methods) annotation.
at butterknife.internal.Utils.findRequiredView(Utils.java:92)
at butterknife.internal.Utils.findRequiredViewAsType(Utils.java:104)
at fr.free.nrw.commons.auth.LoginActivity_ViewBinding.(LoginActivity_ViewBinding.java:45)
at java.lang.reflect.Constructor.newInstance0(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:430)
at butterknife.ButterKnife.createBinding(ButterKnife.java:199)
at butterknife.ButterKnife.bind(ButterKnife.java:124)
at fr.free.nrw.commons.auth.LoginActivity.onCreate(LoginActivity.java:110)
at android.app.Activity.performCreate(Activity.java:6942)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1126)
Device and Android version:
Pixel C and Samsung s7 edge api 27
Commons app version:
2.8.1 prodDebug
Screen-shots:
NA
Would you like to work on the issue?
Yes
The text was updated successfully, but these errors were encountered:
Summary:
When we try to login in landscape mode, the login activity crashes
Steps to reproduce:
Change the orientation of the device and try to login.
How can we reproduce the issue?
Expected behaviour was flawless login irrespective of the device orientation
Add System logs:
java.lang.RuntimeException: Unable to start activity ComponentInfo{fr.free.nrw.commons/fr.free.nrw.commons.auth.LoginActivity}: java.lang.IllegalStateException: Required view 'skipLogin' with ID 2131689702 for field 'skipLoginText' was not found. If this view is optional add '@nullable' (fields) or '@optional' (methods) annotation.
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2927)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2988)
at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:4915)
at android.app.ActivityThread.-wrap21(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1637)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6682)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)
Caused by: java.lang.IllegalStateException: Required view 'skipLogin' with ID 2131689702 for field 'skipLoginText' was not found. If this view is optional add '@nullable' (fields) or '@optional' (methods) annotation.
at butterknife.internal.Utils.findRequiredView(Utils.java:92)
at butterknife.internal.Utils.findRequiredViewAsType(Utils.java:104)
at fr.free.nrw.commons.auth.LoginActivity_ViewBinding.(LoginActivity_ViewBinding.java:45)
at java.lang.reflect.Constructor.newInstance0(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:430)
at butterknife.ButterKnife.createBinding(ButterKnife.java:199)
at butterknife.ButterKnife.bind(ButterKnife.java:124)
at fr.free.nrw.commons.auth.LoginActivity.onCreate(LoginActivity.java:110)
at android.app.Activity.performCreate(Activity.java:6942)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1126)
Device and Android version:
Pixel C and Samsung s7 edge api 27
Commons app version:
2.8.1 prodDebug
Screen-shots:
NA
Would you like to work on the issue?
Yes
The text was updated successfully, but these errors were encountered: