I am displaying sipdroid in tv and through Ethernet its
connect the sip server.In connection there is no problem . But after
ringing sipdroid crashes. I am using Android 1.5 and sipdroid 1.10
version.
It says from "InCallScreen" error is coming.what is the exact reason?
My error log is below::::::::::::::::::::::::::::
I/System.out( 1107): RegisterAgent: Registering contact
<sip:gho...@10.7.143.5:40120> (it expires in 3600 secs)
D/dalvikvm( 1036): GC freed 15436 objects / 515392 bytes in 57ms
I/ActivityManager( 1036): Starting activity: Intent { flags=0x10000000
comp={org.sipdroid.sipua/org.sipdroid.sipua.ui.Activity2} }
D/LocationManager( 1107): removeUpdates: intent =
PendingIntent{4376b9a8 target android.os.BinderProxy@437b80a8}
D/dalvikvm( 1107): GC freed 8006 objects / 362104 bytes in 45ms
I/SipUA: ( 1107): alarm 600
I/SipUA: ( 1107): alarm 600
I/SipUA: ( 1107): android.intent.action.PHONE_STATE
I/ActivityManager( 1036): Starting activity: Intent { flags=0x10000000
comp={org.sipdroid.sipua/org.sipdroid.sipua.ui.InCallScreen} }
I/System.out( 1107): InCallScreen : Hi Arindam
W/ResourceType( 1107): Failure getting entry for 0x7f0200a2 (t=1
e=162) in package 0: 0xffffffb5
D/AndroidRuntime( 1107): Shutting down VM
W/dalvikvm( 1107): threadid=3: thread exiting with uncaught exception
(group=0x4000fe70)
E/AndroidRuntime( 1107): Uncaught handler: thread main exiting due to
uncaught exception
I/System.out( 1107): SipProvider: received new SIP message null SIP/
2.0 100 Trying
I/System.out( 1107): SipProvider: received new SIP message null SIP/
2.0 401 Unauthorized
E/AndroidRuntime( 1107): java.lang.RuntimeException: Unable to start
activity ComponentInfo{org.sipdroid.sipua/
org.sipdroid.sipua.ui.InCallScreen}: android.r
E/AndroidRuntime( 1107): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2268)
E/AndroidRuntime( 1107): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
2284)
E/AndroidRuntime( 1107): at android.app.ActivityThread.access
$1800(ActivityThread.java:112)
E/AndroidRuntime( 1107): at android.app.ActivityThread
$H.handleMessage(ActivityThread.java:1692)
E/AndroidRuntime( 1107): at
android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1107): at android.os.Looper.loop(Looper.java:
123)
E/AndroidRuntime( 1107): at
android.app.ActivityThread.main(ActivityThread.java:3948)
E/AndroidRuntime( 1107): at
java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1107): at
java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 1107): at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:782)
E/AndroidRuntime( 1107): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
E/AndroidRuntime( 1107): at
dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1107): Caused by: android.view.InflateException:
Binary XML file line #123: Error inflating class
java.lang.reflect.Constructor
E/AndroidRuntime( 1107): at
android.view.LayoutInflater.createView(LayoutInflater.java:512)
E/AndroidRuntime( 1107): at
com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:
56)
E/AndroidRuntime( 1107): at
android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:562)
E/AndroidRuntime( 1107): at
android.view.LayoutInflater.rInflate(LayoutInflater.java:617)
E/AndroidRuntime( 1107): at
android.view.LayoutInflater.rInflate(LayoutInflater.java:620)
E/AndroidRuntime( 1107): at
android.view.LayoutInflater.inflate(LayoutInflater.java:407)
E/AndroidRuntime( 1107): at
android.view.LayoutInflater.inflate(LayoutInflater.java:320)
E/AndroidRuntime( 1107): at
android.view.LayoutInflater.inflate(LayoutInflater.java:276)
E/AndroidRuntime( 1107): at
com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:
309)
E/AndroidRuntime( 1107): at
android.app.Activity.setContentView(Activity.java:1626)
E/AndroidRuntime( 1107): at
org.sipdroid.sipua.ui.InCallScreen.onCreate(InCallScreen.java:501)
E/AndroidRuntime( 1107): at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:
1123)
E/AndroidRuntime( 1107): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2231)
E/AndroidRuntime( 1107): ... 11 more
E/AndroidRuntime( 1107): Caused by:
java.lang.reflect.InvocationTargetException
E/AndroidRuntime( 1107): at
android.widget.ImageButton.<init>(ImageButton.java:47)
E/AndroidRuntime( 1107): at
java.lang.reflect.Constructor.constructNative(Native Method)
E/AndroidRuntime( 1107): at
java.lang.reflect.Constructor.newInstance(Constructor.java:446)
E/AndroidRuntime( 1107): at
android.view.LayoutInflater.createView(LayoutInflater.java:499)
E/AndroidRuntime( 1107): ... 23 more
E/AndroidRuntime( 1107): Caused by: android.content.res.Resources
$NotFoundException: File res/color/secondary_text_dark.xml from
drawable resource ID #0x7f02
E/AndroidRuntime( 1107): at
android.content.res.Resources.loadDrawable(Resources.java:1625)
E/AndroidRuntime( 1107): at
android.content.res.TypedArray.getDrawable(TypedArray.java:548)
E/AndroidRuntime( 1107): at android.view.View.<init>(View.java:
1725)
E/AndroidRuntime( 1107): at
android.widget.ImageView.<init>(ImageView.java:107)
E/AndroidRuntime( 1107): at
android.widget.ImageButton.<init>(ImageButton.java:51)
E/AndroidRuntime( 1107): ... 27 more
E/AndroidRuntime( 1107): Caused by: android.content.res.Resources
$NotFoundException: File res/color/secondary_text_dark.xml from xml
type drawable resource 2
E/AndroidRuntime( 1107): at
android.content.res.Resources.loadXmlResourceParser(Resources.java:
1843)
E/AndroidRuntime( 1107): at
android.content.res.Resources.loadDrawable(Resources.java:1620)
E/AndroidRuntime( 1107): ... 31 more
E/AndroidRuntime( 1107): Caused by: java.io.FileNotFoundException: res/
color/secondary_text_dark.xml
E/AndroidRuntime( 1107): at
android.content.res.AssetManager.openXmlAssetNative(Native Method)
E/AndroidRuntime( 1107): at
android.content.res.AssetManager.openXmlBlockAsset(AssetManager.java:
471)
E/AndroidRuntime( 1107): at
android.content.res.Resources.loadXmlResourceParser(Resources.java:
1825)
E/AndroidRuntime( 1107): ... 32 more
I/Process ( 1036): Sending signal. PID: 1107 SIG: 3
I/dalvikvm( 1107): threadid=7: reacting to signal 3
E/ActivityThread( 1036): Failed to find provider info for
android.server.checkin
E/Checkin ( 1036): Error reporting crash:
java.lang.IllegalArgumentException: Unknown URL content://android.server.checkin/crashes
I/dalvikvm( 1107): Wrote stack trace to '/data/anr/traces.txt'
I/System.out( 1107): SipProvider: received new SIP message null SIP/
2.0 407 Proxy Authentication Required
I/ARMAssembler( 1036): generated
scanline__00000077:03515104_00000000_00000000 [ 27 ipp] (41 ins) at
[0x220208:0x2202ac] in 213623 ns
I/ARMAssembler( 1036): generated
scanline__00000077:03515104_00001001_00000000 [ 64 ipp] (84 ins) at
[0x2202b0:0x220400] in 244140 ns
I/System.out( 1107): SipProvider: received new SIP message null SIP/
2.0 100 Trying
D/dalvikvm( 1107): GC freed 7910 objects / 521392 bytes in 39ms
I/System.out( 1107): SipProvider: received new SIP message null SIP/
2.0 200 OK
I/System.out( 1107): RegisterAgent: Registration success: 200 OK
This is the cause of the crash ... the activity manager can't
instantiate the InCallScreen activity. It looks like the log is
truncated here ... "android.r" is the beginning of the reason for the
instantiation failure. Whatever that reason actually is is what you
need to fix.
James