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 7725815
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T05:02:18+00:00 2026-06-01T05:02:18+00:00

I have an issue with my app when starting an SimpleBaseGameActivity from another SimpleBaseGameActivity

  • 0

I have an issue with my app when starting an SimpleBaseGameActivity from another SimpleBaseGameActivity. The code is:

Intent intent = new Intent(MainMenuActivity.this, PacManActivity.class);
intent.putExtra(INTENT_LEVEL_NUMBER, levelNumber);
intent.putExtra(INTENT_WORLD_NUMBER, worldNumber);
startActivity(intent);

It runs good, but when it loads the other Activity (PacManActivity) it throws an exception:

FATAL EXCEPTION: main
java.lang.NullPointerException
at org.andengine.ui.activity.BaseGameActivity.onResumeGame(BaseGameActivity.java:220)
at org.andengine.ui.activity.BaseGameActivity$4.run(BaseGameActivity.java:371)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3687)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
at dalvik.system.NativeStart.main(Native Method)

I’m not even implemented onResumeGame() method and if I start my PacManActivity by default (configured from Manifest.xml) it runs without any error.

Could someone please help me with this problem.

  • 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-06-01T05:02:19+00:00Added an answer on June 1, 2026 at 5:02 am

    You need to set the following value in your AndroidManifest file for your Activity…

    android:configChanges="orientation|screenSize"
    

    This is a known bug/issue in AndEngine…
    https://github.com/nicolasgramlich/AndEngine/issues/7

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

Sidebar

Related Questions

I have one issue with Default Google Map app in our phone. I m
Here's the issue: I have a list of App names that I want to
I have a jQueryMobile site/app where performance is an issue. I am reading a
We are new to ROR, We have issue in creating Login/Logout process in ROR
This simple issue seems to be fraught with side issues. eg. Does the new
I have been searching for a solution for this issue for multiple hours today
I have searched all over for somebody else with this issue and found nothing...so
ISSUE: I have an asp.net mvc 3 app. I'm using EF 4.1 and trying
HI, I am new to FB development and just starting developing the app for
I have my MainViewController which a UIViewController class, in this view I have a

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.