• E chạy mà nó báo lỗi unfortunately "projects_name" has stopped . Khó chịu quá. Có cái log cat. Bác nào biết xem qua e vs.
  • PHP Code:
    [CODE]10-23 14:55:14.040D/AndroidRuntime(724): Shutting down VM10-23 14:55:14.059W/dalvikvm(724): threadid=1thread exiting with uncaught exception (group=0x40a13300)10-23 14:55:14.108E/AndroidRuntime(724): FATAL EXCEPTIONmain10-23 14:55:14.108E/AndroidRuntime(724): java.lang.NullPointerException10-23 14:55:14.108E/AndroidRuntime(724):     at ducky.tutorial.adapters.PaperAdapter.getView(PaperAdapter.java:44)10-23 14:55:14.108E/AndroidRuntime(724):     at android.widget.AbsListView.obtainView(AbsListView.java:2267)10-23 14:55:14.108E/AndroidRuntime(724):     at android.widget.ListView.makeAndAddView(ListView.java:1769)10-23 14:55:14.108E/AndroidRuntime(724):     at android.widget.ListView.fillDown(ListView.java:672)10-23 14:55:14.108E/AndroidRuntime(724):     at android.widget.ListView.fillFromTop(ListView.java:733)10-23 14:55:14.108E/AndroidRuntime(724):     at android.widget.ListView.layoutChildren(ListView.java:1622)10-23 14:55:14.108E/AndroidRuntime(724):     at android.widget.AbsListView.onLayout(AbsListView.java:2102)10-23 14:55:14.108E/AndroidRuntime(724):     at android.view.View.layout(View.java:13754)10-23 14:55:14.108E/AndroidRuntime(724):     at android.view.ViewGroup.layout(ViewGroup.java:4362)10-23 14:55:14.108E/AndroidRuntime(724):     at android.widget.FrameLayout.onLayout(FrameLayout.java:448)10-23 14:55:14.108E/AndroidRuntime(724):     at android.view.View.layout(View.java:13754)10-23 14:55:14.108E/AndroidRuntime(724):     at android.view.ViewGroup.layout(ViewGroup.java:4362)10-23 14:55:14.108E/AndroidRuntime(724):     at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1649)10-23 14:55:14.108E/AndroidRuntime(724):     at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1507)10-23 14:55:14.108E/AndroidRuntime(724):     at android.widget.LinearLayout.onLayout(LinearLayout.java:1420)10-23 14:55:14.108E/AndroidRuntime(724):     at android.view.View.layout(View.java:13754)10-23 14:55:14.108E/AndroidRuntime(724):     at android.view.ViewGroup.layout(ViewGroup.java:4362)10-23 14:55:14.108E/AndroidRuntime(724):     at android.widget.FrameLayout.onLayout(FrameLayout.java:448)10-23 14:55:14.108E/AndroidRuntime(724):     at android.view.View.layout(View.java:13754)10-23 14:55:14.108E/AndroidRuntime(724):     at android.view.ViewGroup.layout(ViewGroup.java:4362)10-23 14:55:14.108E/AndroidRuntime(724):     at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:1866)10-23 14:55:14.108E/AndroidRuntime(724):     at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1687)10-23 14:55:14.108E/AndroidRuntime(724):     at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:998)10-23 14:55:14.108E/AndroidRuntime(724):     at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4212)10-23 14:55:14.108E/AndroidRuntime(724):     at android.view.Choreographer$CallbackRecord.run(Choreographer.java:725)10-23 14:55:14.108E/AndroidRuntime(724):     at android.view.Choreographer.doCallbacks(Choreographer.java:555)10-23 14:55:14.108E/AndroidRuntime(724):     at android.view.Choreographer.doFrame(Choreographer.java:525)10-23 14:55:14.108E/AndroidRuntime(724):     at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:711)10-23 14:55:14.108E/AndroidRuntime(724):     at android.os.Handler.handleCallback(Handler.java:615)10-23 14:55:14.108E/AndroidRuntime(724):     at android.os.Handler.dispatchMessage(Handler.java:92)10-23 14:55:14.108E/AndroidRuntime(724):     at android.os.Looper.loop(Looper.java:137)10-23 14:55:14.108E/AndroidRuntime(724):     at android.app.ActivityThread.main(ActivityThread.java:4745)10-23 14:55:14.108E/AndroidRuntime(724):     at java.lang.reflect.Method.invokeNative(Native Method)10-23 14:55:14.108E/AndroidRuntime(724):     at java.lang.reflect.Method.invoke(Method.java:511)10-23 14:55:14.108E/AndroidRuntime(724):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)10-23 14:55:14.108E/AndroidRuntime(724):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)10-23 14:55:14.108E/AndroidRuntime(724):     at dalvik.system.NativeStart.main(Native Method)10-23 15:01:18.739E/Trace(786): error opening trace fileNo such file or directory (2)10-23 15:01:19.528D/AndroidRuntime(786): Shutting down VM10-23 15:01:19.548W/dalvikvm(786): threadid=1thread exiting with uncaught exception (group=0x40a13300)10-23 15:01:19.569E/AndroidRuntime(786): FATAL EXCEPTIONmain10-23 15:01:19.569E/AndroidRuntime(786): java.lang.NullPointerException10-23 15:01:19.569E/AndroidRuntime(786):     at ducky.tutorial.adapters.PaperAdapter.getView(PaperAdapter.java:44)10-23 15:01:19.569E/AndroidRuntime(786):     at android.widget.AbsListView.obtainView(AbsListView.java:2267)10-23 15:01:19.569E/AndroidRuntime(786):     at android.widget.ListView.makeAndAddView(ListView.java:1769)10-23 15:01:19.569E/AndroidRuntime(786):     at android.widget.ListView.fillDown(ListView.java:672)10-23 15:01:19.569E/AndroidRuntime(786):     at android.widget.ListView.fillFromTop(ListView.java:733)10-23 15:01:19.569E/AndroidRuntime(786):     at android.widget.ListView.layoutChildren(ListView.java:1622)10-23 15:01:19.569E/AndroidRuntime(786):     at android.widget.AbsListView.onLayout(AbsListView.java:2102)10-23 15:01:19.569E/AndroidRuntime(786):     at android.view.View.layout(View.java:13754)10-23 15:01:19.569E/AndroidRuntime(786):     at android.view.ViewGroup.layout(ViewGroup.java:4362)10-23 15:01:19.569E/AndroidRuntime(786):     at android.widget.FrameLayout.onLayout(FrameLayout.java:448)10-23 15:01:19.569E/AndroidRuntime(786):     at android.view.View.layout(View.java:13754)10-23 15:01:19.569E/AndroidRuntime(786):     at android.view.ViewGroup.layout(ViewGroup.java:4362)10-23 15:01:19.569E/AndroidRuntime(786):     at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1649)10-23 15:01:19.569E/AndroidRuntime(786):     at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1507)10-23 15:01:19.569E/AndroidRuntime(786):     at android.widget.LinearLayout.onLayout(LinearLayout.java:1420)10-23 15:01:19.569E/AndroidRuntime(786):     at android.view.View.layout(View.java:13754)10-23 15:01:19.569E/AndroidRuntime(786):     at android.view.ViewGroup.layout(ViewGroup.java:4362)10-23 15:01:19.569E/AndroidRuntime(786):     at android.widget.FrameLayout.onLayout(FrameLayout.java:448)10-23 15:01:19.569E/AndroidRuntime(786):     at android.view.View.layout(View.java:13754)10-23 15:01:19.569E/AndroidRuntime(786):     at android.view.ViewGroup.layout(ViewGroup.java:4362)10-23 15:01:19.569E/AndroidRuntime(786):     at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:1866)10-23 15:01:19.569E/AndroidRuntime(786):     at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1687)10-23 15:01:19.569E/AndroidRuntime(786):     at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:998)10-23 15:01:19.569E/AndroidRuntime(786):     at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4212)10-23 15:01:19.569E/AndroidRuntime(786):     at android.view.Choreographer$CallbackRecord.run(Choreographer.java:725)10-23 15:01:19.569E/AndroidRuntime(786):     at android.view.Choreographer.doCallbacks(Choreographer.java:555)10-23 15:01:19.569E/AndroidRuntime(786):     at android.view.Choreographer.doFrame(Choreographer.java:525)10-23 15:01:19.569E/AndroidRuntime(786):     at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:711)10-23 15:01:19.569E/AndroidRuntime(786):     at android.os.Handler.handleCallback(Handler.java:615)10-23 15:01:19.569E/AndroidRuntime(786):     at android.os.Handler.dispatchMessage(Handler.java:92)10-23 15:01:19.569E/AndroidRuntime(786):     at android.os.Looper.loop(Looper.java:137)10-23 15:01:19.569E/AndroidRuntime(786):     at android.app.ActivityThread.main(ActivityThread.java:4745)10-23 15:01:19.569E/AndroidRuntime(786):     at java.lang.reflect.Method.invokeNative(Native Method)10-23 15:01:19.569E/AndroidRuntime(786):     at java.lang.reflect.Method.invoke(Method.java:511)10-23 15:01:19.569E/AndroidRuntime(786):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)10-23 15:01:19.569E/AndroidRuntime(786):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)10-23 15:01:19.569E/AndroidRuntime(786):     at dalvik.system.NativeStart.main(Native Method)[/CODE