Please post complete logcat error stack trace, including below "Caused by:"

-- Kostya

31.01.2011 14:34, Robin Talwar пишет:
Caused due to Null Pointer Exception but the same code runs on 2.2 so it is quite wierd I have async task in my application to show progress dialog while the app is parsing xml by the time

On Mon, Jan 31, 2011 at 4:59 PM, Kostya Vasilyev <kmans...@gmail.com <mailto:kmans...@gmail.com>> wrote:

    And the logcat says?

    31.01.2011 14:27, Robin Talwar пишет:
    I am using fill_parent


    On Mon, Jan 31, 2011 at 4:27 PM, David Erosa García
    <soul...@gmail.com <mailto:soul...@gmail.com>> wrote:

        On Mon, Jan 31, 2011 at 11:56 AM, David Erosa García
        <soul...@gmail.com <mailto:soul...@gmail.com>> wrote:
        > On Mon, Jan 31, 2011 at 11:04 AM, Robin Talwar
        > <r.o.b.i.n.abhis...@gmail.com
        <mailto:r.o.b.i.n.abhis...@gmail.com>> wrote:
        >> Ok now i have added a splash screen.
        >> The Splash screen works fine but then the activity which
        is to list the xml
        >> parsed data is showing the force close error in 2.1
        >> and i working fine in 2.2 where could i possibly be wrong
        >
        > Maybe you are using "match_parent" on your xml and that's
        why it works
        > in 2.2 and FC in 2.1?

        Your layout's xml, I mean.

        >
        >>
        >> On Sat, Jan 29, 2011 at 5:49 PM, David Erosa García
        <soul...@gmail.com <mailto:soul...@gmail.com>>
        >> wrote:
        >>>
        >>> On Sat, Jan 29, 2011 at 12:36 PM, Robin Talwar
        >>> <r.o.b.i.n.abhis...@gmail.com
        <mailto:r.o.b.i.n.abhis...@gmail.com>> wrote:
        >>> > Yes i have done everything
        >>> > now if i run the build on 2.1 it says "Android Library
        project could not
        >>> > be
        >>> > launched"
        >>>
        >>> Check the project properties. It looks like you have
        checked the "Is
        >>> library" checkbox.
        >>>
        >>> >
        >>> > On Sat, Jan 29, 2011 at 3:16 PM, Marcin Orlowski
        >>> > <webnet.andr...@gmail.com
        <mailto:webnet.andr...@gmail.com>>
        >>> > wrote:
        >>> >>
        >>> >> > May be i messed up something in the process of
        converting it to 2.1
        >>> >> > I have navigated to android tools -> Fix Project
        Properties and set
        >>> >> > the api level
        >>> >> > Changed it manually in androidManifest but still it
        is giving me the
        >>> >> > Null Pointer Exception
        >>> >> > What could possibly be left out
        >>> >>
        >>> >> If your code is not using 2.2 features then it's just
        matter of
        >>> >> setting targetSdk as low as you can and rebuilding
        your project (would
        >>> >> clear project "just in case" myself). So if it now
        crashes it may be
        >>> >> just bug in your code. Debug it as such. Or check logs
        and stacktrace
        >>> >> you get on crash.
        >>> >>
        >>> >> --
        >>> >> You received this message because you are subscribed
        to the Google
        >>> >> Groups "Android Developers" group.
        >>> >> To post to this group, send email to
        >>> >> android-developers@googlegroups.com
        <mailto:android-developers@googlegroups.com>
        >>> >> To unsubscribe from this group, send email to
        >>> >> android-developers+unsubscr...@googlegroups.com
        <mailto:android-developers%2bunsubscr...@googlegroups.com>
        >>> >> 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
        android-developers@googlegroups.com
        <mailto:android-developers@googlegroups.com>
        >>> > To unsubscribe from this group, send email to
        >>> > android-developers+unsubscr...@googlegroups.com
        <mailto:android-developers%2bunsubscr...@googlegroups.com>
        >>> > 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
        android-developers@googlegroups.com
        <mailto:android-developers@googlegroups.com>
        >>> To unsubscribe from this group, send email to
        >>> android-developers+unsubscr...@googlegroups.com
        <mailto:android-developers%2bunsubscr...@googlegroups.com>
        >>> 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
        android-developers@googlegroups.com
        <mailto:android-developers@googlegroups.com>
        >> To unsubscribe from this group, send email to
        >> android-developers+unsubscr...@googlegroups.com
        <mailto:android-developers%2bunsubscr...@googlegroups.com>
        >> 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
        android-developers@googlegroups.com
        <mailto:android-developers@googlegroups.com>
        To unsubscribe from this group, send email to
        android-developers+unsubscr...@googlegroups.com
        <mailto:android-developers%2bunsubscr...@googlegroups.com>
        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
    android-developers@googlegroups.com
    <mailto:android-developers@googlegroups.com>
    To unsubscribe from this group, send email to
    android-developers+unsubscr...@googlegroups.com
    <mailto:android-developers+unsubscr...@googlegroups.com>
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en


-- Kostya Vasilyev -- WiFi Manager + pretty widget --http://kmansoft.wordpress.com

-- You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to
    android-developers@googlegroups.com
    <mailto:android-developers@googlegroups.com>
    To unsubscribe from this group, send email to
    android-developers+unsubscr...@googlegroups.com
    <mailto:android-developers%2bunsubscr...@googlegroups.com>
    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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

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

Reply via email to