Hi guys,
I'm trying to migrate my 1.1 app to 2.0. I'm seeing the following
stack trace:
java.lang.ClassNotFoundException:
org.metawidget.android.widget.AndroidMetawidget
at org.metawidget.config.ConfigReader.configure
(ConfigReader.java:324)
at
org.metawidget.android.widget.AndroidMetawidget.configure
(AndroidMetawidget.java:549)
The 'ConfigReader.configure' method is doing a simple...
Class.forName( className )
...but that is giving me...
java.lang.ClassNotFoundException:
org.metawidget.android.widget.AndroidMetawidget in loader
11-25
at dalvik.system.PathClassLoader.findClass
(PathClassLoader.java:243)
In summary, note that:
1. Dalvik is unable to locate
'org.metawidget.android.widget.AndroidMetawidget'
2. 'org.metawidget.android.widget.AndroidMetawidget' is in the
original stack trace: it is, in fact, the calling class
You might question why a class is trying to dynamically create an
instance of itself, but regardless Android clearly CAN resolve the
class.
So is there some new correct way to dynamically instantiate classes?
Regards,
Richard.
--
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