I am having the same problem.  The activation.jar can't find the
required classes in the android jar.  It occurs with both Android 1.0
& 0.9 sdks.

10-03 23:24:49.891: DEBUG/SSLSocketFactory(378): Using factory
[EMAIL PROTECTED]
10-03 23:24:49.979: DEBUG/OpenSSLSocketImpl(378): SSL_OP_NO_SSLv3 is
set
10-03 23:24:56.080: INFO/global(378): Oct 3, 2008 11:24:55 PM
java.io.BufferedOutputStream <init>
10-03 23:24:56.080: INFO/global(378): INFO: Default buffer size used
in BufferedOutputStream constructor. It would be better to be explicit
if a 8k buffer is required.
10-03 23:24:56.320: DEBUG/dalvikvm(378): GC freed 7012 objects /
347816 bytes in 91ms
10-03 23:24:56.460: INFO/dalvikvm(378): Failed resolving Ljavax/
activation/DataHandler; interface 175 'Ljava/awt/datatransfer/
Transferable;'
10-03 23:24:56.470: WARN/dalvikvm(378): Link of class 'Ljavax/
activation/DataHandler;' failed
10-03 23:24:56.480: WARN/dalvikvm(378): VFY: unable to find class
referenced in signature (Ljavax/activation/DataHandler;)
10-03 23:24:56.491: INFO/dalvikvm(378): Failed resolving Ljavax/
activation/DataHandler; interface 175 'Ljava/awt/datatransfer/
Transferable;'
10-03 23:24:56.501: WARN/dalvikvm(378): Link of class 'Ljavax/
activation/DataHandler;' failed
10-03 23:24:56.511: WARN/dalvikvm(378): VFY: unable to resolve virtual
method 1729: Ljavax/activation/DataHandler;.getName ()Ljava/lang/
String;
10-03 23:24:56.520: WARN/dalvikvm(378): VFY:  rejecting opcode 0x6e at
0x0006
10-03 23:24:56.520: WARN/dalvikvm(378): VFY:  rejected Ljavax/mail/
internet/MimeUtility;.getEncoding (Ljavax/activation/
DataHandler;)Ljava/lang/String;
10-03 23:24:56.520: WARN/dalvikvm(378): Verifier rejected class Ljavax/
mail/internet/MimeUtility;


On Oct 3, 8:33 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hi Everybody,
>        I have problem in getting gmail folder in android for using
> mail.jar(1.4.1 version) and activition.jar(1.1 version). Following is
> the exception. Does somebody have the good solution?
>
> Thanks,
>
> AndroidSue
>
> I/global  (  654): INFO: Default buffer size used in
> BufferedOutputStream constructor. It would be better to be explicit if
> a 8k buffer is required.
> I/dalvikvm(  654): Failed resolving Ljavax/activation/DataHandler;
> interface 175 'Ljava/awt/datatransfer/Transferable;'
> W/dalvikvm(  654): Link of class 'Ljavax/activation/DataHandler;'
> failed
> W/dalvikvm(  654): VFY: unable to find class referenced in signature
> (Ljavax/activation/DataHandler;)
> I/dalvikvm(  654): Failed resolving Ljavax/activation/DataHandler;
> interface 175 'Ljava/awt/datatransfer/Transferable;'
> W/dalvikvm(  654): Link of class 'Ljavax/activation/DataHandler;'
> failed
> W/dalvikvm(  654): VFY: unable to resolve virtual method 1736: Ljavax/
> activation/DataHandler;.getName ()Ljava/lang/String;
> W/dalvikvm(  654): VFY:  rejecting opcode 0x6e at 0x0006
> W/dalvikvm(  654): VFY:  rejected Ljavax/mail/internet/
> MimeUtility;.getEncoding (Ljavax/activation/DataHandler;)Ljava/lang/
> String;
> W/dalvikvm(  654): Verifier rejected class Ljavax/mail/internet/
> MimeUtility;
> D/AndroidRuntime(  654): Shutting down VM
> W/dalvikvm(  654): threadid=3: thread exiting with uncaught exception
> (group=0x40010e28)
> E/AndroidRuntime(  654): Uncaught handler: thread main exiting due to
> uncaught exception
> E/AndroidRuntime(  654): java.lang.VerifyError:
> javax.mail.internet.MimeUtility
> E/AndroidRuntime(  654):        at
> com.sun.mail.imap.protocol.IMAPProtocol.<init>(IMAPProtocol.java:117)
> E/AndroidRuntime(  654):        at
> com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:538)
> E/AndroidRuntime(  654):        at javax.mail.Service.connect(Service.java:
> 288)
> E/AndroidRuntime(  654):        at javax.mail.Service.connect(Service.java:
> 169)
> E/AndroidRuntime(  654):        at javax.mail.Service.connect(Service.java:
> 118)
> E/AndroidRuntime(  654):        at
> com.foxconn.android.app.EmailApp.getInbox(EmailApp.java:95)
> E/AndroidRuntime(  654):        at
> com.foxconn.android.app.EmailApp.onCreate(EmailApp.java:44)
> E/AndroidRuntime(  654):        at
> android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:
> 1122)
> E/AndroidRuntime(  654):        at
> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
> 2103)
> E/AndroidRuntime(  654):        at
> android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
> 2156)
> E/AndroidRuntime(  654):        at android.app.ActivityThread.access
> $1800(ActivityThread.java:112)
> E/AndroidRuntime(  654):        at android.app.ActivityThread
> $H.handleMessage(ActivityThread.java:1580)
> E/AndroidRuntime(  654):        at
> android.os.Handler.dispatchMessage(Handler.java:88)
> E/AndroidRuntime(  654):        at android.os.Looper.loop(Looper.java:123)
> E/AndroidRuntime(  654):        at
> android.app.ActivityThread.main(ActivityThread.java:3742)
> E/AndroidRuntime(  654):        at
> java.lang.reflect.Method.invokeNative(Native Method)
> E/AndroidRuntime(  654):        at
> java.lang.reflect.Method.invoke(Method.java:515)
> E/AndroidRuntime(  654):        at com.android.internal.os.ZygoteInit
> $MethodAndArgsCaller.run(ZygoteInit.java:739)
> E/AndroidRuntime(  654):        at
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:497)
> E/AndroidRuntime(  654):        at dalvik.system.NativeStart.main(Native
> Method)
> I/Process (   51): Sending signal. PID: 654 SIG: 3
> I/dalvikvm(  654): threadid=7: reacting to signal 3
> I/dalvikvm(  654): Wrote stack trace to '/data/anr/traces.txt'
> W/ActivityManager(   51): Launch timeout has expired, giving up wake
> lock!
> W/ActivityManager(   51): Activity idle timeout for
> HistoryRecord{434f3058 {com.foxconn.android.app/
> com.foxconn.android.app.EmailApp}}
> D/dalvikvm(  392): GC freed 68 objects / 2800 bytes in 91ms

--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to