JSTL problem with LinkedHashMap changed to Map

Originally my code worked with a linkedHashMap in java 1.4. Another developer converted it to 1.5 and changed my linkedHashMap to a Map<String, Map<String, List<DateSensitiveDTO>>>
in the jstl I used to do ${dsMap.value['display']}
now that code throws the following exception
Error 500: The "." operator was supplied with an index value of type "java.lang.String" to be applied to a List or array, but that value cannot be converted to an integer.
any ideas of what would cause this? I've checked and the code is still putting 'display' into the map. I can output ${dsMap} in the jsp and I can see that 'display' exists inside the output.. I can only assume jstl is doing something different because of the data type, but I have no idea how to fix it.. except of course change the declaration back to a linkedHashMap.

sorry to post this. I just answered my own question.. the exception in the jsp wasn't ocuring where I assumed it was, and had to do with the fact he also changed the structure of the objects being set in the Map... I assumed he tested his code to make sure it worked... guess it was a bad assumption.

Similar Messages

  • Problems with Initial steps for Mapping with Java in XI 3.0

    Hi,
    I am having problems with a simple java mapping in XI 3.0. I have created another test class in my PC to test it ,and it works.
    But when I use it in a example mapping it does not work.
    I think the reason is because It cannot find the classes used in the XI server.
    What do I have to do to make it work ?
    Do I need to add / change / view something in the XI server?
    Thanks a lot...
    David

    Down by java mapping

  • Problem with iChat changing my custom away message after 30 minutes

    Lately, I've been having a big problem with iChat changing any custom away message that I put up to "Away" after 30 minutes or so. Is there anything I can do to make it stop? Another issue I'm having is that sometimes when people on my buddy list change their away message, it doesn't show up on iChat unless I go offline and then sign back on. Any idea why it's doing that, and what I can do to get it to stop?
    Thanks.
    - Danielle
    G3 iMac   Mac OS X (10.3.9)  

    Hi ienjoyanime,
    Go to the General Section of iChat Preferences.
    Does it say you are set to Go to Away when you log off/QUit iChat ?
    is the computer going to Sleep at this point ?
    10:59 PM Saturday; April 1, 2006

  • What is the problem with fonts changing to myriad pro? Is this problem ever going to be resolved? Its driving me mad!

    What is the problem with fonts changing to myriad pro? Is this problem ever going to be resolved? Its driving me mad!

    Browser Dog, Amy,
    The default font remains Myriad Pro until you change it, either in the RGB/CMYK Startup files or in the preferences, options depending on versions.
    Concerning missing font names, I believe this may solve it:
    Open System Preferences and go to Accessibility. Next, select Display from the source list along the left, then check the box labelled Reduce transparency.
    It was first presented in this post #15 by TheUlser:

  • Problems with Plan Change - Needs Immediate Result

    Hello,
    I have been a long time Verizon Wireless customer.  I have two lines, one of which was assigned to a tablet with a 1gb plan.  I maintained this line for the upgrade since my other line has unlimited data.  I recently upgraded to the Note 3, and in the process was told that I'd have to establish a new line to accomplish the upgrade.  The representative, from Costco, let me know that it shouldn't be a problem transferring the same plan to the newly established line and not to worry about anything going wrong.  That night I called Verizon for the first time and worked with a customer service representative who ended up making the problem worse by canceling the tablet line before transferringthe device to the new line.  This caused a problem with my sim card, and I have to request a new one because my old was was constantly showing an "aging" status.  Even a few days later.  The first night consisted of two phone calls to Verizon because the rep mentioned above ended up disconnecting me trying to get over to tech support.  The second rep was much more helpful, but wasn't able to do anything and let me know I'd have to work with tech support, but should wait until the next day to allow the sim to "age."
    The next day was the 4th of July, so I called back the next day and went through a similar process, spent about 30 minutes with one rep, only to be told my sim was still "ageing" and to talk to tech support.  Every time I was connected with tech support it was a minimum 30 minute wait, just to be told that there was nothing they could do, again, and they sent me a new sim card.  When i received that sim, at which point it was the following week, I called back and activated my tablet successfully.  Hung the phone up and thought all was well, until I saw my balance due the next day.  It was nearly double what I usually pay.  The representative never informed me that it would default to a prorated amount based on that payment, of 4gb.  None of which I need.  I called back, again, and was told that I wasn't able to use the old plan I had since it didn't exist anymore.  This time the representative was very pleasant, and let me know she'd put a request in to see if the old plan would be possible, given my situation.  I was alright with that, and this was the first time I wasn't frustrated after hanging up the phone.
    She called me back yesterday letting me know that Verizon isn't willing to allow me to use my old plan, and that there is a new plan options, that is 10 dollars a month.  Honestly that was all right, so I called in today to change it to that plan and have it backdated to the date of upgrade to fix my billing issue.  During the process of looking up my information, the representative I spoke with today disconnected me.  Over the last week and a half I have spent nearly 3-4 hours on the phone with Verizon just trying to fix this issue that was not anything I could have controlled.
    The rep at Costco told me I'd have no issues transferring my lien to the new line we opened that day, and the first individual I spoke with on the phone canceled the line too early and further delayed the process by requiring me to request a new SIM card for the tablet.  After being disconnected this time, I'm extremely frustrated with the entire situation and Verizon in general.  I've been a customer of Verizon for nearly ten years, and for the fist time I am considering moving to another carrier seeing.  In that ten year period, I have probably called into customer service less than 5 times.  And in the last week and a half I have made more calls, and spent far more time on the phone than every before.
    The bottom line is, I need to have the plan changed on my tablet line to something comparable to what I had previously, which was a 20 dollar, 1gb plan with the 10 dollar tablet fee.  I need this taken care of ASAP and I need to know it's being done correctly.  If Verizon is going to partner with companies like Costco to provide phones to members, and increase their customer base, than these reps need to be better equipped to handle the upgrade process.  And it seems that the call centers I have spoken with are a 50/50 shot in terms of reaching someone who is able to do their job effectively and in a timely fashion.
    I hope to be contacted with a resolution by today or I will be returning the phone, and looking elsewhere for my wireless needs.
    Thank you.
    Josh

    There is an "undocumented" parameter you need to include in your
    page. It MUST be a hidden field value called "p_action". The
    form hidden value is either "OK" or "CANCEL" (case sensitive).
    Thus, when the form is submitted, this parameter states to
    commit the changes. Useful if you have a "Save" button and
    a "Cancel" button.

  • Synchronous RFC -- SOAP Scenario: problem with SOAP Response/Fault Mapping

    Hi,
    I've a synchronous RFC --> PI --> SOAP Scenario. The problem is that the message structure of the sending RFC doesn't match the Webservice Structure.
    The (SAP standard) RFC has just a Request / Response message structure. Part of the Response Message structure is a exception structure.
    The Webservice has a Request / Response message structure and in case of an error I get a SOAP:Fault.
    Problem now is that I cannot configure that scenario without usage of BPM as I will have to map SOAP:Response or SOAP:Fault to the RFC Response structure.
    Has anybody another idea to do that synchronous scenario (with usage of message mapping) without BPM?
    BR
    Holger

    1)
    you maus define 3 mapping.
    1)request
    2)response
    3)Fault
    in Interface mapping define at response boths (2-3) mapping. its clear??
    2)
    otherwise sometjhing is not clear, why do you want fault?? why dont you  get only response message. we implement this kind of response:
    <response_MT>
    <ID> (error ID)
    <system> (target system) 
    <error> (Error Description)
    </response>
    by this way fault message is not needed. but if you must have it just follow the top of message else, propose second.
    Thanks
    Rodrigo
    Thanks
    Rodrigo
    Edited by: Rodrigo Pertierra on Feb 25, 2008 11:52 AM

  • JSTL problem with JSP

    Hi,
    I am developing enterprise application using jboss portlets, ejb, jsp, jstl, other stuff on jboss AS.
    I am facing some interesting problem in a jsp page which uses jstl. I have configured all jsp configurations with my web application.
    Presently i am putting an endpage, current page integer values in a session.
    In JSP page whenever i want to iterate a loop and some checks on endPage, curPage it gives me NumberFormatException and finally it results to compile the jsp page.
    The error comes when i am using these variables from session with JSTL tags. The snippet where the problem seems to be is as :
    <c:forEach var="selection" begin="1" end="${endPage}">
         <c:if test="${selection == curPage}">
    May anyone help me on this or whether the there may be some problems with the JSTL configurations ?
    In my view JSTL configurations is ok but the problems seems to be in the statements above or there may be some other way to define it.
    Any inputs ?
    -Sachin
    Software Engineer,
    EpiComm Technologies.

    The Snippet of Error Stack Trace on server console is here:
    11:38:32,234 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
    java.lang.NumberFormatException: For input string: "${endPage}"
         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
         at java.lang.Integer.parseInt(Integer.java:468)
         at java.lang.Integer.valueOf(Integer.java:574)
         at org.apache.jasper.compiler.JspUtil.coerceToInt(JspUtil.java:752)
         at org.apache.jasper.compiler.Generator$GenerateVisitor.convertString(Generator.java:2914)
         at org.apache.jasper.compiler.Generator$GenerateVisitor.evaluateAttribute(Generator.java:2717)
         at org.apache.jasper.compiler.Generator$GenerateVisitor.generateSetters(Generator.java:2823)
         at org.apache.jasper.compiler.Generator$GenerateVisitor.generateCustomStart(Generator.java:2156)
         at org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1665)
         at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1441)
         at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
         at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
         at org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1685)
         at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1441)
         at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
         at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
         at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
         at org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
         at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
         at org.apache.jasper.compiler.Generator.generate(Generator.java:3270)
         at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:189)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.jboss.portal.portlet.impl.PortletRequestDispatcherImpl.execute(PortletRequestDispatcherImpl.java:64)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

  • Still problems with ID changing in Teaming 2.1?

    Hi,
    They are still problems with changing the ID from user in the eDIR when they are
    will synchronized with the Teaming system?
    In the past it was a very bad thing if the user name (ID) was a shortened form the
    name of the user e.g. ssmith for Sarah Smith.
    When "our" Sarah has married and her new name was e.g. Sarah Stone, new user ID is
    sstone, the Teaming system can't "realize" that ssmith and sstone are the same user.
    Is this problem fixed in the version 2.1?
    THX
    Andre

    Hi,
    A opened a request by Novell and get the answer that all is still the same since version 1.x.
    Maybe this behavior will change in the version 4.x.
    It's really sad that Teaming can't handle changed IDs.... really sad....
    Than we have two ways... first, we change all our IDs to IDs with digits like 1234 or the second way... we use
    SharePoint.... really sad.....
    I'm wonder me that we are the only firm with such problem....
    THX
    Andre

  • Problems with loading 3.04 maps

    could someone please explain in simple terms the steps req to install the new free maps[3.04]into a n97mini please,i have tryed several times and get different problems every time i try and do i need to be connected to internet for them to work,first it crashed and now it wont show any roads and states i carnt start navigation from this location, i am in australia,are aussie maps supported in 3.04.
    please help
    Solved!
    Go to Solution.

    Hi suzukir8
    Firstly can you open OVI Maps click "?" bottom left of screen > About and post which version is quoted in top line of screen? Has v3.04 actually installed or still remains on v3.03?
    If v3.04 has failed to install you could try going to Menu > Settings > Application mgr. > Installed apps anduninstall any of these present: Open C LIBSSL,Open C LIBSSL Patch, OVI Maps Wi-Fi/Network Positioning, PIPS Installer, Share Location Agent, Share Location, Share Location Widget, Standard C++ Library Common, Standard C++ Library Patch, Symbian OS Pipes Upgrade, Symbian OS PIPS Upgrade & Upgrade for OpenC LIBZ Support.
    You can download v3.04 directly from here and try installing again:
    http://nds1.nokia.com/phones/files/software/maps_i nstaller_3.04_10wk17_b07_s60_5.0.Nocs.sis 
    There is no problem with map data for Australia being compatible but would suggest that you delete E:\cities and .qf file, run OVI Maps to define folder needed on memory card and re-download your regional maps.
    I f you are having problems locating position, I would suggest go to Menu > Applications > Location > Positioning > Positioning Methods and try disabling WiFi/Network.
    Happy to have helped forum in a small way with a Support Ratio = 37.0

  • Problem with Tempo change using factory - Please Help!

    Hi, All
    Im experiencing a problem when I change the tempo of an audio file and want to revert back to its original state. I understand that you can not just undo the process so I try and delete the file from my bin and import the file again. The problem that I am experiencing is that even though the original file is at the original tempo, once imported to my bin the temp changes automaticaly to the one I deleted. Is there something I am doing wrong? any help on this would be greatly appreciated.
    Thanks
    Patryk

    you can stretch any audio file already recorded in Logic but there is simple rulethat you must follow:
    the Sample must be recorded in Logic at original BPM tempo
    you can use Bus routing or bounce...
    all resulting files will be vere same as apple loop...
    if your file is not recorded in logic just find the correct BPM and after tha, Bounce it!
    G

  • Problem with email update and Map as well in ios6 though i am using iphone5.., problem with email update and Map as well in ios6 though i am using iphone5..

    Hello.
    I am having problem with my email update. i am not getting my email update in time on my iphone4 since i installed ios6. that was fine with ios5.
    I brought iphone5 but still the same problem. its not shown automatically in my iphone screen whenever i get my email.
    Same having big problem with imap.....
    Riaz

    The problem?  It's actually pretty simple: Microsoft implemented their mail processing in a way that has greatly assisted folks using Microsoft products and Microsoft platforms, and established an "export" mechanism when communicating via mail in heterogeneous computing environments.  Microsoft tools including Microsoft Exchange Server and their systems running Microsoft Windows are a good and very capable mail environment system, with great scale and very well integrated mail, calendar and related processing, and some exceedingly useful tools including SharePoint that have no real analog with OS X, Unix or Linux systems.   But these tools don't necessarily interoperate entirely nicely in heterogeneous environments; with non-Microsoft tools and platforms.
    The winmail.dat mechanism is a part of the whole Microsoft infrastructure, and particularly when the information is being "exported" out from the Microsoft environment, and into a non-Windows and non-Exchange environment.  The determinate here involves the settings chosen by the various senders.  (Possibly also by the defaults chosen by the administrator of the Exchange Server(s) involved, but I haven't checked that.)
    Here's the Microsoft knowledge base article that describes the specificss of the winmail.dat file. 
    There are tools around to read the TNEF-format winmail.dat files on OS X and other platforms, including TNEF's enough for OS X, and likely various other tools.   Or get your senders to reconfigure their settings for you when they're sending messages to you, as described in the Microsoft KB article.

  • Problem in context changing ( message mapping )

    <u>source structure    </u>
    Message Name        
    Header(1)            
        H1                 
        H2                 
    LineItem(1)         
      Item(1-unbounded)   
        I1                 
        I2     
    <u>target structure</u>
    Message name
    Header(1)
       H1
       status
    LineItem(1)
      Item(1-un)
       I1
       I2     
    The result for status should be as follows
    <i>if h1 = x then status = ‘H1’failed else if h2 = x then status = ‘H2’failed
    else if I1 = x then status = ‘I1’failed else if I2 = x then status = ‘I2’failed.</i>
    Problem :
             It works perfect as long we have only one Item (Unbounded Tab).
    But since it is unbounded  we have more than one item tabs.
    The mapping does not produce the status element.
                      I tried removing the context of all the source fields, but still I coudnt produce the status element. I don’t know where to change the context.
    Can somebody help me with this issue.
    Thanks in advance .
    Disney.

    Hi,
    I was able to do it with the graphical mapping using standard functions only.
    The output will have only one status , the place where the 1st error shows up..like it checks in header fields first, then it takes items one by one.
    It is very big though & would be much simpler to do something like what stefan proposed.
    Just for info this is the Text Preview for the Mapping i did...(Is there a way, if i have this to upload to a mapping?)
    /ns0:MT_TRGT/Header=/ns0:MT_SRC/Header=
    /ns0:MT_TRGT/Header/H1=/ns0:MT_SRC/Header/H1=
    /ns0:MT_TRGT/Header/Status=iF(iF(const(), stringEquals(/ns0:MT_SRC/Header/H1=, const()), iF(const(), stringEquals(/ns0:MT_SRC/Header/H2=, const()), const())), not(stringEquals(iF(const(), stringEquals(/ns0:MT_SRC/Header/H1=, const()), iF(const(), stringEquals(/ns0:MT_SRC/Header/H2=, const()), const())), const())), ifWithoutElse(not(stringEquals(iF(concat(const(), index(/ns0:MT_SRC/Item/Items/I1=)), stringEquals(/ns0:MT_SRC/Item/Items/I1=, const()), iF(concat(const(), index(/ns0:MT_SRC/Item/Items/I2=)), stringEquals(/ns0:MT_SRC/Item/Items/I2=, const()), const())), const())), iF(concat(const(), index(/ns0:MT_SRC/Item/Items/I1=)), stringEquals(/ns0:MT_SRC/Item/Items/I1=, const()), iF(concat(const(), index(/ns0:MT_SRC/Item/Items/I2=)), stringEquals(/ns0:MT_SRC/Item/Items/I2=, const()), const()))))
    /ns0:MT_TRGT/Items=/ns0:MT_SRC/Item=
    /ns0:MT_TRGT/Items/Item=/ns0:MT_SRC/Item/Items=
    /ns0:MT_TRGT/Items/Item/I1=/ns0:MT_SRC/Item/Items/I1=
    /ns0:MT_TRGT/Items/Item/I2=/ns0:MT_SRC/Item/Items/I2=
    Thanks,
    Renjith.

  • Bridge CS4 edit history problem with OS change from XP to 7

    I've changed my OS from XP to 7.  After reinstalling software, Bridge CS4 no longer keeps my editing steps in the "edit history" metadata.  The only steps recorded are that I've  saved a file.  I have the edit history box marked in preferences in both Bridge and PS, and have tried changing the metadata section in Preferences to session only, concise, and detailed.  None of those choices make a difference.  Any suggestions on how to get my edit history steps back in the metadata of Bridge?  I use the edit history frequently!  Thanks in advance!

    Work through all of the steps (ideas) listed at http://ppro.wikia.com/wiki/Troubleshooting
    If your problem isn't fixed after you follow all of the steps, report back with ALL OF THE DETAILS asked for in the FINALLY section, the questions at the end of the troubleshooting link... most especially the codec used... see Question 1
    Read Harm on drive setup http://forums.adobe.com/thread/662972?tstart=0
    - click the embedded picture in Harm's message to enlarge to reading size

  • Problem with font changes making video unrenderable

    Hi- I hope someone can give me some advice. I have been creating different language versions of a video and until now I merely duplicated the original sequence and then changed the individual titles to create a new language version ( there is no narration - only text). Now for some reason, whenever I try to change the text, it make the corresponding video unrendered. The title appears but the video disappears- and cannot be rendered.
    I have completed about six different versions without problems, but now I can't make further changes on the video.
    Grateful to anyone who can give me some advice.
    Best regards,
    L O Foster

    cannot be rendered...that's odd. But becoming unrendered is standard. When you render the text on top of the video it makes one renderd file out of the two layers, If you change one of the layers, then the rendered file is no longer current and it has to make a newly rendered file with the current settings (in this case the altered text.) It's no different than if you were to change a setting on a filter, even one tiny notch, or change the duration of a transition. If you want to limit the amount of the render, cut the bottom clip at the beginning of the text clip and the end and it will only need to re-render the area overlapped by the text.

  • Problem with merging changes made in Business Catalyst

    I put some text frames in my Muse project and now my client try to make some changes in text using Business Catalyst but we have big problem because it is impossible to merge changes back to the Muse project. The site is in Polish language but I also tried to do it with English. The result is different but also wrong.
    As you can see bellow (screen1)I tried to change words "Adobe Muse" to "adobe muse" and "apps" to "application". Look at Preview on Page result. The newe phrase "adobe muse" is inside the word "videos" instead of following it. So we have: " ....and videoadobe museuse is....". But fortunatelly after clicking "Merge into Muse" everything is OK (screen2).
    But when I use Polish language both results are wrong: Preview on Page and the result after merging (see screen 3 and 4)
    So I can't work together with my client and it's a big problem because I choose Muse and Business Catalyst for this project just to have this possibility.
    Some ides about reasons? I hope these problems are easily solvable.

    Hi TheArtDictator,
    The issue you're running into is similar to http://forums.adobe.com/message/6012076#6012076.
    There isn't a fix yet. What we know is that HTML character entities (like &reg; or &ndash;) can somehow appear in content edited using In-Browser Editing. The Muse sync process doesn't expect/handle them correctly. What we don't know is what causes these entities to be inserted. To help us figure that out, could you find out:
    - Which OS and browser (including versions) were used by the client?
    - Did the client copy/paste content from external sources?
    Thanks,
    Abhishek

Maybe you are looking for

  • Password problem in java command line

    Hi, I am having application that will be executed in Console. I am entering user name and password for login. when I use up and Down arrow keys, I am able to see the "user name and password" in Windows not in Linux. In Linux When I press ctrl-r keys

  • Queue vs Distributed queue

    Hi Guys, Could you please help me resolve some doubts on Regular Queue and Distributed Queues. 1. What is the basic Difference between regular q and distributed q. 2. Can we deploy the regular q on clustered weblogic, If yes, how will this be differe

  • Ovi map for Macedonia

    Where i can download ovi map for Republic of  Macedonia i have Nokia5230 ??? 

  • Archiving Run - 2LIS_03_UM

    Hi All, I activated the datasource 2LIS_03_UM in RSA5 and then in LBWE . I am running the t code OLIZBW to fill the set up tables. I enter the company code , run name and the run date ( future date) . And when I click on execute , the cursor comes to

  • Why is my macbook air not compatible with mountain lion?

    When i want to buy montain lion in the app store i get the message that my machine (Macbook air) is not compatible. Why is that and can i do something to solve that problem?