[android-developers] NullPointerException in java.io.File.fixSlashes?

2011-06-05 Thread Derek
Hi all, We get crash reports with the following error: java.lang.NullPointerException at java.io.File.fixSlashes(File.java:234) It appears on File file = new File(path/subfolder); on some devices only. We cannot reproduce it. Where could this problem from from? Cheers. -- You received this

Re: [android-developers] NullPointerException in java.io.File.fixSlashes?

2011-06-05 Thread Mark Murphy
Well, line 234 of File.java is not in the fixSlashes() method in the latest stuff in the repo, based on what Google Code Search is telling me. What are the models of devices that are giving you this problem? On Sun, Jun 5, 2011 at 10:21 AM, Derek cram.de...@gmail.com wrote: Hi all, We get

Re: [android-developers] NullPointerException in java.io.File.fixSlashes?

2011-06-05 Thread Kostya Vasilyev
I've seen this crash in development, caused by new File(null). Perhaps you could check how your code comes up with the path fed into the constructor? -- Kostya 2011/6/5 Mark Murphy mmur...@commonsware.com Well, line 234 of File.java is not in the fixSlashes() method in the latest stuff in the