radiocells-scanner-android icon indicating copy to clipboard operation
radiocells-scanner-android copied to clipboard

Turning off location permissions before adding a new session will cause RadioBeacon to crash

Open sjl872964789 opened this issue 5 years ago • 5 comments
trafficstars

What steps will reproduce the problem?

  1. Install and open RadioBeacon
  2. Turn off location permission of RadioBeacon
  3. Click on "New session"
  4. Crash

What is the expected output? What do you see instead? RadioBeacon should not crash

What version are you using? On what operating system? Device: Galaxy A6s OS: Android 7.1.2 Version: 0.8.18

Please provide any additional information below. ezgif com-video-to-gif (16)

Logcat

08-23 10:24:03.355  6730  6730 E AndroidRuntime: FATAL EXCEPTION: main
08-23 10:24:03.355  6730  6730 E AndroidRuntime: Process: org.openbmap, PID: 6730
08-23 10:24:03.355  6730  6730 E AndroidRuntime: java.lang.RuntimeException: Unable to create service org.openbmap.services.wireless.WirelessLoggerService: java.lang.SecurityException: Neither user 10184 nor current process has android.permission.ACCESS_COARSE_LOCATION.
08-23 10:24:03.355  6730  6730 E AndroidRuntime:        at android.app.ActivityThread.handleCreateService(ActivityThread.java:3532)
08-23 10:24:03.355  6730  6730 E AndroidRuntime:        at android.app.ActivityThread.-wrap4(Unknown Source:0)
08-23 10:24:03.355  6730  6730 E AndroidRuntime:        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1740)
08-23 10:24:03.355  6730  6730 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:106)
08-23 10:24:03.355  6730  6730 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:164)
08-23 10:24:03.355  6730  6730 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:6746)
08-23 10:24:03.355  6730  6730 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
08-23 10:24:03.355  6730  6730 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
08-23 10:24:03.355  6730  6730 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
08-23 10:24:03.355  6730  6730 E AndroidRuntime: Caused by: java.lang.SecurityException: Neither user 10184 nor current process has android.permission.ACCESS_COARSE_LOCATION.
08-23 10:24:03.355  6730  6730 E AndroidRuntime:        at android.os.Parcel.readException(Parcel.java:2005)
08-23 10:24:03.355  6730  6730 E AndroidRuntime:        at android.os.Parcel.readException(Parcel.java:1951)
08-23 10:24:03.355  6730  6730 E AndroidRuntime:        at com.android.internal.telephony.ITelephonyRegistry$Stub$Proxy.listenForSubscriber(ITelephonyRegistry.java:544)
08-23 10:24:03.355  6730  6730 E AndroidRuntime:        at android.telephony.TelephonyManager.listen(TelephonyManager.java:3625)
08-23 10:24:03.355  6730  6730 E AndroidRuntime:        at org.openbmap.services.wireless.WirelessLoggerService.e(Unknown Source:260)
08-23 10:24:03.355  6730  6730 E AndroidRuntime:        at org.openbmap.services.wireless.WirelessLoggerService.onCreate(Unknown Source:143)
08-23 10:24:03.355  6730  6730 E AndroidRuntime:        at android.app.ActivityThread.handleCreateService(ActivityThread.java:3522)
08-23 10:24:03.355  6730  6730 E AndroidRuntime:        ... 8 more

sjl872964789 avatar Aug 23 '20 02:08 sjl872964789

Hi,any update about this issue?It would be really appreciated to get your concern on this.

sjl872964789 avatar Aug 26 '20 15:08 sjl872964789

Hey there!

Unfortunately, this client has reached end of life...

But if you like to have a look at the beta version of the upcoming scanner app, drop me a private message at wish7code gmail.com

wish7code avatar Aug 26 '20 19:08 wish7code

Hey @wish7code

Sorry for hijacking this thread but...

Unfortunately, this client has reached end of life...

Is that why uploads have been failing this month?

But if you like to have a look at the beta version of the upcoming scanner app, drop me a private message at wish7code gmail.com

Is this invitation open to all?

JonnyTech avatar Aug 26 '20 19:08 JonnyTech

Is this invitation open to all?

Well, yes of course :-)

Is that why uploads have been failing this month?

Sigh, this is probably related with serious network failures of our internet service provider.

wish7code avatar Aug 26 '20 19:08 wish7code

Hey @wish7code, I know this client is outdated, but do you think the issue #249 is a bug?

YYYSSSHHH avatar Mar 26 '22 01:03 YYYSSSHHH