hanchang/friar — Issue #4: Opening links crashes the app
Author: ollisulopuisto
Created: 2012-02-22 12:42:32+00:00
State: open

I've a simple link link in the html files my app uses, but clicking on it immediately crashes the app.

02-22 14:35:57.595: W/dalvikvm(6501): threadid=1: thread exiting with uncaught exception (group=0x401f8560)
02-22 14:35:57.595: E/AndroidRuntime(6501): FATAL EXCEPTION: main
02-22 14:35:57.595: E/AndroidRuntime(6501): java.lang.NullPointerException
02-22 14:35:57.595: E/AndroidRuntime(6501):	at com.friarframework.FriarBook$FriarWebViewClient.onPageStarted(FriarBook.java:185)
02-22 14:35:57.595: E/AndroidRuntime(6501):	at android.webkit.CallbackProxy.handleMessage(CallbackProxy.java:264)
02-22 14:35:57.595: E/AndroidRuntime(6501):	at android.os.Handler.dispatchMessage(Handler.java:99)
02-22 14:35:57.595: E/AndroidRuntime(6501):	at android.os.Looper.loop(Looper.java:130)
02-22 14:35:57.595: E/AndroidRuntime(6501):	at android.app.ActivityThread.main(ActivityThread.java:3835)
02-22 14:35:57.595: E/AndroidRuntime(6501):	at java.lang.reflect.Method.invokeNative(Native Method)
02-22 14:35:57.595: E/AndroidRuntime(6501):	at java.lang.reflect.Method.invoke(Method.java:507)
02-22 14:35:57.595: E/AndroidRuntime(6501):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:847)
02-22 14:35:57.595: E/AndroidRuntime(6501):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605)
02-22 14:35:57.595: E/AndroidRuntime(6501):	at dalvik.system.NativeStart.main(Native Method)

I've added so that shouldn't be the thing.