11-30 20:05:04.604: ERROR/vold(538): Error opening switch name path '/sys/class/switch/test2' (No such file or directory) 11-30 20:05:04.604: ERROR/vold(538): Error bootstrapping switch '/sys/class/switch/test2' (No such file or directory) 11-30 20:05:04.604: ERROR/vold(538): Error opening switch name path '/sys/class/switch/test' (No such file or directory) 11-30 20:05:04.604: ERROR/vold(538): Error bootstrapping switch '/sys/class/switch/test' (No such file or directory) 11-30 20:05:28.518: ERROR/MemoryHeapBase(567): error opening /dev/pmem: No such file or directory 11-30 20:05:28.524: ERROR/SurfaceFlinger(567): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake 11-30 20:05:28.724: ERROR/libEGL(567): couldn't load <libhgl.so> library (Cannot load library: load_library[984]: Library 'libhgl.so' not found) 11-30 20:05:30.284: ERROR/libEGL(582): couldn't load <libhgl.so> library (Cannot load library: load_library[984]: Library 'libhgl.so' not found) 11-30 20:05:38.354: ERROR/BatteryService(567): Could not open '/sys/class/power_supply/usb/online' 11-30 20:05:38.374: ERROR/BatteryService(567): Could not open '/sys/class/power_supply/battery/batt_vol' 11-30 20:05:38.374: ERROR/BatteryService(567): Could not open '/sys/class/power_supply/battery/batt_temp' 11-30 20:05:39.214: ERROR/EventHub(567): could not get driver version for /dev/input/mouse0, Not a typewriter 11-30 20:05:39.244: ERROR/EventHub(567): could not get driver version for /dev/input/mice, Not a typewriter 11-30 20:05:39.434: ERROR/System(567): Failure starting core service 11-30 20:05:39.434: ERROR/System(567): java.lang.SecurityException 11-30 20:05:39.434: ERROR/System(567): at android.os.BinderProxy.transact(Native Method) 11-30 20:05:39.434: ERROR/System(567): at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:146) 11-30 20:05:39.434: ERROR/System(567): at android.os.ServiceManager.addService(ServiceManager.java:72) 11-30 20:05:39.434: ERROR/System(567): at com.android.server.ServerThread.run(SystemServer.java:162) 11-30 20:05:39.444: ERROR/AndroidRuntime(567): Crash logging skipped, no checkin service 11-30 20:05:41.914: ERROR/LockPatternKeyguardView(567): Failed to bind to GLS while checking for account 11-30 20:05:44.674: ERROR/jdwp(612): Failed sending req to debugger: Broken pipe (-1 of 27) 11-30 20:05:44.744: ERROR/jdwp(612): Failed sending req to debugger: Broken pipe (-1 of 27) 11-30 20:05:44.816: ERROR/jdwp(612): Failed sending reply to debugger: Broken pipe 11-30 20:05:55.213: ERROR/ActivityThread(615): Failed to find provider info for com.google.settings 11-30 20:05:55.273: ERROR/ActivityThread(615): Failed to find provider info for com.google.settings 11-30 20:05:57.863: ERROR/vold(538): Cannot start volume '/sdcard' (volume is not bound) 11-30 20:06:00.934: ERROR/ApplicationContext(567): Couldn't create directory for SharedPreferences file shared_prefs/wallpaper-hints.xml 11-30 20:06:08.003: ERROR/AndroidRuntime(637): Uncaught handler: thread main exiting due to uncaught exception 11-30 20:06:08.003: ERROR/AndroidRuntime(637): *** EXCEPTION IN SYSTEM PROCESS. System will crash. 11-30 20:06:08.234: ERROR/AndroidRuntime(637): java.lang.SecurityException: Permission Denial: starting Intent { flg=0x10000000 cmp=com.test1/.Boot } from null (pid=-1, uid=-1) requires null 11-30 20:06:08.234: ERROR/AndroidRuntime(637): at android.os.Parcel.readException(Parcel.java:1218) 11-30 20:06:08.234: ERROR/AndroidRuntime(637): at android.os.Parcel.readException(Parcel.java:1206) 11-30 20:06:08.234: ERROR/AndroidRuntime(637): at android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java:1149) 11-30 20:06:08.234: ERROR/AndroidRuntime(637): at com.android.commands.am.Am.runStart(Am.java:202) 11-30 20:06:08.234: ERROR/AndroidRuntime(637): at com.android.commands.am.Am.run(Am.java:76) 11-30 20:06:08.234: ERROR/AndroidRuntime(637): at com.android.commands.am.Am.main(Am.java:54) 11-30 20:06:08.234: ERROR/AndroidRuntime(637): at com.android.internal.os.RuntimeInit.finishInit(Native Method) 11-30 20:06:08.234: ERROR/AndroidRuntime(637): at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:186) 11-30 20:06:08.234: ERROR/AndroidRuntime(637): at dalvik.system.NativeStart.main(Native Method) 11-30 20:06:08.503: ERROR/JavaBinder(637): Unknown binder error code. 0xfffffff7 11-30 20:06:08.503: ERROR/AndroidRuntime(637): Crash logging skipped, no checkin service 11-30 20:06:11.884: ERROR/MediaPlayerService(542): Couldn't open fd for content://settings/system/notification_sound 11-30 20:06:11.884: ERROR/MediaPlayer(567): Unable to to create media player 11-30 20:05:57.566: ERROR/ActivityThread(612): Failed to find provider info for android.server.checkin 11-30 20:06:00.886: ERROR/ActivityThread(612): Failed to find provider info for android.server.checkin 11-30 20:06:01.326: ERROR/ActivityThread(612): Failed to find provider info for android.server.checkin 11-30 20:06:53.916: ERROR/jdwp(702): Failed sending req to debugger: Broken pipe (-1 of 27) 11-30 20:06:53.916: ERROR/jdwp(702): Failed sending req to debugger: Broken pipe (-1 of 27) 11-30 20:06:53.936: ERROR/jdwp(702): Failed sending reply to debugger: Broken pipe
2009/11/30 Justin Anderson <janderson....@gmail.com> > In my experience a "Source not found" problem is usually due to a null > pointer exception, although I am sure there can be other causes as well. > > Can you post the logcat info? That will generally give the specific error > you are encountering... > > Thanks, > Justin > > ---------------------------------------------------------------------- > There are only 10 types of people in the world... > Those who know binary and those who don't. > ---------------------------------------------------------------------- > > > On Mon, Nov 30, 2009 at 6:00 AM, Marton Kodok <pentiu...@gmail.com> wrote: > >> I am trying to launch an activity from my main activity >> >> I get a debug break: >> Thread [<3> main] (Suspended (exception RuntimeException)) >> ActivityThread.performLaunchActivity(ActivityThread$ActivityRecord, >> Intent) line: 2401 >> ActivityThread.handleLaunchActivity(ActivityThread$ActivityRecord, >> Intent) line: 2417 >> ActivityThread.access$2100(ActivityThread, ActivityThread$ActivityRecord, >> Intent) line: 116 >> ActivityThread$H.handleMessage(Message) line: 1794 >> ActivityThread$H(Handler).dispatchMessage(Message) line: 99 >> Looper.loop() line: 123 >> ActivityThread.main(String[]) line: 4203 >> Method.invokeNative(Object, Object[], Class, Class[], Class, int, >> boolean) line: not available [native method] >> Method.invoke(Object, Object...) line: 521 >> ZygoteInit$MethodAndArgsCaller.run() line: 791 >> ZygoteInit.main(String[]) line: 549 >> NativeStart.main(String[]) line: not available [native method] >> >> and the magical: >> Source not found. >> >> How can I see which line is the problem? >> >> I have Boot and Home activities. >> <activity android:name=".Boot" >> android:label="@string/app_name"> >> <intent-filter> >> <action android:name="android.intent.action.MAIN" /> >> <category android:name="android.intent.category.LAUNCHER" >> /> >> </intent-filter> >> </activity> >> <activity android:name=".Home" >> android:label="@string/app_name"> >> </activity> >> >> in Boot I have >> >> public class Boot extends Activity { >> /** Called when the activity is first created. */ >> @Override >> public void onCreate(Bundle savedInstanceState) { >> super.onCreate(savedInstanceState); >> startActivity(new Intent(this, Home.class)); >> } >> } >> >> public class Home extends Activity { >> /** Called when the activity is first created. */ >> @Override >> public void onCreate(Bundle savedInstanceState) { >> super.onCreate(savedInstanceState); >> setContentView(R.layout.main); >> } >> } >> >> what I am doing wrong? >> -- >> Márton >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Beginners" group. >> To post to this group, send email to android-beginners@googlegroups.com >> To unsubscribe from this group, send email to >> android-beginners+unsubscr...@googlegroups.com<android-beginners%2bunsubscr...@googlegroups.com> >> For more options, visit this group at >> http://groups.google.com/group/android-beginners?hl=en > > > -- > You received this message because you are subscribed to the Google > Groups "Android Beginners" group. > To post to this group, send email to android-beginners@googlegroups.com > To unsubscribe from this group, send email to > android-beginners+unsubscr...@googlegroups.com<android-beginners%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en -- Márton -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en