jiangtaojiang / droidweight

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

Nullpointer in Create Activity #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
java.lang.RuntimeException: Unable to start activity 
ComponentInfo{de.delusions.measure/de.delusions.measure.MeasureCreateActivity}: 
java.lang.NullPointerException
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1651)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1667)
at android.app.ActivityThread.access$1500(ActivityThread.java:117)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:935)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3687)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at 
de.delusions.measure.MeasureCreateActivity.setUnitLabel(MeasureCreateActivity.ja
va:102)
at 
de.delusions.measure.MeasureCreateActivity.populateUI(MeasureCreateActivity.java
:59)
at 
de.delusions.measure.MeasureCreateActivity.onCreate(MeasureCreateActivity.java:5
3)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1615)
... 11 more

Original issue reported on code.google.com by yash...@gmail.com on 7 Jan 2013 at 11:08

GoogleCodeExporter commented 9 years ago

Original comment by yash...@gmail.com on 8 Jan 2013 at 9:04