Custom Listview ve Activity Thread Hatası
Merhaba arkadaşlar. Android ile Custom Listview doldurmaya çalışıyorum. Doldururken de MSSQL SERVER'a bağlanıp verileri çekiyorum. Fakat bir türlü Custom Listview'deki ImageView dolduramadım. Ek olarak ActivityThread üzerine hatalar alıyorum.
Hata loglarım.
[code]
02-09 18:19:06.534: E/AndroidRuntime(831): FATAL EXCEPTION: main
02-09 18:19:06.534: E/AndroidRuntime(831): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.com.tarifler/com.example.com.tarifler.MainActivity}: java.lang.NullPointerException: println needs a message
02-09 18:19:06.534: E/AndroidRuntime(831): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180)
02-09 18:19:06.534: E/AndroidRuntime(831): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
02-09 18:19:06.534: E/AndroidRuntime(831): at android.app.ActivityThread.access$600(ActivityThread.java:141)
02-09 18:19:06.534: E/AndroidRuntime(831): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
02-09 18:19:06.534: E/AndroidRuntime(831): at android.os.Handler.dispatchMessage(Handler.java:99)
02-09 18:19:06.534: E/AndroidRuntime(831): at android.os.Looper.loop(Looper.java:137)
02-09 18:19:06.534: E/AndroidRuntime(831): at android.app.ActivityThread.main(ActivityThread.java:5041)
02-09 18:19:06.534: E/AndroidRuntime(831): at java.lang.reflect.Method.invokeNative(Native Method)
02-09 18:19:06.534: E/AndroidRuntime(831): at java.lang.reflect.Method.invoke(Method.java:511)
02-09 18:19:06.534: E/AndroidRuntime(831): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
02-09 18:19:06.534: E/AndroidRuntime(831): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
02-09 18:19:06.534: E/AndroidRuntime(831): at dalvik.system.NativeStart.main(Native Method)
02-09 18:19:06.534: E/AndroidRuntime(831): Caused by: java.lang.NullPointerException: println needs a message
02-09 18:19:06.534: E/AndroidRuntime(831): at android.util.Log.println_native(Native Method)
02-09 18:19:06.534: E/AndroidRuntime(831): at android.util.Log.e(Log.java:231)
02-09 18:19:06.534: E/AndroidRuntime(831): at com.example.com.tarifler.MainActivity.SQLquery(MainActivity.java:81)
02-09 18:19:06.534: E/AndroidRuntime(831): at com.example.com.tarifler.MainActivity.onCreate(MainActivity.java:89)
02-09 18:19:06.534: E/AndroidRuntime(831): at android.app.Activity.performCreate(Activity.java:5104)
02-09 18:19:06.534: E/AndroidRuntime(831): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
02-09 18:19:06.534: E/AndroidRuntime(831): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
02-09 18:19:06.534: E/AndroidRuntime(831): ... 11 more
[/code]
Proje dosyalarımıda ekliyorum. Yardımlar için teşekkürler.