I'm trying to test out funf in order to use it as part of an android application that I'm working on. I set up the wifiscanner project and included a few more probes besides wifi and location. However when I run the main activity code, it does not launch at all and android tells me that an unexpected error has occurred and it needs to close. If you could tell me what's wrong, I'd greatly appreciate it. I'm including the stack trace below for your reference;
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: FATAL EXCEPTION: main
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: java.lang.RuntimeException: Unable to create service edu.mit.media.funf.FunfManager: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Unterminated array at line 1 column 127
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at android.app.ActivityThread.handleCreateService(ActivityThread.java:1955)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at android.app.ActivityThread.access$2500(ActivityThread.java:117)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:985)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at android.os.Looper.loop(Looper.java:130)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:3683)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at java.lang.reflect.Method.invokeNative(Native Method)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at java.lang.reflect.Method.invoke(Method.java:507)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at dalvik.system.NativeStart.main(Native Method)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: Caused by: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Unterminated array at line 1 column 127
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at com.google.gson.internal.Streams.parse(Streams.java:55)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at edu.mit.media.funf.pipeline.PipelineFactory$ScheduleAnnotatedTypeAdapter.read(PipelineFactory.java:110)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at com.google.gson.Gson.fromJson(Gson.java:755)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at com.google.gson.Gson.fromJson(Gson.java:721)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at com.google.gson.Gson.fromJson(Gson.java:670)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at com.google.gson.Gson.fromJson(Gson.java:642)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at edu.mit.media.funf.FunfManager.reload(FunfManager.java:197)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at edu.mit.media.funf.FunfManager.reload(FunfManager.java:171)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at edu.mit.media.funf.FunfManager.onCreate(FunfManager.java:152)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at android.app.ActivityThread.handleCreateService(ActivityThread.java:1945)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at android.app.ActivityThread.access$2500(ActivityThread.java:117)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:985)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at android.os.Looper.loop(Looper.java:130)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:3683)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at java.lang.reflect.Method.invokeNative(Native Method)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at java.lang.reflect.Method.invoke(Method.java:507)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at dalvik.system.NativeStart.main(Native Method)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: Caused by: com.google.gson.stream.MalformedJsonException: Unterminated array at line 1 column 127
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1298)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at com.google.gson.stream.JsonReader.nextInArray(JsonReader.java:673)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at com.google.gson.stream.JsonReader.peek(JsonReader.java:376)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at com.google.gson.stream.JsonReader.hasNext(JsonReader.java:349)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at com.google.gson.internal.bind.TypeAdapters$23.read(TypeAdapters.java:611)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at com.google.gson.internal.bind.TypeAdapters$23.read(TypeAdapters.java:620)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at com.google.gson.internal.bind.TypeAdapters$23.read(TypeAdapters.java:595)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at com.google.gson.internal.Streams.parse(Streams.java:44)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at edu.mit.media.funf.pipeline.PipelineFactory$ScheduleAnnotatedTypeAdapter.read(PipelineFactory.java:110)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at com.google.gson.Gson.fromJson(Gson.java:755)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at com.google.gson.Gson.fromJson(Gson.java:721)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at com.google.gson.Gson.fromJson(Gson.java:670)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at com.google.gson.Gson.fromJson(Gson.java:642)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at edu.mit.media.funf.FunfManager.reload(FunfManager.java:197)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at edu.mit.media.funf.FunfManager.reload(FunfManager.java:171)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at edu.mit.media.funf.FunfManager.onCreate(FunfManager.java:152)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at android.app.ActivityThread.handleCreateService(ActivityThread.java:1945)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at android.app.ActivityThread.access$2500(ActivityThread.java:117)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:985)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at android.os.Looper.loop(Looper.java:130)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:3683)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at java.lang.reflect.Method.invokeNative(Native Method)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at java.lang.reflect.Method.invoke(Method.java:507)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
10-07 13:05:23.415 1690-1690/com.example.helloandroid E/AndroidRuntime: at dalvik.system.NativeStart.main(Native Method)