[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-kawa] [bug #49432] Android: Failed resolving Lgnu/kawa/models/DrawI
From: |
AdriánMedraño Calvo |
Subject: |
[Bug-kawa] [bug #49432] Android: Failed resolving Lgnu/kawa/models/DrawImage; interface 1032 'Ljava/awt/image/RenderedImage; |
Date: |
Sat, 17 Dec 2016 20:32:58 -0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0 |
URL:
<http://savannah.gnu.org/bugs/?49432>
Summary: Android: Failed resolving
Lgnu/kawa/models/DrawImage; interface 1032 'Ljava/awt/image/RenderedImage;
Project: Kawa
Submitted by: medranocalvo
Submitted on: Mon Oct 24 20:38:16 2016
Category: None
Severity: 3 - Normal
Item Group: Run-time exception
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
I'm getting the errors below in Android, after updating Kawa (r8988). As I
understand it, the underlying issue is that there is no (or limited) awt
support in Android, but Kawa tries to use it when formatting output. Porting
Pictures to Android would probably mean using android.graphics
(https://developer.android.com/reference/android/graphics/package-summary.html)
as a base, though it'll probably be a major effort. Would it make sense to
have a configure flag --without-awt which is implied by --with-android?
I/dalvikvm( 2776): Failed resolving Lgnu/kawa/models/DrawImage; interface 1032
'Ljava/awt/image/RenderedImage;'
W/dalvikvm( 2776): Link of class 'Lgnu/kawa/models/DrawImage;' failed
I/dalvikvm( 2776): Could not find method
gnu.kawa.models.DrawImage.toPictureOrNull, referenced from method gnu.kawa
.functions.DisplayFormat.writePicture
W/dalvikvm( 2776): VFY: unable to resolve static method 5445:
Lgnu/kawa/models/DrawImage;.toPictureOrNull (Ljava/la
ng/Object;)Lgnu/kawa/models/Picture;
D/dalvikvm( 2776): VFY: replacing opcode 0x71 at 0x0000
D/AndroidRuntime( 2776): Shutting down VM
Thank you,
Adrián.
E/AndroidRuntime( 2776): java.lang.RuntimeException: Unable to start activity
ComponentInfo{someapp/someapp.debugactivity}: java.lang.RuntimeException:
java.lang.reflect.InvocationTargetException
E/AndroidRuntime( 2776): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180)
E/AndroidRuntime( 2776): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
E/AndroidRuntime( 2776): at
android.app.ActivityThread.access$600(ActivityThread.java:141)
E/AndroidRuntime( 2776): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
E/AndroidRuntime( 2776): at
android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 2776): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 2776): at
android.app.ActivityThread.main(ActivityThread.java:5041)
E/AndroidRuntime( 2776): at
java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2776): at
java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 2776): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
E/AndroidRuntime( 2776): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
E/AndroidRuntime( 2776): at dalvik.system.NativeStart.main(Native
Method)
E/AndroidRuntime( 2776): Caused by: java.lang.RuntimeException:
java.lang.reflect.InvocationTargetException
E/AndroidRuntime( 2776): at
gnu.kawa.format.GenericFormat$MethodEntry.tryFormat(GenericFormat.java:171)
E/AndroidRuntime( 2776): at
gnu.kawa.format.GenericFormat.tryFormat(GenericFormat.java:93)
E/AndroidRuntime( 2776): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 2776): at
android.app.ActivityThread.main(ActivityThread.java:5041)
E/AndroidRuntime( 2776): at
java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2776): at
java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 2776): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
E/AndroidRuntime( 2776): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
E/AndroidRuntime( 2776): at dalvik.system.NativeStart.main(Native
Method)
E/AndroidRuntime( 2776): Caused by: java.lang.RuntimeException:
java.lang.reflect.InvocationTargetException
E/AndroidRuntime( 2776): at
gnu.kawa.format.GenericFormat$MethodEntry.tryFormat(GenericFormat.java:171)
E/AndroidRuntime( 2776): at
gnu.kawa.format.GenericFormat.tryFormat(GenericFormat.java:93)
E/AndroidRuntime( 2776): at
gnu.kawa.format.GenericFormat.writeObject(GenericFormat.java:46)
E/AndroidRuntime( 2776): at
gnu.kawa.functions.DisplayFormat.writeObject(DisplayFormat.java:551)
E/AndroidRuntime( 2776): at
gnu.kawa.functions.ObjectFormat.print(ObjectFormat.java:69)
E/AndroidRuntime( 2776): at
gnu.kawa.functions.ObjectFormat.format(ObjectFormat.java:88)
E/AndroidRuntime( 2776): at
gnu.kawa.functions.ObjectFormat.format(ObjectFormat.java:129)
E/AndroidRuntime( 2776): at
gnu.kawa.functions.ObjectFormat.format(ObjectFormat.java:57)
E/AndroidRuntime( 2776): at
gnu.kawa.format.PadFormat.format(PadFormat.java:69)
E/AndroidRuntime( 2776): at
gnu.kawa.functions.LispObjectFormat.format(LispFormat.java:787)
E/AndroidRuntime( 2776): at
gnu.kawa.format.CompoundFormat.format(CompoundFormat.java:31)
E/AndroidRuntime( 2776): at
gnu.kawa.functions.Format.formatToWriter(Format.java:43)
E/AndroidRuntime( 2776): at
gnu.kawa.functions.Format.format(Format.java:25)
E/AndroidRuntime( 2776): at
gnu.kawa.functions.Format.formatToString(Format.java:62)
E/AndroidRuntime( 2776): at
gnu.kawa.functions.Format.format(Format.java:128)
E/AndroidRuntime( 2776): at
gnu.kawa.functions.Format.applyN(Format.java:108)
E/AndroidRuntime( 2776): at
gnu.kawa.functions.ApplyToArgs.applyN(ApplyToArgs.java:141)
E/AndroidRuntime( 2776): at
gnu.kawa.functions.Apply.applyN(Apply.java:74)
E/AndroidRuntime( 2776): at
gnu.mapping.ProcedureN.apply3(ProcedureN.java:48)
E/AndroidRuntime( 2776): at someapp.common.message$V(common.scm:42)
E/AndroidRuntime( 2776): at someapp.someapp.onCreate(someapp.scm:30)
E/AndroidRuntime( 2776): at
someapp.debugactivity.onCreate(debugmain.scm:24)
E/AndroidRuntime( 2776): at
android.app.Activity.performCreate(Activity.java:5104)
E/AndroidRuntime( 2776): at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
E/AndroidRuntime( 2776): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
E/AndroidRuntime( 2776): ... 11 more
E/AndroidRuntime( 2776): Caused by:
java.lang.reflect.InvocationTargetException
E/AndroidRuntime( 2776): at
java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2776): at
java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 2776): at
gnu.kawa.format.GenericFormat$MethodEntry.tryFormat(GenericFormat.java:167)
E/AndroidRuntime( 2776): ... 35 more
E/AndroidRuntime( 2776): Caused by: java.lang.NoClassDefFoundError:
gnu.kawa.models.DrawImage
E/AndroidRuntime( 2776): at
gnu.kawa.functions.DisplayFormat.writePicture(DisplayFormat.java:804)
E/AndroidRuntime( 2776): ... 38 more
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49432>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-kawa] [bug #49432] Android: Failed resolving Lgnu/kawa/models/DrawImage; interface 1032 'Ljava/awt/image/RenderedImage;,
AdriánMedraño Calvo <=