Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6223519
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T08:30:13+00:00 2026-05-24T08:30:13+00:00

I had the stand-alone app that was able to show the map using the

  • 0

I had the stand-alone app that was able to show the map using the Google Maps Api. My idea was to integrate a facebook login so that an user can enter with name and pass. I did that but now I receive the following error log when trying to run the ShowTheMap activity:

07-27 15:03:32.010: ERROR/AndroidRuntime(903): java.lang.RuntimeException: Unable to start activity ComponentInfo{mark.the.map/mark.the.map.ShowTheMap}: java.lang.NullPointerException
...
07-27 15:03:32.010: ERROR/AndroidRuntime(903):     at dalvik.system.NativeStart.main(Native Method)
07-27 15:03:32.010: ERROR/AndroidRuntime(903): Caused by: java.lang.NullPointerException
07-27 15:03:32.010: ERROR/AndroidRuntime(903):     at mark.the.map.ShowTheMap.onCreate(ShowTheMap.java:55)

Here my ShowTheMap.java

...

public class ShowTheMap extends MapActivity 
{    
...
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        mapView = (MapView) findViewById(R.id.mapView)
} 

}

It uses facebook connect and my idea after the successful connection to start a new activity showing the map – how should be done this?

When you run the ShowTheMap as a stand-alone project it runs perfect without any error.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T08:30:14+00:00Added an answer on May 24, 2026 at 8:30 am

    You are passing null argument on the 50th line MarkTheMapActivity probably where you are starting ShowTheMap.class. By your saying you say that ShowTheMap i separate stand alone application. You cant run separate activity like you did. You can move the ShowTheMap.class and start it as child activity. If you move ShowTheMap class within your current project, everything will be alright. Cheers

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I had the idea of a search engine that would index web items like
I'm writing a web app, initially meant to be stand-alone--it's essentially a survey with
Had a page that was working fine. Only change I made was to add
Had a good search here but can't see anything that gets my mind in
I had a discussion with some colleagues mentioning that there are not too many
I had an idea, if I add a python .py file to my C#
I had to delete all the rows from a log table that contained about
I am creating a application using jmf that will be launched on a user's
I had an old view that was giving out some odd data when I
I have a requirement to create a component which can be used stand-alone or

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.