SafeSlingerProject / SafeSlinger-Android

Open source code for the SafeSlinger Android client application.
MIT License
31 stars 3 forks source link

NullPointerException in SSUtil.addAttachmentFromPath #128

Closed SafeSlingerProject closed 9 years ago

SafeSlingerProject commented 9 years ago

Google Play, Version 1.8.3 java.lang.NullPointerException: Attempt to invoke virtual method 'char[] java.lang.String.toCharArray()' on a null object reference at java.io.File.fixSlashes(File.java:185) at java.io.File.(File.java:134) at edu.cmu.cylab.starslinger.util.SSUtil.addAttachmentFromPath(SSUtil.java:627) at edu.cmu.cylab.starslinger.view.MessagesFragment$8.run(MessagesFragment.java:743) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:145) at android.app.ActivityThread.main(ActivityThread.java:5974) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1388) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:118