You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dennis Mirante reports that after restarting his Samsung Galaxy Note 2, the Sensibility app fails to restart. I can replicate the problem on a Samsung GT-P3110 running Android 4.1.2. From my logcat output (cf. Dennis' Google Play crash report):
E/AndroidRuntime( 1951): FATAL EXCEPTION: AsyncTask #1
E/AndroidRuntime( 1951): java.lang.RuntimeException: An error occured while executing doInBackground()
E/AndroidRuntime( 1951): at android.os.AsyncTask$3.done(AsyncTask.java:299)
E/AndroidRuntime( 1951): at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
E/AndroidRuntime( 1951): at java.util.concurrent.FutureTask.setException(FutureTask.java:124)
E/AndroidRuntime( 1951): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
E/AndroidRuntime( 1951): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
E/AndroidRuntime( 1951): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
E/AndroidRuntime( 1951): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
E/AndroidRuntime( 1951): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
E/AndroidRuntime( 1951): at java.lang.Thread.run(Thread.java:856)
E/AndroidRuntime( 1951): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 1951): at com.sensibilitytestbed.ScriptActivity.getSeattlePath(ScriptActivity.java:127)
E/AndroidRuntime( 1951): at com.sensibilitytestbed.AutostartListener$AsyncStart.doInBackground(AutostartListener.java:31)
E/AndroidRuntime( 1951): at com.sensibilitytestbed.AutostartListener$AsyncStart.doInBackground(AutostartListener.java:1)
E/AndroidRuntime( 1951): at android.os.AsyncTask$2.call(AsyncTask.java:287)
E/AndroidRuntime( 1951): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
E/AndroidRuntime( 1951): ... 5 more
Looks like some checking and waiting around ScriptActivity.getSeattlePath is required.
The text was updated successfully, but these errors were encountered:
I was unable to replicate the problem (My Nexus 5 only has system storage, so external storage (i.e. on flash memory) is already ready when the system starts). My patch adds a wait to see if the external storage media is ready to be read/written to before attempting to start the nodemanager/softwareupdater. Albert, could you please review and check if it fixes the problem on your device? https://seattle.poly.edu/attachment/ticket/1409/AutostartListener.java.patch
Dennis Mirante reports that after restarting his Samsung Galaxy Note 2, the Sensibility app fails to restart. I can replicate the problem on a Samsung GT-P3110 running Android 4.1.2. From my logcat output (cf. Dennis' Google Play crash report):
E/AndroidRuntime( 1951): FATAL EXCEPTION: AsyncTask #1
E/AndroidRuntime( 1951): java.lang.RuntimeException: An error occured while executing doInBackground()
E/AndroidRuntime( 1951): at android.os.AsyncTask$3.done(AsyncTask.java:299)
E/AndroidRuntime( 1951): at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
E/AndroidRuntime( 1951): at java.util.concurrent.FutureTask.setException(FutureTask.java:124)
E/AndroidRuntime( 1951): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
E/AndroidRuntime( 1951): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
E/AndroidRuntime( 1951): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
E/AndroidRuntime( 1951): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
E/AndroidRuntime( 1951): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
E/AndroidRuntime( 1951): at java.lang.Thread.run(Thread.java:856)
E/AndroidRuntime( 1951): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 1951): at com.sensibilitytestbed.ScriptActivity.getSeattlePath(ScriptActivity.java:127)
E/AndroidRuntime( 1951): at com.sensibilitytestbed.AutostartListener$AsyncStart.doInBackground(AutostartListener.java:31)
E/AndroidRuntime( 1951): at com.sensibilitytestbed.AutostartListener$AsyncStart.doInBackground(AutostartListener.java:1)
E/AndroidRuntime( 1951): at android.os.AsyncTask$2.call(AsyncTask.java:287)
E/AndroidRuntime( 1951): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
E/AndroidRuntime( 1951): ... 5 more
Looks like some checking and waiting around ScriptActivity.getSeattlePath is required.
The text was updated successfully, but these errors were encountered: