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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T05:00:33+00:00 2026-05-21T05:00:33+00:00

I get the following error: ERROR/AndroidRuntime(294): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.e/views.L}: java.lang.InstantiationException: com.e.views.L

  • 0

I get the following error:

ERROR/AndroidRuntime(294): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.e/views.L}: java.lang.InstantiationException: com.e.views.L

public class L extends Activity {

private ListView m_listView;
private DBManager m_db;
Handler mHandler = new Handler();
private WindowManager mWindowManager;
private TextView mDialogText;


@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);
    setContentView(R.layout.letters);
    customizeTitleBar("A-Ö", null);
    setVisibilityToButton(R.id.left_button, visibilityGone);
    setVisibilityToButton(R.id.right_button, visibilityGone);

    m_db = new DBManager(getApplicationContext());
    m_db.openDataBase();

    m_listView = (ListView)findViewById(R.id.letters_listview);
    m_listView.setFastScrollEnabled(true);

    final ArrayList<Image> words = m_db.selectAllWords();

    WordListAdapter adapter = new WordListAdapter(getApplicationContext(), words);

    m_listView.setAdapter(adapter);

    m_listView.setOnItemClickListener(new OnItemClickListener(){

public void onItemClick(AdapterView<?> arg0, View arg1, int arg2, long arg3) {
    Intent intent = new Intent(getApplicationContext(), ShowImage.class);

    intent.putExtra("selectedItem", words.get(arg2).getRowId());
    intent.putExtra("word", words.get(arg2).getWord());
    startActivity(intent);
        }
    });
    m_db.closeDatabase();

mHandler.post(new Runnable() {

public void run() {
      WindowManager.LayoutParams lp = new WindowManager.LayoutParams(
              LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT,
              WindowManager.LayoutParams.TYPE_APPLICATION,
              WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE
                      | WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE,
              PixelFormat.TRANSLUCENT);
      mWindowManager.addView(mDialogText, lp);
  }});
}}

Here’s the log trace:

    03-31 14:42:45.549: ERROR/Zygote(33): setreuid() failed. errno: 2
    03-31 14:42:51.600: ERROR/Zygote(33): setreuid() failed. errno: 17
    03-31 14:42:52.969: ERROR/BatteryService(63): usbOnlinePath not found
    03-31 14:42:52.969: ERROR/BatteryService(63): batteryVoltagePath not found
    03-31 14:42:52.979: ERROR/BatteryService(63): batteryTemperaturePath not found
    03-31 14:42:52.991: ERROR/SurfaceFlinger(63): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake
    03-31 14:42:56.741: ERROR/EventHub(63): could not get driver version for /dev/input/mouse0, Not a typewriter
    03-31 14:42:56.741: ERROR/EventHub(63): could not get driver version for /dev/input/mice, Not a typewriter
    03-31 14:42:56.950: ERROR/System(63): Failure starting core service
    03-31 14:42:56.950: ERROR/System(63): java.lang.SecurityException
    03-31 14:42:56.950: ERROR/System(63):     at android.os.BinderProxy.transact(Native Method)
    03-31 14:42:56.950: ERROR/System(63):     at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:146)
    03-31 14:42:56.950: ERROR/System(63):     at android.os.ServiceManager.addService(ServiceManager.java:72)
    03-31 14:42:56.950: ERROR/System(63):     at com.android.server.ServerThread.run(SystemServer.java:184)
    03-31 14:42:57.519: ERROR/SoundPool(63): error loading /system/media/audio/ui/Effect_Tick.ogg
    03-31 14:42:57.519: ERROR/SoundPool(63): error loading /system/media/audio/ui/KeypressStandard.ogg
    03-31 14:42:57.519: ERROR/SoundPool(63): error loading /system/media/audio/ui/KeypressSpacebar.ogg
    03-31 14:42:57.519: ERROR/SoundPool(63): error loading /system/media/audio/ui/KeypressDelete.ogg
    03-31 14:42:57.519: ERROR/SoundPool(63): error loading /system/media/audio/ui/KeypressReturn.ogg
    03-31 14:42:58.531: ERROR/ThrottleService(63): Could not open GPS configuration file /etc/gps.conf
    03-31 14:42:59.160: ERROR/logwrapper(142): executing /system/bin/tc failed: No such file or directory
    03-31 14:42:59.199: ERROR/logwrapper(144): executing /system/bin/tc failed: No such file or directory
    03-31 14:42:59.219: ERROR/logwrapper(145): executing /system/bin/tc failed: No such file or directory
    03-31 14:43:08.481: ERROR/HierarchicalStateMachine(63): TetherMaster - unhandledMessage: msg.what=3
    03-31 14:43:40.492: ERROR/AndroidRuntime(293): FATAL EXCEPTION: main
    03-31 14:43:40.492: ERROR/AndroidRuntime(293): java.lang.NullPointerException
    03-31 14:43:40.492: ERROR/AndroidRuntime(293):     at com.views.Letters$2.run(L.java:91)
    03-31 14:43:40.492: ERROR/AndroidRuntime(293):     at android.os.Handler.handleCallback(Handler.java:587)
    03-31 14:43:40.492: ERROR/AndroidRuntime(293):     at android.os.Handler.dispatchMessage(Handler.java:92)
    03-31 14:43:40.492: ERROR/AndroidRuntime(293):     at android.os.Looper.loop(Looper.java:123)
    03-31 14:43:40.492: ERROR/AndroidRuntime(293):     at android.app.ActivityThread.main(ActivityThread.java:4627)
    03-31 14:43:40.492: ERROR/AndroidRuntime(293):     at java.lang.reflect.Method.invokeNative(Native Method)
    03-31 14:43:40.492: ERROR/AndroidRuntime(293):     at java.lang.reflect.Method.invoke(Method.java:521)
    03-31 14:43:40.492: ERROR/AndroidRuntime(293):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
    03-31 14:43:40.492: ERROR/AndroidRuntime(293):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
    03-31 14:43:40.492: ERROR/AndroidRuntime(293):     at dalvik.system.NativeStart.main(Native Method)

new log trace

04-01 10:01:09.100: ERROR/AndroidRuntime(276): FATAL EXCEPTION: main
04-01 10:01:09.100: ERROR/AndroidRuntime(276): java.lang.NullPointerException
04-01 10:01:09.100: ERROR/AndroidRuntime(276):     at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:148)
04-01 10:01:09.100: ERROR/AndroidRuntime(276):     at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91)
04-01 10:01:09.100: ERROR/AndroidRuntime(276):     at android.view.Window$LocalWindowManager.addView(Window.java:424)
04-01 10:01:09.100: ERROR/AndroidRuntime(276):     at com.enea.takk.views.Letters$2.run(Letters.java:114)
04-01 10:01:09.100: ERROR/AndroidRuntime(276):     at android.os.Handler.handleCallback(Handler.java:587)
04-01 10:01:09.100: ERROR/AndroidRuntime(276):     at android.os.Handler.dispatchMessage(Handler.java:92)
04-01 10:01:09.100: ERROR/AndroidRuntime(276):     at android.os.Looper.loop(Looper.java:123)
04-01 10:01:09.100: ERROR/AndroidRuntime(276):     at android.app.ActivityThread.main(ActivityThread.java:4627)
04-01 10:01:09.100: ERROR/AndroidRuntime(276):     at java.lang.reflect.Method.invokeNative(Native Method)
04-01 10:01:09.100: ERROR/AndroidRuntime(276):     at java.lang.reflect.Method.invoke(Method.java:521)
04-01 10:01:09.100: ERROR/AndroidRuntime(276):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
04-01 10:01:09.100: ERROR/AndroidRuntime(276):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
04-01 10:01:09.100: ERROR/AndroidRuntime(276):     at dalvik.system.NativeStart.main(Native Method)
  • 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-21T05:00:34+00:00Added an answer on May 21, 2026 at 5:00 am

    You assigned anything into mWindowManager and you call a method of it in your handler. mWindowManager.addView(mDialogText, lp);

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

Sidebar

Related Questions

I get following error (SyntaxError): missing ] after element list when using eval function.
I get following error message, when I try to run git rebase -i for
I get following error when deploying on test server with II6 and Framework 3.5
I get following error when trying to access Xampp from a network I've tried
I get following error: 2012-04-04 23:46:18.374 istiqlaltv[17121:e903] -[istiqlaltvViewController moviePlayBackDidFinish]: unrecognized selector sent to instance
When I type import sqlite3 in Python 2.5 interpreter (C:\Python25\Python), I get following error:
I am using the code as described in this question. However get following error
I get the following error even when my JAVA_HOME is set correctly. C:\workspace-sts-2.8.0.RELEASE\JBClient\target>echo %JAVA_HOME%
I get the following error on my Cloud Foundry installation when I try to
I get the following error when running the code below: invalid byte sequence in

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.