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

  1. Download the ABP app
  2. Install the ABP app on the android device
  3. Ensure android device is not connected to a wifi connection before launching the app
  4. Launch the ABP application
  5. Connect to a wifi connection
  6. Select 'AdBlock Plus' from the Android status bar
  7. The 'AdBlock Plus' settings are displayed
  8. Toggle the 'Filtering' button from 'ON' to 'OFF' and back to 'ON'
  9. Message box appears informing user about setting proxy settings manually, select 'Configure'
  10. 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)

3496_1406241665_Screenshot_2014-07-24-22-18-291.png (588.6 KB) - added by passbrains on 08/13/2014 at 05:13:30 PM.
3496_1406241792_Android_Runtime_Log.txt (106.1 KB) - added by passbrains on 08/13/2014 at 05:13:31 PM.
3496_1406242462_AAN-3.mp4 (10.3 MB) - added by passbrains on 08/13/2014 at 05:13:33 PM.

Download all attachments as: .zip

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.

Add Comment

Modify Ticket

Change Properties
Action
as new .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from (none).
Next status will be 'reviewing'.
 
Note: See TracTickets for help on using tickets.