This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Kawa on Android - problems with kawa.standard.Scheme


On 02/27/2011 12:05 PM, Peter Feigl wrote:
Hello fellow Schemers,

I've been trying to work with Kawa on Android, and it works great!
I've run into a couple of problems though, one of them is the following:
The class kawa.standard.Scheme causes problems when Android tries to
load it (the error.log is attached):

java.lang.ClassNotFoundException: kawa.standard.Scheme in loader dalvik.system.PathClassLoader[.]

The key part of the stack-trace is I think this:


02-27 20:51:01.878 E/AndroidRuntime( 8261): Caused by: java.lang.RuntimeException: no such class: kawa.standard.Scheme
02-27 20:51:01.878 E/AndroidRuntime( 8261): at gnu.bytecode.ObjectType.getReflectClass(ObjectType.java:133)
02-27 20:51:01.878 E/AndroidRuntime( 8261): at gnu.bytecode.ClassType.addFields(ClassType.java:602)
02-27 20:51:01.878 E/AndroidRuntime( 8261): at gnu.bytecode.ClassType.getFields(ClassType.java:506)
02-27 20:51:01.878 E/AndroidRuntime( 8261): at gnu.bytecode.ClassType.getDeclaredField(ClassType.java:520)
02-27 20:51:01.878 E/AndroidRuntime( 8261): at gnu.expr.Declaration.getDeclarationFromStatic(Declaration.java:1062)
02-27 20:51:01.878 E/AndroidRuntime( 8261): at kawa.standard.Scheme.<clinit>(Scheme.java:63)
02-27 20:51:01.878 E/AndroidRuntime( 8261): ... 14 more


I.e. the problem is not that Scheme is missing, but that an exception happens when
executing its static initializer.


The current SVN version of Scheme.java does not call Declaration.getDeclarationFromStatic.
Could you try that?
--
--Per Bothner
per@bothner.com http://per.bothner.com/



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]