raisahab-ritwik / openintents

Automatically exported from code.google.com/p/openintents
0 stars 0 forks source link

Class Loader issue with NotesList #517

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Pull out fresh copy
2.Without making any modifications, run app. (In my case Im using Android 4.0)
3.Received ClassNotFound exception

What is the expected output? What do you see instead?
Logcat gives this:

03-30 20:30:38.034: E/AndroidRuntime(575): FATAL EXCEPTION: main
03-30 20:30:38.034: E/AndroidRuntime(575): java.lang.RuntimeException: Unable 
to instantiate activity 
ComponentInfo{org.openintents.notepad/org.openintents.notepad.noteslist.NotesLis
t}: java.lang.ClassNotFoundException: 
org.openintents.notepad.noteslist.NotesList
03-30 20:30:38.034: E/AndroidRuntime(575):  at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1879)
03-30 20:30:38.034: E/AndroidRuntime(575):  at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1980)
03-30 20:30:38.034: E/AndroidRuntime(575):  at 
android.app.ActivityThread.access$600(ActivityThread.java:122)
03-30 20:30:38.034: E/AndroidRuntime(575):  at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1146)
03-30 20:30:38.034: E/AndroidRuntime(575):  at 
android.os.Handler.dispatchMessage(Handler.java:99)
03-30 20:30:38.034: E/AndroidRuntime(575):  at 
android.os.Looper.loop(Looper.java:137)
03-30 20:30:38.034: E/AndroidRuntime(575):  at 
android.app.ActivityThread.main(ActivityThread.java:4340)
03-30 20:30:38.034: E/AndroidRuntime(575):  at 
java.lang.reflect.Method.invokeNative(Native Method)
03-30 20:30:38.034: E/AndroidRuntime(575):  at 
java.lang.reflect.Method.invoke(Method.java:511)
03-30 20:30:38.034: E/AndroidRuntime(575):  at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
03-30 20:30:38.034: E/AndroidRuntime(575):  at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
03-30 20:30:38.034: E/AndroidRuntime(575):  at 
dalvik.system.NativeStart.main(Native Method)
03-30 20:30:38.034: E/AndroidRuntime(575): Caused by: 
java.lang.ClassNotFoundException: org.openintents.notepad.noteslist.NotesList
03-30 20:30:38.034: E/AndroidRuntime(575):  at 
dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
03-30 20:30:38.034: E/AndroidRuntime(575):  at 
java.lang.ClassLoader.loadClass(ClassLoader.java:501)
03-30 20:30:38.034: E/AndroidRuntime(575):  at 
java.lang.ClassLoader.loadClass(ClassLoader.java:461)
03-30 20:30:38.034: E/AndroidRuntime(575):  at 
android.app.Instrumentation.newActivity(Instrumentation.java:1023)
03-30 20:30:38.034: E/AndroidRuntime(575):  at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1870)
03-30 20:30:38.034: E/AndroidRuntime(575):  ... 11 more

Logcat does not seem to point to any specific line. I'm pretty sure the error 
is caused due to the SVN (Atleast thats what most people on stackoverflow 
believe). A similar question asked on stackoverflow: 
http://stackoverflow.com/questions/3214026/android-force-close-classnotfoundexce
ption-for-activity-class

Original issue reported on code.google.com by Alok.Sha...@gmail.com on 30 Mar 2012 at 3:08

GoogleCodeExporter commented 8 years ago
This was fixed once ADT was updated. Sorry for the inconvenience.

I request the admins to close this bug.

Thanks.

Original comment by Alok.Sha...@gmail.com on 30 Mar 2012 at 4:12

GoogleCodeExporter commented 8 years ago
Should be closed down.

Original comment by manuelrciosici on 23 Apr 2012 at 4:10