Opened 5 years ago

Last modified 5 years ago

#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 5 years ago.
3496_1406241792_Android_Runtime_Log.txt (106.1 KB) - added by passbrains 5 years ago.
3496_1406242462_AAN-3.mp4 (10.3 MB) - added by passbrains 5 years ago.

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by passbrains

Changed 5 years ago by passbrains

comment:1 Changed 5 years ago by rjeschke

  • Component changed from Unknown to Adblock-Plus-for-Android
  • Description modified (diff)

comment:2 Changed 5 years ago 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.

Note: See TracTickets for help on using tickets.