Squall Line Software's Closed Source Projects: Issueshttps://css.squallline.com/https://css.squallline.com/favicon.ico?16519839502013-02-12T20:51:48ZSquall Line Software's Closed Source Projects
Redmine Sleepmeter - Bug #249 (New): hindrance compare crashhttps://css.squallline.com/issues/2492013-02-12T20:51:48ZTony Ciavarella
<p>Somehow it is possible to get a null hindrance or hindrance name which causes a crash. Here are some traces from google play:</p>
<p>java.lang.RuntimeException: Unable to start activity ComponentInfo{com.squalllinesoftware.android.applications.sleepmeter.paid/com.squalllinesoftware.android.applications.sleepmeter.paid.GUI$Level04}: java.lang.NullPointerException<br />at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1872)<br />at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1893)<br />at android.app.ActivityThread.access$1500(ActivityThread.java:135)<br />at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1054)<br />at android.os.Handler.dispatchMessage(Handler.java:99)<br />at android.os.Looper.loop(Looper.java:150)<br />at android.app.ActivityThread.main(ActivityThread.java:4385)<br />at java.lang.reflect.Method.invokeNative(Native Method)<br />at java.lang.reflect.Method.invoke(Method.java:507)<br />at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:849)<br />at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)<br />at dalvik.system.NativeStart.main(Native Method)<br />Caused by: java.lang.NullPointerException<br />at com.squalllinesoftware.android.applications.sleepmeter.ju.a(SleepHindrance.java:21)<br />at com.squalllinesoftware.android.applications.sleepmeter.ju.compare(SleepHindrance.java:17)<br />at java.util.TimSort.countRunAndMakeAscending(TimSort.java:320)<br />at java.util.TimSort.sort(TimSort.java:185)<br />at java.util.TimSort.sort(TimSort.java:169)<br />at java.util.Arrays.sort(Arrays.java:2090)<br />at com.squalllinesoftware.android.applications.sleepmeter.jt.a(SleepHindrance.java:89)<br />at com.squalllinesoftware.android.applications.sleepmeter.a.aq.<init>(HindranceStatistics.java:28)<br />at com.squalllinesoftware.android.applications.sleepmeter.ko.a(StatisticsElement.java:1116)<br />at com.squalllinesoftware.android.applications.sleepmeter.ko.<init>(StatisticsElement.java:93)<br />at com.squalllinesoftware.android.applications.sleepmeter.Level04GUI$StatisticsFragment.a(Level04GUI.java:518)<br />at com.squalllinesoftware.android.applications.sleepmeter.Level04GUI$ElementFragment.a(Level04GUI.java:339)<br />at android.support.v4.app.l.a(FragmentManager.java:825)<br />at android.support.v4.app.l.a(FragmentManager.java:1080)<br />at android.support.v4.app.l.a(FragmentManager.java:1062)<br />at android.support.v4.app.l.j(FragmentManager.java:1805)<br />at android.support.v4.app.FragmentActivity.onCreate(FragmentActivity.java:200)<br />at com.squalllinesoftware.android.applications.sleepmeter.Level04GUI.onCreate(Level04GUI.java:42)<br />at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1072)<br />at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1836)<br />... 11 more</p>
<p>java.lang.RuntimeException: Unable to start activity ComponentInfo{com.squalllinesoftware.android.applications.sleepmeter.paid/com.squalllinesoftware.android.applications.sleepmeter.paid.GUI$Level13}: java.lang.NullPointerException<br />at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2205)<br />at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2240)<br />at android.app.ActivityThread.access$600(ActivityThread.java:139)<br />at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1262)<br />at android.os.Handler.dispatchMessage(Handler.java:99)<br />at android.os.Looper.loop(Looper.java:154)<br />at android.app.ActivityThread.main(ActivityThread.java:4977)<br />at java.lang.reflect.Method.invokeNative(Native Method)<br />at java.lang.reflect.Method.invoke(Method.java:511)<br />at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)<br />at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)<br />at dalvik.system.NativeStart.main(Native Method)<br />Caused by: java.lang.NullPointerException<br />at com.squalllinesoftware.android.applications.sleepmeter.ju.a(SleepHindrance.java:21)<br />at com.squalllinesoftware.android.applications.sleepmeter.ju.compare(SleepHindrance.java:17)<br />at java.util.TreeMap.find(TreeMap.java:277)<br />at java.util.TreeMap.putInternal(TreeMap.java:240)<br />at java.util.TreeMap.put(TreeMap.java:186)<br />at java.util.TreeSet.add(TreeSet.java:113)<br />at com.squalllinesoftware.android.applications.sleepmeter.jx.a(SleepHindrances.java:243)<br />at com.squalllinesoftware.android.applications.sleepmeter.hj.b(RecordElement.java:1918)<br />at com.squalllinesoftware.android.applications.sleepmeter.Level11GUI$ElementFragment.onCreate(Level11GUI.java:328)<br />at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:797)<br />at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1034)<br />at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1016)<br />at android.app.FragmentManagerImpl.dispatchCreate(FragmentManager.java:1763)<br />at android.app.Activity.onCreate(Activity.java:904)<br />at com.squalllinesoftware.android.applications.sleepmeter.Level11GUI.onCreate(Level11GUI.java:37)<br />at android.app.Activity.performCreate(Activity.java:4538)<br />at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1071)<br />at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2161)<br />... 11 more</p> Sleepmeter - Bug #247 (New): DST changes not taken into consideration on record or history tabshttps://css.squallline.com/issues/2472012-11-04T14:25:46ZTony Ciavarella
<p>When a sleep period crosses a DST boundary, the hours shown on the "Duration:" field on the record tab and the history tab are incorrect.</p>
<p>When this happened, I used the widget to input the time. I'm not sure whether this matters or not.</p> Widgets - Bug #212 (New): 2x1 landscape can get buttons all jumbled uphttps://css.squallline.com/issues/2122012-04-20T01:53:22ZTony Ciavarella
<p>See attached photo. Probably should fix that.</p> Sleepmeter - Bug #210 (New): free -> paid widget conversion seems brokenhttps://css.squallline.com/issues/2102012-04-16T23:44:00ZTony Ciavarella
<p>It says it converted something, but it doesn't look like it actually converted something.</p> Widgets - Bug #204 (New): somehow the damn widget seems to be able to get stuck with the "setup" ...https://css.squallline.com/issues/2042012-04-15T08:00:18ZTony Ciavarella
<p>Perhaps there should be some kind of watchdog or something that checks for stupid widgets. At the very least, initialization and actually clicking on setup should clear this condition.</p> Sleepmeter - Bug #167 (New): don't consider asleep time/waketime of 0 duration periods in certain...https://css.squallline.com/issues/1672011-11-21T13:10:25ZTony Ciavarella
It doesn't make sense to consider the asleep time or waketime of 0 duration sleep periods for certain statistics and graphs. These may include:
<ul>
<li>mean waketime</li>
<li>waketime standard deviation</li>
<li>waketime graph</li>
</ul> Sleepmeter - Bug #146 (New): CPU usage of widget package goes through the roof in emulator upon s...https://css.squallline.com/issues/1462011-09-12T06:51:06ZTony Ciavarella
<p>It seems to be allocating tons of memory and using a crapload of CPU when a new sleep period is saved in Sleepmeter. Need to figure out why that is.</p>
<p>The memory usage is evidenced by dalvik spewing lots of GC logs indicating it is cleaning up tens of thousands of objects and several megabytes worth of memory.</p>
<p>It might have something to do with the 21 widgets I had on the emulator, but it doesn't seem like that should matter.</p> Sleepmeter - Feature #60 (New): fix stuff for QVGAhttps://css.squallline.com/issues/602010-12-30T18:54:16ZTony Ciavarella
<p>Setup the emulator to run a QVGA screen. Run the application and widget. Fix stuff so it doesn't suck on small screens.</p> Sleepmeter - Feature #59 (New): add a preference that sets when the weekly balance statistic resetshttps://css.squallline.com/issues/592010-12-30T04:49:55ZTony Ciavarella
<p>Right now, the weekly balance statistic resets on Sunday. This most likely doesn't make sense. Users probably want a week to run Monday-Sunday but they should be allowed to choose how the statistic works.</p> Sleepmeter - Feature #57 (New): add shake to wake up to be used with record mode widgethttps://css.squallline.com/issues/572010-12-29T05:13:02ZTony Ciavarella
<p>Instead of having to tap the widget to record a sleep event, it would be cool if you could just shake the device. In this mode, if the user has chosen to display the record tab on wake, it should trigger a notification which results in the display of the record tab when pressed by the user.</p> Sleepmeter - Feature #53 (New): add ability to reset all settings to their default valueshttps://css.squallline.com/issues/532010-12-23T20:28:26ZTony Ciavarella
<p>It would be nice if there was some way to reset all the preferences to their default values.</p> Sleepmeter - Feature #49 (New): replace java.util.Calendar usage with android.text.format.Timehttps://css.squallline.com/issues/492010-12-16T21:27:22ZTony Ciavarella
<p>android.text.format.Time claims to be faster than java.util.Calendar so one should consider using it instead.</p> Sleepmeter - Feature #45 (New): add entheogen sleep aid classhttps://css.squallline.com/issues/452010-12-12T16:01:25ZTony Ciavarella
<p>Add an entheogen sleep aid class for shrooms and such.</p>
<p>Possible sleep aids:<br />- magic mushrooms (psilocin/psilocybin)<br />- opium<br />- cannabis<br />- ethanol<br />- peyote<br />- lots more stuff i've never heard of</p>
<p>For more information:<br /><a class="external" href="http://en.wikipedia.org/wiki/Entheogen">http://en.wikipedia.org/wiki/Entheogen</a></p> Sleepmeter - Feature #43 (New): figure out how to handle graphs with too much datahttps://css.squallline.com/issues/432010-12-11T03:40:47ZTony Ciavarella
<p>At some point, graphing every data point is ridiculous. There needs to be some mechanism to start averaging things or skipping things or something.</p> Sleepmeter - Bug #31 (New): make graph period fling smarterhttps://css.squallline.com/issues/312010-11-17T02:40:22ZTony Ciavarella
<p>The test that determines which periods are valid during a horizontal graph fling can result in a period which doesn't contain enough data to graph. Perhaps a full SQLite query needs to happen on the bounds to count the number of results to make sure there are actually enough to draw the graph.</p>