AymanElarian / droidweight

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

NullPointer in setCurrent (from Developer Console) #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
java.lang.NullPointerException
at 
de.delusions.measure.components.InputRecorder.setCurrent(InputRecorder.java:119)
at 
de.delusions.measure.MeasureActivity.refreshInputRecorder(MeasureActivity.java:1
91)
at 
de.delusions.measure.MeasureActivity.refreshListView(MeasureActivity.java:175)
at 
de.delusions.measure.MeasureActivity.onSharedPreferenceChanged(MeasureActivity.j
ava:200)
at 
android.app.SharedPreferencesImpl$EditorImpl.notifyListeners(SharedPreferencesIm
pl.java:461)
at 
android.app.SharedPreferencesImpl$EditorImpl.commit(SharedPreferencesImpl.java:4
47)
at 
de.delusions.measure.activities.prefs.UserPreferences.setDisplayField(UserPrefer
ences.java:240)
at de.delusions.measure.MeasureTabs$1.onClick(MeasureTabs.java:141)

Original issue reported on code.google.com by yash...@gmail.com on 3 Jan 2013 at 8:27

GoogleCodeExporter commented 9 years ago
I have committed a fix that sets default values on units and field in 
Measurement

Original comment by yash...@gmail.com on 3 Jan 2013 at 3:51

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 770d1e9e76fa.

Original comment by yash...@gmail.com on 3 Jan 2013 at 5:34