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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T23:37:08+00:00 2026-06-14T23:37:08+00:00

My stack trace looks like this: java.lang.IllegalArgumentException: Indexed or mapped properties are not supported

  • 0

My stack trace looks like this:

java.lang.IllegalArgumentException: Indexed or mapped properties are not supported on objects of type Map: get(1)
at org.apache.commons.beanutils.PropertyUtilsBean.getPropertyOfMapBean(PropertyUtilsBean.java:813)
at org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty(PropertyUtilsBean.java:764)
at org.apache.commons.beanutils.BeanUtilsBean.getNestedProperty(BeanUtilsBean.java:715)
at org.apache.commons.beanutils.BeanUtilsBean.getProperty(BeanUtilsBean.java:741)
at org.apache.commons.beanutils.BeanUtils.getProperty(BeanUtils.java:382)

I get it here when I try to access part of a map:

//Property Names
for ( int i=1; i < planMonthList.size(); i++ )
{
  planTab.add("planPosition....get" + "(" + i + ")");
}
  • 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-14T23:37:09+00:00Added an answer on June 14, 2026 at 11:37 pm

    You can’t iterate over a map directly. You have to iterate over the keySet, the entrySet, or the values collection

    Example:

    Map <String,Integer> m = new HashMap<String,Integer>();
    
    m.put("A", 1);
    m.put("B", 2);
    m.put("C", 3);
    
    // Iterate over keys
    for (String key : m.keySet()) {
        System.out.println("Key=["+key+"], value=["+m.get(key)+"]");
    }
    
    // Iterate over values
    for (Integer value : m.values()) {
        System.out.println("Value=["+value+"]");
    }
    
    // Iterate over entrySet
    for (Map.Entry<String,Integer> entry : m.entrySet()) {
        System.out.println("Key=["+entry.getKey()+"], value=["+entry.getValue()+"]");
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How do I get the current stack trace in Java, like how in .NET
The error I get is 'IllegalArgumentException occured' Can not set java.util.ArrayList field mi.types.ListOfObjects.objects to
I had a look at existing questions on getting the thread id like java-thread-id-and-stack-trace
I have the following stack trace from valgrind. But it does not give me
Stack Trace Picture of stack trace here Values aren't being passed to the other
I want to retrieve stack trace from a user dump file programmatically . There
I have the following stack trace. Is it possible to make out anything useful
I want to disable the stack trace getting generated when an exception is thrown.
I'm printing out the stack trace in my app at various points to debug
My app crashes several times without any error or stack trace on my console.

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.