I have installed on a Motorola Xoom (sdk 3.1) the sample sync adapter
available with the sdk (version in folder android-14 compiled for sdk
3.1).

Everything is fine but when I try to edit a contact the platform
throws an exception:: java.lang.NullPointerException: class name is
null

Can you help me?
Thanks

This is the trace
12-03 16:53:29.060: E/AndroidRuntime(14375):
java.lang.NullPointerException: class name is null
12-03 16:53:29.060: E/AndroidRuntime(14375):    at
android.content.ComponentName.<init>(ComponentName.java:47)
12-03 16:53:29.060: E/AndroidRuntime(14375):    at
android.content.Intent.setClassName(Intent.java:5127)
12-03 16:53:29.060: E/AndroidRuntime(14375):    at
com.android.contacts.activities.ContactEditorActivity
$3.onCustomEditContactActivityRequested(ContactEditorActivity.java:
258)
12-03 16:53:29.060: E/AndroidRuntime(14375):    at
com.android.contacts.editor.ContactEditorFragment.onExternalEditorRequest(ContactEditorFragment.java:
405)
12-03 16:53:29.060: E/AndroidRuntime(14375):    at
com.android.contacts.editor.ExternalRawContactEditorView.onClick(ExternalRawContactEditorView.java:
224)
12-03 16:53:29.060: E/AndroidRuntime(14375):    at
android.view.View.performClick(View.java:3110)
12-03 16:53:29.060: E/AndroidRuntime(14375):    at android.view.View
$PerformClick.run(View.java:11928)
12-03 16:53:29.060: E/AndroidRuntime(14375):    at
android.os.Handler.handleCallback(Handler.java:587)
12-03 16:53:29.060: E/AndroidRuntime(14375):    at
android.os.Handler.dispatchMessage(Handler.java:92)
12-03 16:53:29.060: E/AndroidRuntime(14375):    at
android.os.Looper.loop(Looper.java:132)
12-03 16:53:29.060: E/AndroidRuntime(14375):    at
android.app.ActivityThread.main(ActivityThread.java:4025)
12-03 16:53:29.060: E/AndroidRuntime(14375):    at
java.lang.reflect.Method.invokeNative(Native Method)
12-03 16:53:29.060: E/AndroidRuntime(14375):    at
java.lang.reflect.Method.invoke(Method.java:491)
12-03 16:53:29.060: E/AndroidRuntime(14375):    at
com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:841)
12-03 16:53:29.060: E/AndroidRuntime(14375):    at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
12-03 16:53:29.060: E/AndroidRuntime(14375):    at
dalvik.system.NativeStart.main(Native Method)

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to