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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T15:57:02+00:00 2026-06-17T15:57:02+00:00

The following error is being thrown. The following classes could not be instantiated: –

  • 0

The following error is being thrown.

The following classes could not be instantiated:
- com.m.widget.CustomImageView (Open Class, Show Error Log)
See the Error Log (Window > Show View) for more details.
Tip: Use View.isInEditMode() in your custom views to skip code when shown in Eclipse

java.lang.UnsupportedOperationException: Unsupported Service: accessibility
    at com.android.layoutlib.bridge.android.BridgeContext.getSystemService(BridgeContext.java:448)
    at com.actionbarsherlock.internal.widget.IcsProgressBar.<init>(IcsProgressBar.java:340)
    at com.actionbarsherlock.internal.widget.IcsProgressBar.<init>(IcsProgressBar.java:273)
    at com.actionbarsherlock.internal.widget.IcsProgressBar.<init>(IcsProgressBar.java:269)
    at com.m2catalyst.widget.CustomImageView.<init>(CustomImageView.java:32)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(    at sun.reflect.NativeConstructorAccessorImpl.newInstance(    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(    at java.lang.reflect.Constructor.newInstance(    at com.android.ide.eclipse.adt.internal.editors.layout.ProjectCallback.instantiateClass(ProjectCallback.java:413)
    at com.android.ide.eclipse.adt.internal.editors.layout.ProjectCallback.loadView(ProjectCallback.java:170)
    at android.view.BridgeInflater.loadCustomView(BridgeInflater.java:207)
    at android.view.BridgeInflater.createViewFromTag(BridgeInflater.java:135)
    at android.view.LayoutInflater.rInflate_Original(LayoutInflater.java:746)
    at android.view.LayoutInflater_Delegate.rInflate(LayoutInflater_Delegate.java:64)
    at android.view.LayoutInflater.rInflate(LayoutInflater.java:718)
    at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
    at android.view.LayoutInflater.inflate(LayoutInflater.java:372)
  • 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-17T15:57:03+00:00Added an answer on June 17, 2026 at 3:57 pm

    the error message tells you what is going on:

    at com.actionbarsherlock.internal.widget.IcsProgressBar.(IcsProgressBar.java:340

    that doesn’t play well with the UI Editor you’re using. Do this:

    public CustomImageView(Context context) {
        this(context, null);
    }
    
    
    public CustomImageView(Context context, AttributeSet attrs){
        this(context, attrs, 0);
    }
    
    public CustomImageView(Context context, AttributeSet attrs, int defStyle){
        super(context, attrs, defStyle);
        imageView = new ImageView(context, attrs, defStyle);
        if (!isInEditMode()) progressBar = new IcsProgressBar(context, attrs, defStyle);
        init();
    }
    

    something like that should help. Basically check if the view is in a UI editor with isInEditoMode and don’t run code that isn’t supported in that mode.

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

Sidebar

Related Questions

I'm being thrown an error: SQLSTATE[42000]: Syntax error or access violation: 1064 You have
I'm getting the following error thrown in a test of mine: unknown file: error:
I've got 2 classes, MPRequest and MPModel . The MPModel class has a method
I'm getting an Unexpected TOKEN illegal error on the following javascript: $(function() { $(‘.delete_post’).bind(‘ajax:success’,
So I have the following method: template <class DT> //needs testing DT& LinkedSortedArrays<DT>::find (const
I have the following Python (3.2) code: from pygame import * class Application: def
I'm getting a warning running one of my Perl scripts. The error is being
I'm trying to reference a com component and it is throwing the below error.
Every now and then I come across an exception being thrown by the Flex
I'm getting the above exception and error on the following code, which is meant

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.