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 - Bug #85 (Closed): holes, aids, and quality are screwed up when importing free into paidhttps://css.squallline.com/issues/852011-02-07T06:46:23ZTony Ciavarella
<p>This is really terrible... holes, aids, and quality are screwed up when importing free into paid.</p> Sleepmeter - Bug #72 (Closed): quick rotation seems to crash edit mode record tabhttps://css.squallline.com/issues/722011-01-11T23:16:22ZTony Ciavarella
<p>Quickly rotating the record tab in edit mode seems to repeatably produce a NPE. It never seems to happen in add mode, only edit mode triggers the problem.</p>
<p>The NPE leaves the following stack trace:</p>
<p>Uncaught handler: thread main exiting due to uncaught exception<br />java.lang.RuntimeException: Unable to pause activity {com.squalllinesoftware.android.applications.sleepmeter.paid/com.squalllinesoftware.android.applications.sleepmeter.DataEntryActivity}: java.lang.NullPointerException<br /> at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3059)<br /> at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3016)<br /> at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3473)<br /> at android.app.ActivityThread.access$2200(ActivityThread.java:116)<br /> at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1798)<br /> at android.os.Handler.dispatchMessage(Handler.java:99)<br /> at android.os.Looper.loop(Looper.java:123)<br /> at android.app.ActivityThread.main(ActivityThread.java:4203)<br /> at java.lang.reflect.Method.invokeNative(Native Method)<br /> at java.lang.reflect.Method.invoke(Method.java:521)<br /> at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)<br /> at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)<br /> at dalvik.system.NativeStart.main(Native Method)<br />Caused by: java.lang.NullPointerException<br /> at com.squalllinesoftware.android.applications.sleepmeter.DataEntryActivity.onSaveInstanceState(DataEntryActivity.java:727)<br /> at android.app.Activity.performSaveInstanceState(Activity.java:1020)<br /> at android.app.Instrumentation.callActivityOnSaveInstanceState(Instrumentation.java:1256)<br /> at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3041)<br /> ... 12 more</p> Sleepmeter - Bug #55 (Closed): typical bedtime and typical wake up time preferences should respec...https://css.squallline.com/issues/552010-12-23T21:22:28ZTony Ciavarella
<p>The typical bedtime and wake up times shown on the preferences activity always show in 12 hour am/pm format. They should respect the system's 24-hour time setting</p> Sleepmeter - Bug #54 (Closed): preference screens with multiple instances of the same custom pref...https://css.squallline.com/issues/542010-12-23T20:55:15ZTony Ciavarella
<p>On the Record Settings preference screen there are 3 instances of TimeOfDayPreference. When any of them changes, they seem to reorganize themselves randomly. It appears that this is due to the ListActivity trying to reuse the 3 Views in a different order than was originally specified.</p>
<p>I'm not exactly sure how to fix it. More information can be found at these locations:<br /><a class="external" href="http://stackoverflow.com/questions/3928444">http://stackoverflow.com/questions/3928444</a><br /><a class="external" href="http://android-journey.blogspot.com/2010/01/for-almost-any-application-we-need-to.html">http://android-journey.blogspot.com/2010/01/for-almost-any-application-we-need-to.html</a></p> Sleepmeter - Bug #52 (Closed): things that run on a thread result in crashing on device rotation ...https://css.squallline.com/issues/522010-12-23T03:29:29ZTony Ciavarella
<p>The really freaking sucks. When a spawned thread is running and the device is rotated, the thread isn't killed. It keeps running and when it references the activity or handler, it inevitably results in a force close. The affects all import/export operations that have a progress dialog.</p>
<p>I really have no idea what to do about this.</p>
<p>A mechanism to detect these cases could be deployed and calls to the GUI could be avoided in those cases if say a reference to the Thread object was kept in the Activity that spawns it and as the activity goes down, it can set a flag in the Thread or something. Seems like the Thread should keep on chugging regardless...</p> Sleepmeter - Bug #40 (Closed): daily sleep duration graph points are skewed in xhttps://css.squallline.com/issues/402010-12-05T01:37:21ZTony Ciavarella
<p>For some reason, the daily sleep duration graph points are skewed in the X direction. The other graphs seem to line up perfectly. To see it best, zoom all the way in.</p>
<p>Values to the left of center seem to be off to the left while values right of center seem to be off to the right but they all could be skewed the same direction. It's hard to tell exactly, but they are definitely wrong.</p>
<p>It seems on the graph I was looking at, 6 days are shown but 7 values are plotted. That makes little sense. Perhaps the date divisions aren't working properly.</p>
<p>Further testing has shown that when a 40 dip minimum size for each X division is used, it works fine, but a 50 dip minimum on the same graph screws up, so something must be dumb about the division logic in DateTransform.</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> Sleepmeter - Bug #25 (Closed): fix the layout of the buttons on the data entry tabhttps://css.squallline.com/issues/252010-11-05T07:30:41ZTony Ciavarella
<p>The buttons on the data entry tab use some really goofy logic. It should be fixed so they layout nicely on different resolutions and in landscape orientation.</p>