Anrufmonitor öffnet nicht - Absturz

Forum zum Test der Beta-Version

Moderator: almisoft

Antworten
maximaljan
Beiträge: 2
Registriert: 11.03.2020, 10:22

Anrufmonitor öffnet nicht - Absturz

Beitrag von maximaljan »

Hallo,

beim Aufruf der Einstellungen des Anrufmonitors stürzt die Applikation leider ab.

Bei der Suche nach einem Fehler auf meiner Seite bin ich im Log über eine Exception von

Code: Alles auswählen

getDefaultOutgoingPhoneAccount: Neither user 10156 nor current process has android.permission.READ_PRIVILEGED_PHONE_STATE.
gestolpert.

Berechtigungen sollten alle gegeben sein.
Es handelt sich um eine Wifi Only Gerät (steht aber ja im stacktrace).



Gruss Jan


Code: Alles auswählen

11.03 10:12:53	6468	D	Settings.onTitleChanged: boxId = 0, title = Anrufmonitor
11.03 10:12:53	6468	D	Settings.onTitleChanged: isHeaders = false, commonSettings = false
11.03 10:12:53	6468	D	Settings.onCreateOptionsMenu: boxId = 0, isHeaders = false, isCommonSettings = false
11.03 10:12:53	6468	D	Settings.onAttachFragment: id = 16909249
11.03 10:12:53	6468	D	BoxToGoPreferenceFragment.onCreate
11.03 10:12:53	6468	D	BoxToGoPreferenceFragment.onCreate: boxId = 0, preferencesIdList = [2131951621, 2131951619], activity = de.almisoft.boxtogo.settings.Settings@b647145, title = Anrufmonitor
11.03 10:12:53	6468	D	Settings.setBoxId: boxId = 0
11.03 10:12:53	6468	D	BoxToGoPreferenceFragment.onCreate: boxId = 0, header = header_callmonitor, preferencesIdList = [2131951621, 2131951619]
11.03 10:12:53	6468	D	Settings.onTitleChanged: boxId = 0, title = Anrufmonitor
11.03 10:12:53	6468	D	Settings.onTitleChanged: isHeaders = false, commonSettings = false
11.03 10:12:53	6468	D	CallMonitorPreferenceFragment.initPreferences
11.03 10:12:53	6468	D	BoxToGoPreferenceFragment.initPreferences: key = callmonitor
11.03 10:12:53	6468	D	BoxToGoPreferenceFragment.onPreferenceChange: boxId = 0, key = callmonitor, value = true
11.03 10:12:53	6468	D	Settings.onPreferenceChange: boxId = 0, title = Aktivieren, key = callmonitor, newValue = "true", class = android.preference.SwitchPreference
11.03 10:12:53	6468	D	BoxToGoPreferenceFragment.initPreferences: key = callmonitorbaseurl
11.03 10:12:53	6468	D	BoxToGoPreferenceFragment.onPreferenceChange: boxId = 0, key = callmonitorbaseurl, value = fritz.box
11.03 10:12:53	6468	D	Settings.onPreferenceChange: boxId = 0, title = FRITZ!Box-Adresse, key = callmonitorbaseurl, newValue = "fritz.box", class = android.preference.EditTextPreference
11.03 10:12:53	6468	D	Settings.setPreference.String: boxId = 0, key = callmonitorbaseurl, value = fritz.box
11.03 10:12:53	6468	D	BoxToGoPreferenceFragment.initPreferences: key = callmonitorport
11.03 10:12:53	6468	D	BoxToGoPreferenceFragment.onPreferenceChange: boxId = 0, key = callmonitorport, value = 1012
11.03 10:12:53	6468	D	Settings.onPreferenceChange: boxId = 0, title = Port, key = callmonitorport, newValue = "1012", class = android.preference.EditTextPreference
11.03 10:12:53	6468	D	CallMonitor.restartCallMonitorService: boxId = 0
11.03 10:12:53	6468	D	Main.startForegroundService.startForegroundService: class = de.almisoft.boxtogo.services.CallMonitorService, action = stop, actionKey = null
11.03 10:12:54	6468	D	BoxToGoPreferenceFragment.initPreferences: key = callmonitortimeout
11.03 10:12:54	6468	D	BoxToGoPreferenceFragment.onPreferenceChange: boxId = 0, key = callmonitortimeout, value = 60
11.03 10:12:54	6468	D	Settings.onPreferenceChange: boxId = 0, title = Vollbild-Anzeige und -Dauer, key = callmonitortimeout, newValue = "60", class = android.preference.ListPreference
11.03 10:12:54	6468	D	BoxToGoPreferenceFragment.initPreferences: key = callmonitornotification
11.03 10:12:54	6468	D	BoxToGoPreferenceFragment.onPreferenceChange: boxId = 0, key = callmonitornotification, value = false
11.03 10:12:54	6468	D	Settings.onPreferenceChange: boxId = 0, title = Benachrichtigung, key = callmonitornotification, newValue = "false", class = android.preference.CheckBoxPreference
11.03 10:12:54	6468	D	BoxToGoPreferenceFragment.initPreferences: key = callmonitorringtone
11.03 10:12:54	6468	D	BoxToGoPreferenceFragment.onPreferenceChange: boxId = 0, key = callmonitorringtone, value = content://settings/system/notification_sound
11.03 10:12:54	6468	D	Settings.onPreferenceChange: boxId = 0, title = Benachrichtigungston, key = callmonitorringtone, newValue = "content://settings/system/notification_sound", class = android.preference.RingtonePreference
11.03 10:12:54	6468	D	Settings.onPreferenceChange.ringtone: key = callmonitorringtone, newValue = content://settings/system/notification_sound
2020-03-11_10-12-54	getDefaultOutgoingPhoneAccount: Neither user 10156 nor current process has android.permission.READ_PRIVILEGED_PHONE_STATE.
java.lang.SecurityException: getDefaultOutgoingPhoneAccount: Neither user 10156 nor current process has android.permission.READ_PRIVILEGED_PHONE_STATE.
	at android.os.Parcel.createException(Parcel.java:2071)
	at android.os.Parcel.readException(Parcel.java:2039)
	at android.os.Parcel.readException(Parcel.java:1987)
	at com.android.internal.telecom.ITelecomService$Stub$Proxy.getUserSelectedOutgoingPhoneAccount(ITelecomService.java:1468)
	at android.telecom.TelecomManager.getUserSelectedOutgoingPhoneAccount(TelecomManager.java:825)
	at android.media.RingtoneManager.getDefaultPhoneAccountHandle(RingtoneManager.java:891)
	at android.media.RingtoneManager.getActualDefaultRingtoneUri(RingtoneManager.java:785)
	at android.media.Ringtone.getTitle(Ringtone.java:242)
	at android.media.Ringtone.getTitle(Ringtone.java:225)
	at de.almisoft.boxtogo.settings.Settings.onPreferenceChange(Settings.java:1590)
	at de.almisoft.boxtogo.settings.BoxToGoPreferenceFragment.onPreferenceChange(BoxToGoPreferenceFragment.java:278)
	at de.almisoft.boxtogo.settings.BoxToGoPreferenceFragment.initPreferences(BoxToGoPreferenceFragment.java:159)
	at de.almisoft.boxtogo.settings.CallMonitorPreferenceFragment.initPreferences(CallMonitorPreferenceFragment.java:53)
	at de.almisoft.boxtogo.settings.BoxToGoPreferenceFragment.onCreate(BoxToGoPreferenceFragment.java:94)
	at de.almisoft.boxtogo.settings.CallMonitorPreferenceFragment.onCreate(CallMonitorPreferenceFragment.java:30)
	at android.app.Fragment.performCreate(Fragment.java:2515)
	at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1261)
	at android.app.FragmentManagerImpl.addAddedFragments(FragmentManager.java:2431)
	at android.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2210)
	at android.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2166)
	at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2067)
	at android.app.FragmentManagerImpl$1.run(FragmentManager.java:742)
	at android.os.Handler.handleCallback(Handler.java:883)
	at android.os.Handler.dispatchMessage(Handler.java:100)
	at android.os.Looper.loop(Looper.java:214)
	at android.app.ActivityThread.main(ActivityThread.java:7356)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
11.03 10:12:54	6468	D	Tools.post: urlStr = https://www.almisoft.de/boxtogo/stacktrace.php, params = {HASH_MD5=0BB6A739134D0F568FF6583919002EA5, CBE=false, AMAZON_CHECK=false, EXPIRED=false, APP_NAME=BoxToGo Pro BETA, FREE=false, SAMSUNG_CHECK=false, VOUCHER_VALID=false, EXPIRED_CHECK=false, PRODUCT=lineage_clover, FULL_CBE=false, SDK=29, VOUCHER_TIMESTAMP=0, COUNT_STARTS=27, LANGUAGE=de, SIGNATURES=subject: CN=Alexander Miehlke, O=AlMiSoft, L=Berlin, ST=Germany, C=DE, issuer: CN=Alexander Miehlke, O=AlMiSoft, L=Berlin, ST=Germany, C=DE, serial number: 1293638554, PRESSE=false, SIZE=9561759, DEVICE=clover, VERSION_CODE=237, RELEASE=10, MODEL=MI PAD 4, MANUFACTURER=Xiaomi, message=getDefaultOutgoingPhoneAccount: Neither user 10156 nor current process has android.permission.READ_PRIVILEGED_PHONE_STATE., FULL=true, BETA=true, HASH=-1761854273, GOOGLE_CHECK=true, VERSION_NAME=3.3.9, EXPIRATION_DATE=2020-03-31, stacktrace=java.lang.SecurityException: getDefaultOutgoingPhoneAccount: Neither user 10156 nor current process has android.permission.READ_PRIVILEGED_PHONE_STATE.
	at android.os.Parcel.createException(Parcel.java:2071)
	at android.os.Parcel.readException(Parcel.java:2039)
	at android.os.Parcel.readException(Parcel.java:1987)
	at com.android.internal.telecom.ITelecomService$Stub$Proxy.getUserSelectedOutgoingPhoneAccount(ITelecomService.java:1468)
	at android.telecom.TelecomManager.getUserSelectedOutgoingPhoneAccount(TelecomManager.java:825)
	at android.media.RingtoneManager.getDefaultPhoneAccountHandle(RingtoneManager.java:891)
	at android.media.RingtoneManager.getActualDefaultRingtoneUri(RingtoneManager.java:785)
	at android.media.Ringtone.getTitle(Ringtone.java:242)
	at android.media.Ringtone.getTitle(Ringtone.java:225)
	at de.almisoft.boxtogo.settings.Settings.onPreferenceChange(Settings.java:1590)
	at de.almisoft.boxtogo.settings.BoxToGoPreferenceFragment.onPreferenceChange(BoxToGoPreferenceFragment.java:278)
	at de.almisoft.boxtogo.settings.BoxToGoPreferenceFragment.initPreferences(BoxToGoPreferenceFragment.java:159)
	at de.almisoft.boxtogo.settings.CallMonitorPreferenceFragment.initPreferences(CallMonitorPreferenceFragment.java:53)
	at de.almisoft.boxtogo.settings.BoxToGoPreferenceFragment.onCreate(BoxToGoPreferenceFragment.java:94)
	at de.almisoft.boxtogo.settings.CallMonitorPreferenceFragment.onCreate(CallMonitorPreferenceFragment.java:30)
	at android.app.Fragment.performCreate(Fragment.java:2515)
	at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1261)
	at android.app.FragmentManagerImpl.addAddedFragments(FragmentManager.java:2431)
	at android.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2210)
	at android.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2166)
	at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2067)
	at android.app.FragmentManagerImpl$1.run(FragmentManager.java:742)
	at android.os.Handler.handleCallback(Handler.java:883)
	at android.os.Handler.dispatchMessage(Handler.java:100)
	at android.os.Looper.loop(Looper.java:214)
	at android.app.ActivityThread.main(ActivityThread.java:7356)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
, VOUCHER=, BOX_NAME=FRITZ!Box 7490 113.06.83.43494}
11.03 10:12:54	8771	D	Application.onCreate 
11.03 10:12:54	8771	D	Main.onCreate.start

Benutzeravatar
almisoft
Site Admin
Beiträge: 4724
Registriert: 01.01.1970, 01:00
Wohnort: Berlin
Kontaktdaten:

Re: Anrufmonitor öffnet nicht - Absturz

Beitrag von almisoft »

Hallo Jan,

die Ursache steckt im Lineage, siehe https://review.lineageos.org/c/LineageO ... k/+/267288

maximaljan
Beiträge: 2
Registriert: 11.03.2020, 10:22

Re: Anrufmonitor öffnet nicht - Absturz

Beitrag von maximaljan »

Perfekt - DANKE das wars...

Gruss Jan

Antworten