Cannot send a null Map key for type 'java.util.HashMap'

Hi All,
  I am haing an issue with sending data from Server to the client using the AMF Channel.
  Most of the method invocations on the RemoteObject are throwing the following Exception.
[CODE]
(mx.rpc.events::FaultEvent)#0
  bubbles = false
  cancelable = true
  currentTarget = (null)
  eventPhase = 2
  fault = (mx.rpc::Fault)#1
    content = (null)
    errorID = 0
    faultCode = "Server.Processing"
    faultDetail = (null)
    faultString = "Cannot send a null Map key for type 'java.util.HashMap'."
    message = "faultCode:Server.Processing faultString:'Cannot send a null Map key for type 'java.util.HashMap'.' faultDetail:'null'"
    name = "Error"
    rootCause = (null)
  headers = (null)
  message = (mx.messaging.messages::ErrorMessage)#2
    body = (null)
    clientId = "22E55FB1-910E-312F-E37A-ED5167139CB0"
    correlationId = "4DB54224-662A-C596-D165-F7C3EBB64DB8"
    destination = "TimeMap"
    extendedData = (null)
    faultCode = "Server.Processing"
    faultDetail = (null)
    faultString = "Cannot send a null Map key for type 'java.util.HashMap'."
    headers = (Object)#3
    messageId = "22E56255-D62F-2ACF-4DA5-CF1E4D6353BB"
    rootCause = (null)
    timestamp = 1266877198902
    timeToLive = 0
  messageId = "22E56255-D62F-2ACF-4DA5-CF1E4D6353BB"
  statusCode = 0
  target = (null)
  token = (mx.rpc::AsyncToken)#4
    message = (mx.messaging.messages::RemotingMessage)#5
      body = (Array)#6
      clientId = (null)
      destination = "TimeMap"
      headers = (Object)#7
        DSEndpoint = "my-amf"
        DSId = "22E53936-7E0E-B21C-C936-EF1078000306"
      messageId = "4DB54224-662A-C596-D165-F7C3EBB64DB8"
      operation = "getMapKey"
      source = (null)
      timestamp = 0
      timeToLive = 0
    responders = (Array)#8
      [0] (com.universalmind.cairngorm.events::Callbacks)#9
        conflictHandler = (null)
        faultHandler = (function)
        priority = 0
        resultHandler = (function)
    result = (null)
  type = "fault"
[CODE]
The Spring bean which is exposed as a Remote Object has the following method signature..
[CODE]
public String getMapKey() {
        return mapKey;
[/CODE]
I am unable to understand why AMF Channel or Blaze DS is treating the String as HashMap !!!
This was working pefectly fine till yesterday !!
The version of the BlazeDS i am using is : blazeds_turnkey_3-0-0-544
and the Flex SDK Version is : flex_sdk_3.5.0.12683
We recently upgraded to Flex 3.5.0 version earlier we were using 3.3 version
Thanks
mars

Hi All,
I chcked my server side java beans ( which are managed by Spring) and they are all returning the data property and none of the Keys in the returned hashmaps are null.
Not sure why this is happening.
Thanks
kumars

Similar Messages

  • Error: cannot find bundle file or key for resource type

    Hello,
    Please help in finding out the cause & resolving the below errors.
    Logs from the default trace:
    Error Log Message:  cannot find bundle file or key for resource type http://sap.com/xmlns/ciphotocomp, use fallback
    Error Location: com.sapportals.wcm.service.resourceTypeRegistry.ResourceType.getDescription( Locale )
    Thanks & Regards
    Maha,

    << Do not post the same question across a number of forums >>

  • TS3899 I can recieve emails but cannot send emails through my iPad for my Comcast email account. I believe I have all setting aligned properly. Anyone else have this problem?

    I can recieve emails but cannot send emails through my iPad for my Comcast email account. I believe I have all setting aligned properly. Anyone else have this problem?

    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
    iPad Mail
    http://www.apple.com/support/ipad/mail/
     Cheers, Tom

  • HT204053 I am in the US NOW with a Can ID . I am receiving mail but cannot send, would iCloud mail work for me?

    I am in the US NOW with a Canadian email provider . I can receive all my email, but cannot send . Would ICloud mail for sending solve my problem?

    Yes, it should work. If it does not work at the moment, try to sign out of iCloud and then try to sign in again, this solves the problem in most cases.

  • Cannot Send EDI Copy of PO for Fax Vendors

    Hi,
    Please i need more help related to this issue.
    Cannot Send EDI Copy of PO for Fax Vendors. Its SAP ECC to Hubspan purchase order Mappings.
    Please suggest me what shall i do for it?
    Thanks in advance.
    Edited by: XI/PI Moderator on Mar 1, 2011 10:35 AM

    The issue is when purchase order made or something a copy of PO need to send as EDI copy by fax to vendors.
    and the change required from PI side is
       PI Changes
    a.       Remove the split on PI side to only send 1 message per Idoc to the corresponding vendor
                                                                  i.      Make the change to pull the recipient from the Idoc control record partner
    how we can send a copy of a PO from a FAX Vendor to a 3rd Party vendor via Hubspan.
    Edited by: XI/PI Moderator on Mar 1, 2011 12:20 PM

  • Can't find resource for bundle java.util.PropertyResourceBundle, key Summar

    While invoking a specific reprot file using JRC API, i am getting the below exception. Can you anybody tell me what jar file or properties files are requried to be placed in the lib folder? I can send the total stack trace if requried.
    - Failed to load the resource 'SummaryOnNonRecurringField' from the bundle java.util.PropertyResourceBundle@5e9d7a.
    java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key SummaryOnNonRecurringField
         at java.util.ResourceBundle.getObject(ResourceBundle.java:314)
         at java.util.ResourceBundle.getObject(ResourceBundle.java:311)
         at java.util.ResourceBundle.getString(ResourceBundle.java:274)
         at com.crystaldecisions.reports.common.CrystalResources.loadString(Unknown Source)
         at com.crystaldecisions.reports.common.CrystalResources.loadMessage(Unknown Source)
         at com.crystaldecisions.reports.common.CrystalException.a(Unknown Source)
         at com.crystaldecisions.reports.common.CrystalException.getLocalizedMessage(Unknown Source)
         at com.crystaldecisions.reports.common.CrystalException.getMessage(Unknown Source)
         at java.lang.Throwable.getLocalizedMessage(Throwable.java:266)

    Hello Srinivasa,
    -Have you used any database connectivity for your report (like JDBC or ODBC)? Does your report work fine from designer ?
    -The reason you are getting this error might be that the u201Cojdbc14.jaru201D or the JDBC driver type jar file you are using might not be present in the u201CCRConfig.xmlu201D class path location.
    -For resolving this error message, please add the u201Cojdbc14.jaru201D to the CRConfig.xml file class path present in the folder u201CC:\Program Files\Common Files\Business Objects\3.0\javau201D for CR XI.
    -Also, please make sure whether you have copied the JDBC driver to the WEB-INF\lib folder.
    -Apart from this.please make sure that you have copied all the JAR files from business objects lib folder inside lib folder of your application.
    Thanks,
    Chinmay

  • File upload in KM throws a system exception: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key xtlt_Required

    Hi All,
    We are on Netweaver 7.01 SP14. (well I understand we are way behind patch levels, but a simple file upload should be working ?/)
    We are trying to upload (HTML &/ Image) a file in one of the KM's public folder.
    As and when we select folder and click on upload we get the below message:
    Below is the error trace details:
    Full Message Text
    com.sapportals.wdf.WdfException
    at com.sapportals.wcm.control.edit.ResourceUploadControl.render(ResourceUploadControl.java:688)
    at com.sapportals.wdf.layout.HorizontalLayout.renderControls(HorizontalLayout.java:42)
    at com.sapportals.wdf.stack.Pane.render(Pane.java:155)
    at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)
    at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)
    at com.sapportals.wdf.stack.Pane.render(Pane.java:158)
    at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)
    at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)
    at com.sapportals.wdf.stack.Pane.render(Pane.java:158)
    at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)
    at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)
    at com.sapportals.wdf.stack.Pane.render(Pane.java:158)
    at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)
    at com.sapportals.wdf.WdfCompositeController.internalRender(WdfCompositeController.java:709)
    at com.sapportals.wdf.WdfCompositeController.buildComposition(WdfCompositeController.java:674)
    at com.sapportals.htmlb.AbstractCompositeComponent.preRender(AbstractCompositeComponent.java:33)
    at com.sapportals.htmlb.Container.preRender(Container.java:120)
    at com.sapportals.htmlb.Container.preRender(Container.java:120)
    at com.sapportals.htmlb.Container.preRender(Container.java:120)
    at com.sapportals.portal.htmlb.PrtContext.render(PrtContext.java:408)
    at com.sapportals.htmlb.page.DynPage.doOutput(DynPage.java:238)
    at com.sapportals.wcm.portal.component.base.KMControllerDynPage.doOutput(KMControllerDynPage.java:134)
    at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:133)
    at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
    at com.sapportals.wcm.portal.component.base.ControllerComponent.doContent(ControllerComponent.java:88)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:249)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:557)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:430)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1064)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    --- Nested WDF Exception -----------------------
    java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key xtlt_Required
    at java.util.ResourceBundle.getObject(ResourceBundle.java:327)
    at java.util.ResourceBundle.getObject(ResourceBundle.java:324)
    at java.util.ResourceBundle.getString(ResourceBundle.java:287)
    at com.sapportals.wcm.util.resource.ResourceBundles.getString(ResourceBundles.java:55)
    at com.sapportals.wcm.control.base.WcmBaseControl.getBaseBundleString(WcmBaseControl.java:150)
    at com.sapportals.wcm.control.base.WcmBaseControl.getBaseBundleString(WcmBaseControl.java:176)
    at com.sapportals.wcm.control.edit.ResourceUploadControl.renderUploadFileContent(ResourceUploadControl.java:773)
    at com.sapportals.wcm.control.edit.ResourceUploadControl.render(ResourceUploadControl.java:655)
    at com.sapportals.wdf.layout.HorizontalLayout.renderControls(HorizontalLayout.java:42)
    at com.sapportals.wdf.stack.Pane.render(Pane.java:155)
    at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)
    at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)
    at com.sapportals.wdf.stack.Pane.render(Pane.java:158)
    at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)
    at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)
    at com.sapportals.wdf.stack.Pane.render(Pane.java:158)
    at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)
    at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)
    at com.sapportals.wdf.stack.Pane.render(Pane.java:158)
    at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)
    at com.sapportals.wdf.WdfCompositeController.internalRender(WdfCompositeController.java:709)
    at com.sapportals.wdf.WdfCompositeController.buildComposition(WdfCompositeController.java:674)
    at com.sapportals.htmlb.AbstractCompositeComponent.preRender(AbstractCompositeComponent.java:33)
    at com.sapportals.htmlb.Container.preRender(Container.java:120)
    at com.sapportals.htmlb.Container.preRender(Container.java:120)
    at com.sapportals.htmlb.Container.preRender(Container.java:120)
    at com.sapportals.portal.htmlb.PrtContext.render(PrtContext.java:408)
    at com.sapportals.htmlb.page.DynPage.doOutput(DynPage.java:238)
    at com.sapportals.wcm.portal.component.base.KMControllerDynPage.doOutput(KMControllerDynPage.java:134)
    at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:133)
    at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
    at com.sapportals.wcm.portal.component.base.ControllerComponent.doContent(ControllerComponent.java:88)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:249)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:557)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:430)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1064)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176) 

    Hi Vijay,
    Thanks for the quick reply.
    I have gone through the notes 1535201  & now on 1606563  after your advise.
    Both the notes says the fix is available on 7.01 after SP 07 and we are on SP 14 already.
    Also just in case I did checked with our basis and they confirmed we are a head and we have the above notes in our release already.
    Unfortunately the notes are not the solution to the investigation till date.
    Thanks,
    Sai

  • Java.util.HashMap cannot be cast to org.apache.struts.action.ActionForm

    Hi!
    anybody could help me?
    i am getting java.util.HashMap cannot be cast to org.apache.struts.action.ActionForm error when I run my jsp...
    heres my code :
    CommentAction.java
    package com.provintl.rmis.actions;
    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    import java.util.Date;
    import java.util.HashMap;
    import java.util.Map;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession;
    import javax.sql.DataSource;
    import org.apache.struts.action.Action;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    import com.provintl.rmis.forms.CommentForm;
    public class CommentAction extends Action {
         Statement stmt = null;
         Connection con = null;
         javax.sql.DataSource dataSource;
         PreparedStatement ps = null;
         ResultSet rs=null;
         byte updFlg = 0;
         Map commentlist = new HashMap();
         /* (non-Javadoc)
         * @see org.apache.struts.action.Action#execute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         @Override
         public ActionForward execute(ActionMapping mapping, ActionForm form,
                   HttpServletRequest request, HttpServletResponse response)
         throws Exception {
              CommentForm commentForm = new CommentForm();
              Date date = commentForm.getDaterecord();
              String comment = commentForm.getComment();
              //TODO : temporary 1 == rose
              int userID =1;
              int appID =1;
              String SelectQry = "SELECT "+
                                       "APPLICANT_TBL.CHFNAME, "+
                                       "APPLICANT_TBL.CHLNAME, "+
                                       "APPLICANT_TBL.INTAPPID, "+
                                       "USERHST_TBL.CHCOMMENT, "+
                                       "USERHST_TBL.DTDATECREATED, "+
                                       " USERHST_TBL.INTHSTID "+
                                       "FROM "+
                                       "APPLICANT_TBL "+
                                       "INNER JOIN USERHST_TBL ON (APPLICANT_TBL.INTAPPID = USERHST_TBL.INTAPPID) " +
                                       "WHERE APPLICANT_TBL.CHFNAME ='"+request.getParameter("first")+"' " +
                                                 "AND APPLICANT_TBL.CHLNAME ='"+request.getParameter("last")+"'";
              try {
                   dataSource = (DataSource)getDataSource(request, "RMIS");
                   con = dataSource.getConnection();
                   con.setAutoCommit(false);
                   stmt = con.createStatement();
                   System.out.println("database connected");
                   rs = stmt.executeQuery(SelectQry);
                   System.out.println("database connected");
                   int ctr = 1;
                   while(rs.next()){
                        commentlist.put(ctr,new CommentForm(rs.getString("CHFNAME"),rs.getDate("DTDATECREATED")));
                        ctr++;
                   if(updFlg !=0){
                        String insQry = "INSERT INTO RECRUIT.USERHST_TBL (CHCOMMENT, INTUSERID, INTAPPID)" +
                        "VALUES ('"+comment+"',"+userID+","+appID+")";
                        stmt.executeUpdate(insQry);
                        con.commit();
                        updFlg = 0;
                   HttpSession session = request.getSession();
                   session.setAttribute("commentlist", commentlist);
                   //con.setAutoCommit(true);
              } catch (SQLException se) {
                   System.out.println("We got an exception while preparing a statement:" +
                   "Probably bad SQL.");
                   System.out.println(SelectQry);
                   se.printStackTrace();
                   //System.exit(1);
              finally {
                   try {
                        rs.close();
                        stmt.close();
                        con.close();
                   } catch (SQLException e) {
                        e.printStackTrace();
              return mapping.findForward("comment");
    commentform.jsp
    =============
    <%@ taglib uri="http://jakarta.apache.org/struts/tags-html"     prefix="html"%>
    <%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
    <%@ taglib uri="http://java.sun.com/jstl/sql_rt" prefix="sql"%>
    <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <script>
    function putLabel(lbl, formName){
    if (opener && !opener.closed){
    opener.document.addapp.jobposition.value=lbl;
    window.close();
    </script>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>List of open positions</title>
    </head>
    <body>
    <h2>Job Positions Available</h2>
    <%
    int ctr = 1; %>
    <logic:iterate id="myString" name="commentlist" scope="session">
    <table width="100%" border="0">
    <%
    String bakcolor;
    if((ctr % 2) == 0){
         bakcolor = "WHITE";
         ctr++;
    else{
         bakcolor = "SILVER";
         ctr++;
    %>
    <tr><td bgcolor="<%= bakcolor %>">
    <bean:write name="myString" property="value" />
    </td></tr>
    ${commentlist}
    </table>
    </logic:iterate>
    </body>
    </html>
    thank you in advance!

    Shilnag wrote:
    Hello guys,
    I am new to java... I am trying to develop a web application using
    1.Struts1.2
    2.tomcat 5.5
    3.eclipse 3.2.2Big mistake. Nobody new to Java should jump straight into webapps, let alone using a framework like Struts. Debatably, even Eclipse should be left alone.
    It's precisely because of this that you're having problems. Presumably you're following a tutorial or something, but - as demonstrated - as soon as it goes wrong, you're stuck. Learn some core Java first, trust me

  • Java 7 update 51 cause the following error: java.util.HashMap cannot be cast to java.awt.RenderingHints

    Since I installed Java 7 update 51 accessing the EMC VNX Unisphere Console cause the following error: java.util.HashMap cannot be cast to java.awt.RenderingHints.
    I rolled back to Apple Java 1.6 -005 now I am getting the following error: plug-in failure.
    I think this is cused by the fact that the EMC console application has been written for java 7 and not java 6. Has anybody faced and solved the "java.util.HashMap cannot be cast to java.awt.RenderingHints." error ?

    Hi Yaakov,
    The error is thrown from the  eclipselink.jar:2.5.1 which is a JPA provider .
    Is the above jar bundled in the Oracle Product you are working upon or was this downloaded from external site ?
    If the jar is bundled with the Oracle Product, go ahead a log a SR with Oracle Support with Toplink product group to drill down on the issue, as the issue is happening internally or thrown by the Eclipselink implementation and we've no control....
    Hope it helps!!
    Thanks,
    Vijaya

  • Java.util.Map and  java.util.HashMap samples

    Hi.
    Please, I need some code samples of java.util.Map and java.util.HashMap interfaces. I have problems to retreive objects in the map.
    Cheers,
    Cata

    Try the tutorial:
    http://java.sun.com/docs/books/tutorial/collections/index.html

  • How to pass attribute of type java.util.ArrayList Property to a Tag

    How do I pass an attribute of type, java.util.ArrayList<my.entity.Property> to a Tag implementation class?
    Please advise!
    Thanks,
    Joe
    package my.tags;
    import java.io.IOException;
    import java.util.ArrayList;
    import javax.servlet.jsp.tagext.SimpleTagSupport;
    import javax.servlet.jsp.JspException;
    import my.entity.Property;
    public class PropertiesTag extends SimpleTagSupport {
        private ArrayList<Property> properties;
        public void setProperties(ArrayList<Property> properties) {
              this.properties = properties;
         public void doTag() throws JspException, IOException {
    <?xml version="1.0" encoding="utf-8" ?>
    <taglib ...>
         <tag>
              <name>propertiesTag</name>
              <tag-class>my.tags.PropertiesTag</tag-class>
              <body-content>empty</body-content>
              <description>Displays the product selection left menu</description>
              <attribute>
                   <name>properties</name>
                   <required>true</required>
                   <rtexprvalue>true</rtexprvalue>
                   <type>java.util.ArrayList<my.entity.Property></type>
              </attribute>
         </tag>
    </taglib>Here's the error message:
    org.xml.sax.SAXParseException: The element type "my.entity.Property" must be terminated by the matching end-tag "</my.entity.Property>".

    802826 wrote:
    How do I pass an attribute of type, java.util.ArrayList<my.entity.Property> to a Tag implementation class?
    Please advise!
    As already pointed out, there is no way to specify a generic type in a tag library descriptor. You may however specify an Object type in your tld and still have the variable in your tag as a parameterized generic type.
    In your tld change the type to Object.
    <type>java.lang.Object</type>.
    The properties tag itself needs no change and can continue to use parameterized types.
    cheers,
    ram.

  • N73 - Cannot send text messages/Multimedia key not...

    Sent my N73 into the shop to be fixed, and it came back with 2 problems. I cannot send text messages at all. I have heard that this can be solved with the sms accelerator, but I can find NO download link for the N73. I found another one and installed it onto my phone (version 1.0(0)) but the problem persists. ANy ideas or links to where the sms accelerator is for the N73?
    The 2nd problem is the multimedia key is no longer programmable. I press the multimedia key, then select the down arrow (configure) I scroll down to any of the options right, left, top, center, bottom. When I press the center joystick I just am taken back to the multimedia screen. I am not given any choices to reprogram the keys....any ideas there???
    Thanks for the help!
    -Sam
    Solved!
    Go to Solution.

    Often it's just a case of resetting the phone after it comes back from repairs if they've upgraded or simply reflashed the firmware for you.
    Note that these operations will wipe your phone's internal memory so do a backup before proceeding.
    First option: revert to factory defaults. Dial *#7780#.
    Second option: soft reset. Dial *#7370#.
    Third option: hard reset. Switch the phone off and do the following.
    1) Press and hold the green "call", "3" and "*" buttons.
    2) With those buttons pressed down, switch the phone on.
    3) Keep pressing those 3 buttons and only release them once the phone shows signs of life such as the Nokia "hands" logo or the language selection screen.
    Was this post helpful? If so, please click on the white "Kudos!" star below. Thank you!

  • Cannot send large pictures mms/iMessage for 1 week now

    For over a week now I had problems sending pictures, I had my iPhone for about 3 months (iPhone 4s) and it worked fine before. After doing some testing of my own I came to the conclusion that large pictures, for example taken with the iPhone camera, will not go through when I send MMS or iMessage, small pictures that works fine. I get a red ! and the issue remains when i try resend. However even when small pictures go through it takes a very long time for it to send.
    (The same issue occurs when trying to upload photos on Facebook or Instagram, camrea photos will not upload).
    I tried the following:
    Send with wifif - work fine then
    Restart phone, holding both buttons
    Ensure i have the latest updates
    Phone memory is half full
    Restart and reinstall apps - isse remains
    Checked ALL setting - they are correct
    MMS is on
    Data Roaming is on
    Turned on and of Facetime
    Log out and in on iMessage
    Reset MMS settings
    Total reset of my iPhone
    Called my carrier, they said there are no issues from their side
    At this point I am desperate, I have Googled, searched in several communities and tried everything I found. My conclusion is that my iPhone stoped compress pictures? If so how do I change it back?!
    Please help! Thanks

    https://support.mozilla.org/en-US/kb/cannot-send-messages

  • Java.util.Hashmap doesn't work for a custom object

    Hi,
    i have created a class named ID. I am trying to test it on a Hashmap, but the the "containsKey" and "get" operations do not work. Every operation of the main method returns as if the ID objects have not been inserted. Ideas?
    package swarm.sys.id;
    import java.util.*;
    import java.io.*;
    import swarm.sys.common.*;
    import swarm.sys.interfaces.*;
    public class ID implements IDInterface, Cloneable, Serializable
        String type;
        int body;
        String id;
        private static int idCounter=0;
        public ID(String type, int body)
          this.type=type;
          this.body=body;
          id=type+Ids.padWithZeroes(body);
        public String getType()
          return type;
        }//getType
        public String getBody()
          return Ids.padWithZeroes(body);
        }//getBody
        public int getIntBody()
          return body;
        }//getIntBody
        public boolean equals(Object o)
          if (!(o instanceof ID))
            return false;
          else
              ID id=(ID)o;   
              return (this.getType().equals(id.getType()) && 
                      this.getIntBody()==id.getIntBody());        
        }//equals
        /* factory method, which produces new IDs and afterwards
         * increments the body part
        public static ID newID(String type)
            return new ID(type,idCounter++);
        }//newID
        //implements deep cloning
        public Object clone()
            return new ID(new String(this.type),this.body);
        }//clone
        public String toString()
          return id.trim();
        }//toString
        public static void main(String[] args)
            Hashtable<IDInterface,String> table=new Hashtable<IDInterface,String>();
            table.put(new ID("PEER_",1),"x1");
            table.put(new ID("PEER_",2),"x1");
            table.put(new ID("PEER_",3),"x2");
            table.put(new ID("PEER_",4),"x3");
            table.put(new ID("PEER_",5),"x3");
            ID id1=new ID("PEER_",1);
            ID id14=new ID("PEER_",14);       
            System.out.println("table.containsKey(new ID(PEER_,1)): "+table.containsKey(id1)); //should be true
            System.out.println("table.containsKey(new ID(PEER_,14)): "+table.containsKey(id14)); //should be false
            System.out.println("table.get(new ID(PEER_,1))"+table.get(id1)); //should be x1
    }

    You need to override the hashCode() method.
    http://www.javapractices.com/Topic28.cjp

  • I cannot send mail. Been so for 2 days. Get the message: An error occurred while sending mail. The mail server responded: Access denied

    When I send message the reply is "Access Denied" and a bunch of gobbly-gook ending with please re-check message. What would I check for? The G-G is of absolutely no value to the human species.
    An error occurred while sending mail. The mail server responded: Access denied...3c61d9886161c1c1b119b169f84d0c00bd1d41014c8da58d391805d17cbcdccd89e9557dcc85058535d178217d0831cc6d65.... Please check the message and try again.
    So what now. Mozilla must be the offspring of Microsoft in that help NEVER HELPS, EVER.

    Hello,
    Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies do the following:
    #Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
    '''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that turns off some settings and disables most add-ons (extensions and themes).
    ''(If you're using an added theme, switch to the Default theme.)''
    If Firefox is open, you can restart in Firefox Safe Mode from the Help menu by clicking on the '''Restart with Add-ons Disabled...''' menu item:<br>
    If Firefox is not running, you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.
    Thank you.

Maybe you are looking for

  • Removing "Standard" options from the WebUI search filter

    Hi Experts, I have configured the YMCR and Y**** transaction types for RFC, Urgent, Normal and other Changes. I have removed the SMCR transaction type for standard from dno_cust/04 and I do not see the standard transaction type anywhere now except fo

  • Safari not reloading properly

    I did a brief search and no luck. Whenever I browse on Safari and I click away then go back a few pages, it doesn't load the current page, but seems to load a "saved" version from somewhere. How do I make sure it'll refresh and show me the most up-to

  • What's in ZenIdentity.jar?

    can anyone tell me what's inside ZenIdentity.jar ? I would like to make a script that does the same "job" I've noticed it's modifying "Public Key" attribute in Workstation object, but this attribute is "read only"(in console one)... thanks a lot for

  • My mac won't start up no matter what

    So basically, I tried to download the new leopard on my mac and then since it took so long I tried to quit it. Then I restarted my mac a lot and like, it just screwed up and won't log in or anything after I restarted. The cd won't eject. It just stay

  • Firewire 400 faster than stock 4200RPM HD?

    Simple question: can an external hard drive perform better connected over Firewire than my stock iBook HD? Also, is it true that a 7200RPM HD installed into my iBook will void the warranty? Is there an official Apple link to substantiate that? Many T