On Sep 16, 1:40 am, chetan <chetanchauha...@gmail.com> wrote:
>             I have one service name syncservice which is getting
> killed himself. Looks that VM aborting it. Please have look and guide
> me.
[...]
> W/dalvikvm(  268): JNI WARNING: JNI method called with exception
> raised
> W/dalvikvm(  268):              in Lsyncmlcore/Interface/
> SyncmlConnector;.tslds_register_ext_handler_connector (Lsyncmlcore/
> Interface/TsldsExtHandlerInterface;)I (NewGlobalRef)
> W/dalvikvm(  268): Pending exception is:
> I/dalvikvm(  268): Ljava/lang/NoClassDefFoundError;:
> I/dalvikvm(  268):  at dalvik.system.NativeStart.main(Native Method)
> I/dalvikvm(  268): "main" prio=5 tid=3 NATIVE
> I/dalvikvm(  268):   | group="main" sCount=0 dsCount=0 s=N
> obj=0x4001b268 self=0xbd00
> I/dalvikvm(  268):   | sysTid=268 nice=0 sched=0/0 cgrp=default
> handle=-1344001384
> I/dalvikvm(  268):   at
> syncmlcore.Interface.SyncmlConnector.tslds_register_ext_handler_connector(N 
> ative
> Method)


A JNI call resulted in a NoClassDefFoundError.  The exception went
unnoticed until tslds_register_ext_handler_connector() called
NewGlobalRef, at which point the VM got upset that the code ignored
the previous exception, and aborted.

You should:
(1) identify the code that is ignoring the exception, and add
exception handling.
(2) figure out why the exception is being thrown, and take appropriate
steps to prevent it from being thrown.

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

Reply via email to