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

2016-09-21 Thread derinlois1
saw this error in my log java.lang.NullPointerException 09-21 21:17:12.847 31558-31558/com.s.sdk W/System.err: at java.io.File.fixSlashes(File.java:185) 09-21 21:17:12.848 31558-31558/com.s.sdk W/System.err: at java.io.File.(File.java:134) trying to read an lmk file, what am i doing

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

2015-02-20 Thread andrew_esh
Good analysis and reasoning. It leads to identifying a specific version of the OS. Let me add to the reasoning: If this was a bug in android-2.3.4_r1, wouldn't many other apps that call the same function also trigger this bug? Then the history would show a 2.3.4_r2 release with this bug fixed.

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

2015-02-19 Thread Fran Marzoa
Except I am not doing it... On Wed, Feb 18, 2015, 15:26 Sérgio Faria sergio9...@gmail.com wrote: Given the stack above, it seems you're doing new File(null) https://android.googlesource.com/platform/libcore/+/ android-2.3.4_r1/luni/src/main/java/java/io/File.java 2015-02-18 11:45 GMT+00:00

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

2015-02-19 Thread Sérgio Faria
Well, either the stack trace is wrong or the source is not the one I linked to (android-2.3.4_r1) or you're doing new File((String) null) Let's see: 3 at java.io.File.init(File.java:139) 138. public File(String path) { 139. init(path); 2 at java.io.File.init(File.java:189) 186. private

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

2015-02-19 Thread Fran Marzoa
My app has about 20,000 boots a day, and every single crash like this one is reported to be occurring exclusively with such 2.3.4 Android version. Every single one, in spite such version represent less than 5% of the devices were my app is installed. No other Android version is affected at all.

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

2015-02-18 Thread Fran
My stack dump, BTW: 0java.lang.NullPointerException1 at java.io.File.fixSlashes(File.java:205)2 at java.io.File.init(File.java:189)3 at java.io.File.init(File.java:139)4 at com.splunk.mint.DataFlusher$1.void run()(Unknown Source)5 at java.lang.Thread.run(Thread.java:1019)6 at

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

2015-02-18 Thread Fran
It seems this problem persists more than three years after. I am experiencing the same problem right now, all of them with Android 2.3.4 On Sunday, June 5, 2011 at 4:21:31 PM UTC+2, Derek wrote: Hi all, We get crash reports with the following error: java.lang.NullPointerException at

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

2015-02-18 Thread Sérgio Faria
Given the stack above, it seems you're doing new File(null) https://android.googlesource.com/platform/libcore/+/android-2.3.4_r1/luni/src/main/java/java/io/File.java 2015-02-18 11:45 GMT+00:00 Fran fmmar...@gmail.com: It seems this problem persists more than three years after. I am

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

2011-06-06 Thread Derek
There are hundreds reports in Crash section of Android Market. Line is not the same. Here they are: java.lang.NullPointerException at java.io.File.fixSlashes(File.java:234) at java.io.File.init(File.java:201) at java.io.File.init(File.java:152) java.lang.NullPointerException at

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

2011-06-06 Thread Kostya Vasilyev
Derek, The seconds of your three stack traces (lines 205 - 189 - 139) lines up with this version of File.java: http://www.google.com/codesearch/p?hl=ru#cZwlSNS7aEw/libcore/luni/src/main/java/java/io/File.javaq=File%20lang:java%20package:androidsa=Ncd=1ct=rc Line 205 is the fist time fixSlahes