question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AOSP 9

D Baresip Service: Received onStartCommand action Kill
D Baresip Service: 'stopped' from baresip or 'Kill' from MainActivity
D AndroidRuntime: Shutting down VM
E AndroidRuntime: FATAL EXCEPTION: main
E AndroidRuntime: Process: com.tutpro.baresip, PID: 16850
E AndroidRuntime: java.lang.IllegalArgumentException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull, parameter view
E AndroidRuntime:        at com.tutpro.baresip.MainActivity$onCreate$3.onItemSelected(Unknown Source:7)
E AndroidRuntime:        at android.widget.AdapterView.fireOnSelected(AdapterView.java:944)
E AndroidRuntime:        at android.widget.AdapterView.dispatchOnItemSelected(AdapterView.java:933)
E AndroidRuntime:        at android.widget.AdapterView.selectionChanged(AdapterView.java:922)
E AndroidRuntime:        at android.widget.AdapterView.checkSelectionChanged(AdapterView.java:1105)
E AndroidRuntime:        at android.widget.AdapterView.handleDataChanged(AdapterView.java:1081)
E AndroidRuntime:        at android.widget.AbsSpinner.onMeasure(AbsSpinner.java:191)
E AndroidRuntime:        at android.widget.Spinner.onMeasure(Spinner.java:602)
E AndroidRuntime:        at android.support.v7.widget.AppCompatSpinner.onMeasure(AppCompatSpinner.java:420)
E AndroidRuntime:        at android.view.View.measure(View.java:23173)
E AndroidRuntime:        at android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:715)
E AndroidRuntime:        at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:461)
E AndroidRuntime:        at android.view.View.measure(View.java:23173)
E AndroidRuntime:        at android.widget.ScrollView.measureChildWithMargins(ScrollView.java:1308)
E AndroidRuntime:        at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
E AndroidRuntime:        at android.widget.ScrollView.onMeasure(ScrollView.java:350)
E AndroidRuntime:        at android.view.View.measure(View.java:23173)
E AndroidRuntime:        at android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:715)
E AndroidRuntime:        at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:461)
E AndroidRuntime:        at android.view.View.measure(View.java:23173)
E AndroidRuntime:        at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6749)
E AndroidRuntime:        at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
E AndroidRuntime:        at android.support.v7.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:141)
E AndroidRuntime:        at android.view.View.measure(View.java:23173)
E AndroidRuntime:        at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6749)
E AndroidRuntime:        at android.support.v7.widget.ActionBarOverlayLayout.onMeasure(ActionBarOverlayLayout.java:400)
E AndroidRuntime:        at android.view.View.measure(View.java:23173)
E AndroidRuntime:        at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6749)
E AndroidRuntime:        at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
E AndroidRuntime:        at android.view.View.measure(View.java:23173)
E AndroidRuntime:        at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6749)
E AndroidRuntime:        at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1535)
E AndroidRuntime:        at android.widget.LinearLayout.measureVertical(LinearLayout.java:825)
E AndroidRuntime:        at android.widget.LinearLayout.onMeasure(LinearLayout.java:704)
E AndroidRuntime:        at android.view.View.measure(View.java:23173)
E AndroidRuntime:        at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6749)
E AndroidRuntime:        at android.widget.FrameLayout.onMeasure(FrameLayout.java:185)
E AndroidRuntime:        at com.android.internal.policy.DecorView.onMeasure(DecorView.java:716)
E AndroidRuntime:        at android.view.View.measure(View.java:23173)
E AndroidRuntime:        at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2736)
E AndroidRuntime:        at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1590)
E AndroidRuntime:        at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1873)
E AndroidRuntime:        at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1478)
E AndroidRuntime:        at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7362)
E AndroidRuntime:        at android.view.Choreographer$CallbackRecord.run(Choreographer.java:949)
E AndroidRuntime:        at android.view.Choreographer.doCallbacks(Choreographer.java:761)
E AndroidRuntime:        at android.view.Choreographer.doFrame(Choreographer.java:696)
E AndroidRuntime:        at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:935)
E AndroidRuntime:        at android.os.Handler.handleCallback(Handler.java:873)
E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:99)
E AndroidRuntime:        at android.os.Looper.loop(Looper.java:193)
E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:6718)
E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
juha-hcommented, Feb 26, 2019

Licaon_Kter writes:

😃 press task manager button (the square one usually)…swipe away the card privew of your app…

OK, got it. When I do it, ‘adb logcat | grep baresip’ shows:

02-26 21:15:35.044 14987 14987 D Baresip : Resumed 02-26 21:15:35.150 14987 14987 D Baresip : aorSpinner selecting 0 02-26 21:15:35.150 14987 14987 D Baresip : Setting sip:foo@test.tutpro.com current 02-26 21:15:35.150 14987 14987 D Baresip : running uag_current_set on 2477220168 02-26 21:15:43.258 14987 14987 D Baresip : Destroyed

And when I press baresip icon again, I get:

02-26 21:16:12.279 14987 14987 D Baresip : onCreate with intent action null 02-26 21:16:12.331 14987 14987 D Baresip : Resumed 02-26 21:16:12.428 14987 14987 D Baresip : aorSpinner selecting 0 02-26 21:15:35.150 14987 14987 D Baresip : Setting sip:foo@test.tutpro.com current ...

This is with 5.4.1 and it may very well explain, why it works for me:

``

  • when main activity is destroyed, don’t kill baresip service juha-h committed 3 hours ago ``

i.e., before 5.4.1, baresip service was indeed killed at main activity destroy.

0reactions
licaon-ktercommented, Mar 5, 2019

Looks fixed yeah, thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

QuickMiner v0.5.4.0 Crashing Loop : r/NiceHash - Reddit
I have used MSI Afterburner previously to control GPU overclocking and fan settings, but the crashing behavior continues even when I have closed ......
Read more >
NiceHash QuickMiner v0.5.4.0 RC crashes with blue screen ...
NiceHash QuickMiner v0. 5.4.0 RC crashes with blue screen on Windows 11 BSOD OFFLHR UNLOCK ...
Read more >
[SOLVED] Cyberpunk 1.6 and Reshade 5.4.0 - crash on main ...
ReShade works initially but the game crashes when I go to the main menu (ESC key). The game is working fine once ReShade...
Read more >
NiceHash QuickMiner Version v0.5.4.0 • Windows #812 - GitHub
PC crashes immediately after inserting wallet address and when Excavator is launching. Last log of the Excavator screen is something about build ...
Read more >
USN-5728-1: Linux kernel vulnerabilities - Ubuntu
denial of service (system crash) or possibly execute arbitrary code. ... linux-image-5.4.0-132-generic - 5.4.0-132.148~18.04.1.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found