Well, it seems to be that this is happening. Every second time the app is launched retInit is returning null. I have to say that I'm confused by this as the url string is the exact same, when it returns fine and when it returns null.

Will take a look though the link you provide and do some more research, but would appreciate it anyone would have any idea why the exact same URL string would cause a return of null every second launch!

TIA.
------------------------------------------------------------------------

David Williams
Check out our WebOS mobile phone app for the Palm Pre and Pixi:
<http://www.dtw-consulting.com/GolfCaddie> Golf Caddie <http://www.dtw-consulting.com/GolfCaddie> | Golf Caddie Forum <http://www.dtw-consulting.com/GolfCaddie/forum> | Golf Caddie FAQ <http://www.dtw-consulting.com/GolfCaddie/faq.html> by DTW-Consulting, Inc.



On 3/17/2011 3:51 PM, Justin Anderson wrote:
Ok, since you didn't have the actual "caused by" statement in your original post I didn't think you had looked that far. Anyway, if that line is the line causing the error it is probably because of the call to readline....

According to these docs, BufferedReader.readLine() can return null:
http://download.oracle.com/javase/1.5.0/docs/api/java/io/BufferedReader.html#readLine%28%29


Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Thu, Mar 17, 2011 at 2:43 PM, TreKing <[email protected] <mailto:[email protected]>> wrote:

    On Thu, Mar 17, 2011 at 3:14 PM, David Williams
    <[email protected]
    <mailto:[email protected]>> wrote:

        The line I have bolded is where the error seems to be
        happening and the log file shows the following.  Would
        appreciate any pointers.


    Pointer: debug your app and write out the value of retInit. It's
    probably not what you think it is. If it's not, find out why and
    make it so it is.

    
-------------------------------------------------------------------------------------------------
    TreKing <http://sites.google.com/site/rezmobileapps/treking> -
    Chicago transit tracking app for Android-powered devices


-- You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to
    [email protected]
    <mailto:[email protected]>
    To unsubscribe from this group, send email to
    [email protected]
    <mailto:android-developers%[email protected]>
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en


--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

<<inline: GClogo.png>>

Reply via email to