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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T02:27:28+00:00 2026-05-19T02:27:28+00:00

Since upgrading from WAS6.1 to WAS7.0 I’m getting an error when trying to display

  • 0

Since upgrading from WAS6.1 to WAS7.0 I’m getting an error when trying to display a value contained in an array.

Java:

private Date[] days = new Date[10];
public Date[] getDays() {
    return days;
}

JSP:

<td><fmt:formatDate value="${fair.days[0]}" pattern="dd.MM.yyyy" /><td>

This causes the following error:

[Exception in:/tilesContent/listFairs_bodyarea.jsp] Missing Resource in EL
 implementation: ???propertyNotReadable??? 

My application works fine when deployed to a WAS6.1 server. The problem only occurs on WAS7.

I added a getFirstDay() method which returns days[0] and accessed it using ${fair.firstDay} and this works. Is there a problem accessing arrays?

  • 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-19T02:27:29+00:00Added an answer on May 19, 2026 at 2:27 am

    I think I have found an partial explanation and a work-around for the problem.

    I added a new indexed property to the Fair class to check that indexed
    properties work ok. They do.

    I added a new getter for the days array and gave it the name getXyz(). That worked ok.

    I noticed that the original getter and setter were asymetrical (hysterical reasons).

    public Date[] getDays() {                                               
        return days;                                                        
    }                                                                       
    public void setDay(int day, Date date) {                                
        this.days[day] = date;                                              
    }       
    

    I know this is a bit wierd but it worked up til now. Anyway, I modified
    the methods as follows:

    public Date[] getDays() {                                               
        return days;                                                        
    }                                                                       
    public void setDays(Date[] dates) {                                     
        this.days = dates;                                                  
    }                                                                       
    public void setDay(int day, Date date) {                                
        this.days[day] = date;                                              
    }  
    

    The problem no longer occurs.

    I have no explaination for why this fixes the problem as I think that only the getter is being used. This ‘solution’ is ok for me as the code looks better and it works.

    (Feel free to add a comment if you know WHY this solves the problem)

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

Sidebar

Related Questions

I'm getting a weird error from my sites ever since upgrading to Windows 2008
Since upgrading from 4.7 to ECC6 the ABAP compiler has become a lot stricter
Since upgrading from mvc 2 beta 2 to rc I'm having trouble with an
Since upgrading a website from ASP.NET 3.5 to ASP.NET 4.0 my dates come out
Plenty of pages load since upgrading my site from MVC 1.0 but if I
Since upgrading to the latest Xcode 3.2.1 and Snow Leopard, I've been getting the
We're in the process of upgrading from VS2008 to VS2010 since it's now released.
I'm trying to send a HTTP GET request with UDP (since the reply from
Since upgrading to 2008 I and many people here have noticed that randomly VS
I have a custom view engine in ASP.NET MVC and since upgrading to RC1

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.