Opened on 08/13/2014 at 05:13:22 PM
Last modified on 10/14/2014 at 04:47:22 PM
#1213 new defect
Application throws fatal exception and crashes app on connecting wifi and selecting proxy configuration
Reported by: | passbrains | Assignee: | |
---|---|---|---|
Priority: | P3 | Milestone: | |
Module: | Adblock-Plus-for-Android | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Platform: | Android | |
Ready: | yes | Confidential: | no |
Tester: | Verified working: | no | |
Review URL(s): |
Description (last modified by rjeschke)
Adapted from https://www.passbrains.com/dashboard/view-ticket.php?ticket_no=AAN-3
Environment
Asus Nexus 7 Android 4.4.3 KitKat
Rooted device: No
ABP version 1.2.1.331 build# 331
How to reproduce
- Download the ABP app
- Install the ABP app on the android device
- Ensure android device is not connected to a wifi connection before launching the app
- Launch the ABP application
- Connect to a wifi connection
- Select 'AdBlock Plus' from the Android status bar
- The 'AdBlock Plus' settings are displayed
- Toggle the 'Filtering' button from 'ON' to 'OFF' and back to 'ON'
- Message box appears informing user about setting proxy settings manually, select 'Configure'
- Observe message from Android: 'Unfortunately, Adblock Plus has stopped.'
Observed behaviour
The application crashes and fatal exception is thrown:
07-24 23:23:52.549 E/AndroidRuntime(22601): FATAL EXCEPTION: main
07-24 23:23:52.549 E/AndroidRuntime(22601): Process: org.adblockplus.android, PID: 22601
07-24 23:23:52.549 E/AndroidRuntime(22601): java.lang.IllegalStateException: Could not execute method of the activity
See attached log file.
Expected behaviour
The user should be able to select 'Configure' and the the Proxy configuration screen should display.
Attachments (3)
Change History (5)
Changed on 08/13/2014 at 05:13:30 PM by passbrains
Changed on 08/13/2014 at 05:13:31 PM by passbrains
Changed on 08/13/2014 at 05:13:33 PM by passbrains
comment:1 Changed on 10/08/2014 at 12:47:44 PM by rjeschke
- Component changed from Unknown to Adblock-Plus-for-Android
- Description modified (diff)
comment:2 Changed on 10/14/2014 at 04:47:22 PM by rjeschke
- Priority changed from Unknown to P3
- Ready set
The crash should no longer occur, still it's not an optimal solution as there's no feedback when opening the Proxy configuration dialogue fails.
Anyway, the main cause is fixed, will revisit this later for beautification.