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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T09:04:18+00:00 2026-05-19T09:04:18+00:00

I can’t figure out what it is going on here…after hours… This is the

  • 0

I can’t figure out what it is going on here…after hours…

This is the activity in question (that I have made super-easy in order to narrow down the problem):

public class UserAuthenticationActivity extends Activity {
    /** Called when the activity is first created. */

    @Override
    public void onCreate(Bundle savedInstanceState) {
        Log.e("MYAPP", "step1");
        super.onCreate(savedInstanceState);
         setContentView(R.layout.user_authentication);
        Log.e("MYAPP", "step2");
    }

    @Override    
    public void onStart()
    {
        super.onStart();
    }
}

And this is layout/user_authentication:

<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent" android:layout_height="fill_parent">

    <LinearLayout
        android:orientation="vertical"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:scrollbars="vertical"    
        android:padding="15sp"
        >  

    <TextView  
        android:layout_width="fill_parent" 
        android:layout_height="wrap_content" 
        android:text="hello!"
        android:paddingTop="15sp"  
        android:paddingBottom="5sp"    
        android:textSize="15sp"        
        />    

    </LinearLayout>

</ScrollView>

I get the error screen when I launch the application. The log doesn’t show my debug messages but just this exception:

I/ActivityManager( 1032): Starting activity: Intent { comp={com.myapp.android.app/com.myapp.android.app.activity.UserAuthenticationActivity} }
D/Database( 1990): hook db is called for:/data/data/com.myapp.android.app/databases/myappDatabase.db
D/Database( 1990): hook not enabled for /data/data/com.myapp.android.app/databases/myappDatabase.db
E/QC-DSS-LIB(  981): unrecognized ifindex 6
W/dalvikvm( 1990): threadid=3: thread exiting with uncaught exception (group=0x4000fe70)
E/AndroidRuntime( 1990): Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime( 1990): java.lang.NullPointerException
E/AndroidRuntime( 1990):    at android.widget.ListView.measureScrapChild(ListView.java:1039)
E/AndroidRuntime( 1990):    at android.widget.ListView.measureHeightOfChildren(ListView.java:1120)
E/AndroidRuntime( 1990):    at android.widget.ListView.onMeasure(ListView.java:1031)
E/AndroidRuntime( 1990):    at android.view.View.measure(View.java:7236)
E/AndroidRuntime( 1990):    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:2875)
E/AndroidRuntime( 1990):    at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:888)
E/AndroidRuntime( 1990):    at android.widget.LinearLayout.measureVertical(LinearLayout.java:350)
E/AndroidRuntime( 1990):    at android.widget.LinearLayout.onMeasure(LinearLayout.java:278)
E/AndroidRuntime( 1990):    at android.view.View.measure(View.java:7236)
E/AndroidRuntime( 1990):    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:2875)
E/AndroidRuntime( 1990):    at android.widget.FrameLayout.onMeasure(FrameLayout.java:245)
E/AndroidRuntime( 1990):    at android.view.View.measure(View.java:7236)
E/AndroidRuntime( 1990):    at android.widget.LinearLayout.measureVertical(LinearLayout.java:464)
E/AndroidRuntime( 1990):    at android.widget.LinearLayout.onMeasure(LinearLayout.java:278)
E/AndroidRuntime( 1990):    at android.view.View.measure(View.java:7236)
E/AndroidRuntime( 1990):    at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:2875)
E/AndroidRuntime( 1990):    at android.widget.FrameLayout.onMeasure(FrameLayout.java:245)
E/AndroidRuntime( 1990):    at android.view.View.measure(View.java:7236)
E/AndroidRuntime( 1990):    at android.view.ViewRoot.performTraversals(ViewRoot.java:698)
E/AndroidRuntime( 1990):    at android.view.ViewRoot.handleMessage(ViewRoot.java:1482)
E/AndroidRuntime( 1990):    at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1990):    at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 1990):    at android.app.ActivityThread.main(ActivityThread.java:3948)
E/AndroidRuntime( 1990):    at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1990):    at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 1990):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:782)
E/AndroidRuntime( 1990):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
E/AndroidRuntime( 1990):    at dalvik.system.NativeStart.main(Native Method)

I hope somebody can help me. I don’t have any clue.

Thanks,
Dan

  • 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-19T09:04:19+00:00Added an answer on May 19, 2026 at 9:04 am

    Could it be because there is no contentview?

    Further points of interest:

    • There are several Views in your scrollview, but it can have only one child (use something like a linear layout to put more than 1 in there)
    • How does your manifest look? What activities are declared there? (or, as @kcoppock said: is this your only activity?)
    • Why is it throwing stuff from .widget? What are you using in e.g. imports?
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a jquery bug and I've been looking for hours now, I can't
Can't seem to figure out what's wrong with the simple getJSON call below. It's
Can anyone explain me what's going on? I use this method - (BOOL)shouldAutorotateToInterfaceOrientation:( UIInterfaceOrientation)interfaceOrientation
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
This could be a duplicate question, but I have no idea what search terms
Can anyone help me as what is going wrong here? Am not able to
Can any one help me in sorting this out in sed/awk/perl Input file Start
Can anyone help me trying to find out why this doesn't work. The brushes
Can anyone help me with this issues. Help is very much appreciated. Thanks. Here
Can I order my users in the database, so I don't have to say

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.