Error:widget: CFGRID: Response is empty

I've an error on the Coldfusion Ajax logger : "error:widget:
CFGRID: Response is empty". The headings of the cfgrid appear but
the contents not.
Here the Coldfusion Ajax logger answer :
- info:widget: Data loaded for grid, id: refTableau
- error:widget: CFGRID: Response is empty
- info:http: CFC invocation response:
- info:widget: Creating window: cf_window1191833821003
- info:widget: Created grid, id: refTableau
- info:http: HTTP GET
/bulte/admin/produits/gridDataManager.cfc?method=getData&returnFormat=json&argumentCollec tion=%7B%22page%22%3A1%2C%22pageSize%22%3A5%2C%22gridsortcolumn%22%3A%22%22%2C%22gridsortd irection%22%3A%22%22%2C%22idTableau%22%3A%22772%22%7D&_cf_nodebug=true&_cf_nocache=true&_c f_clientid=59BF758DB52E56355D649B34E232903B&_cf_rc=0
- info:http: Invoking CFC:
/bulte/admin/produits/gridDataManager.cfc , function: getData ,
arguments:
{"page":1,"pageSize":5,"gridsortcolumn":"","gridsortdirection":"","idTableau":"772"}
- info:LogReader: LogReader initialized
- info:global: Logger initialized
Here my cfm page code:
<cfparam name="URL.id" default="">
<cfquery name="qRec" datasource="#APPLICATION.db#">
SELECT *
FROM Produits
WHERE id=<cfqueryparam cfsqltype="cf_sql_integer"
value="#URL.id#">
</cfquery>
<cfset FORM.refTableau=qRec.refTableau>
<cfset MyXmlCode=FORM.refTableau>
<cfset mydoc = XmlParse(MyXmlCode)>
<cfset nbcolumns =
ArrayLen(mydoc.table.tr.XmlChildren)>
<cfset numLines = ArrayLen(mydoc.table.XmlChildren)>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<title>fdgdfgdfgdfg</title>
<link rel="stylesheet" href="../admin.css" />
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />
</head>
<cfwindow width="900" height="600" center="true"
resizable="false" draggable="true" initshow="true"
closable="false">
<cfform name="editForm" action="ifr_refTableau.cfm"
method="post" format="html">
<cfgrid format="html"
name="refTableau"
pagesize="5"
sort="yes"
selectmode="edit"
delete="yes"
bind="cfc:gridDataManager.getData({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgri dsortdirection},'#URL.id#')"
onchange="cfc:gridDataManager.editData({cfgridaction},
{cfgridrow}, {cfgridchanged})">
<cfloop from="1" to="#nbcolumns#" index="k">
<cfgridcolumn name="Col_#k#" header="#k#" display="yes"
/>
</cfloop>
</cfgrid>
</cfform>
</cfwindow>
</body>
</html>
My cfc code :
<cfcomponent>
<cfset THIS.dsn="clients">
<cffunction name="getData" access="remote"
output="false">
<cfargument name="page" required="yes">
<cfargument name="pageSize" required="yes">
<cfargument name="gridsortcolumn" required="no">
<cfargument name="gridsortdirection" required="no">
<cfargument name="idTableau" required="yes">
<cfquery name="qRec" datasource="#THIS.dsn#">
SELECT refTableau
FROM Produits
WHERE id=<cfqueryparam cfsqltype="cf_sql_integer"
value="#ARGUMENT.idTableau#">
</cfquery>
<!--- Convert file to XML document object --->
<cfset MyXmlCode=qRec.refTableau>
<cfset mydoc = XmlParse(MyXmlCode)>
<cfset numItems =
ArrayLen(mydoc.table.tr.XmlChildren)>
<cfset numLines = ArrayLen(mydoc.table.XmlChildren)>
<!--- Process the order into a query object --->
<cfset listHeader="">
<cfloop from="1" to="#numItems#" index="i">
<cfset listHeader=ListAppend(listHeader, "Col_#i#")>
</cfloop>
<cfset queryDatas = QueryNew(listHeader)>
<cfset temp = QueryAddRow(queryDatas, numLines)>
<cfloop index="i" from="1" to ="#numLines#">
<cfloop from="1" to="#numItems#" index="j">
<cfset temp = QuerySetCell(queryDatas,
ListGetAt(listHeader, j), mydoc.table.tr
.td[j].XmlText, i)>
</cfloop>
</cfloop>
<cfquery name="qReturn" dbtype="query">
SELECT *
FROM queryDatas
<cfif ARGUMENTS.gridsortcolumn neq "" or
ARGUMENTS.gridsortdirection neq "">
ORDER BY #ARGUMENTS.gridsortcolumn#
#ARGUMENTS.gridsortdirection#
</cfif>
</cfquery>
<cfreturn QueryConvertForGrid(qReturn, ARGUMENTS.page,
ARGUMENTS.pageSize)>
</cffunction>
<cffunction name="editData" access="remote"
output="false">
<cfargument name="gridaction">
<cfargument name="gridrow">
<cfargument name="gridchanged">
</cffunction>
</cfcomponent>
<body>
I don't understand why the return is empty.

I have the same problem. When the function is removed, the
query return many line of data, but when the queryconverforgrid is
added, the grid has the same number of line but all fields are
empty. Can someone please help???

Similar Messages

  • Error in PO Response

    Hello Experts.
    I am using Extended Classic Scenario, When I do the accept the(EBP) PO response, the follow on document show that 'Error in PO response' with a PO response number, any body can help me why this happens? If you need any further information please get back to me.
    Thanks and regards
    Kasee Palaniappan

    Customizing Problem.

  • Getting Error in java mapping: Parsing empty source. Root element expected!

    Hi Experts,
       I am using java mapping for schema validation of input message. I have followed all the standard procedures and implemented the java class in the interface mapping.
    My interface mapping is like this:
    OrderData --->Java Class ---SchemaValidate
                         Mesg Map ---OrderData_to_BAP --->BAPI Msg
    So first I want to validate the schema of the input message. If the input message is invalid then XI should throw an exception. Then I use the actual message mapping to map the input order data to the BAPI input parameters.
    In the java code I am using xerces parser.
    The java code works fine when I run it as a standalone application.
    The interface mapping also works fine if I don't include the java mapping. Ofcourse schema validation does not happen.
    But when I test the interface mapping by including the java mapping then I am getting the error:
    Call method execute of the application Java mapping SchemaValidate
    Java mapping SchemaValidate completed. (execute() of SchemaValidate
    com.sap.aii.utilxi.misc.api.BaseRuntimeException: Parsing an empty source. Root element expected!
    What am I doing wrong? Why it is not getting the root element?
    My Java code is as follows:
    import com.sap.aii.mapping.api.StreamTransformation;
    import com.sap.aii.mapping.api.StreamTransformationConstants;
    import com.sap.aii.mapping.api.StreamTransformationException;
    import java.io.*;
    import java.util.Map;
    import javax.xml.parsers.*;
    import org.xml.sax.helpers.*;
    import org.xml.sax.*;
    import org.apache.xerces.jaxp.*;
    Sample mapper for SAP-XI
    @author Gopal
    public class SchemaValidate implements StreamTransformation {
        //Constants when using XML Schema for SAX parsing.
         static final String JAXP_SCHEMA_LANGUAGE =
         "http://java.sun.com/xml/jaxp/properties/schemaLanguage";
         static final String W3C_XML_SCHEMA =
         "http://www.w3.org/2001/XMLSchema";
         static final String JAXP_SCHEMA_SOURCE =
         "http://java.sun.com/xml/jaxp/properties/schemaSource";
    Injection of mapping parameters
    from integration engine
    @param map Map with configuration data
        public void setParameter(Map map) {
    Mapping implementation
    @param inputStream Input data from integration engine
    @param outputStream Output data to integration engine
        public void execute(InputStream inputStream,
                            OutputStream outputStream)
          throws StreamTransformationException {
            try {
                  // obtain an object of class javax.xml.parsers.SAXParser,
                  SAXParserFactory spf = SAXParserFactoryImpl.newInstance();
                  spf.setNamespaceAware(true);
                  spf.setValidating(true);
                  SAXParser sp = spf.newSAXParser();
                  // setup the schema file
                  sp.setProperty(JAXP_SCHEMA_LANGUAGE, W3C_XML_SCHEMA);
                  sp.setProperty(JAXP_SCHEMA_SOURCE, new File("IOReqMsgSchema.xsd"));
                  //parse the input xml using the given schema
                  sp.parse(inputStream, new ParseErrorHandler());
            catch(SAXException se) {
              se.printStackTrace();
            catch ( Exception e ) {
              throw new StreamTransformationException( e.getMessage() );
    My input message is :
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:OrderCreate_request xmlns:ns0="mynamespace">
       <ORDER>HTEST1234567</ORDER>
       <ORDER_TYPE>z001</ORDER_TYPE>
       <ORDER_NAME>Test Order</ORDER_NAME>
       <CO_AREA>INTC</CO_AREA>
       <CCTR_POSTED>1234567890888888888</CCTR_POSTED>
       <CURRENCY>USD</CURRENCY>
       <PERSON_RESP>12345679</PERSON_RESP>
    </ns0:OrderCreate_request>
    Kindly help! please this is urgent!!!!!!
    Thanks
    Gopal
    Edited by: gopalkrishna baliga on Feb 28, 2008 9:34 AM

    Hi Stefan,
       I did the code changes to return output stream and the java code works perfectly in standalone mode in my PC.
       But when I use the same in the Java mapping with XI then It throws an error "Getting Error in java mapping: Parsing empty source. Root element expected!".
    My XI J2EE server has JDK1.4.3.11.
    Is there any limitation of using SAX parser in XI? If Yes, then which parser should be used for schema validation in XI?
    I have included the XSD file for schema validation along with class files in the .jar file. This jar file is then imported in XI repository. Is the XI engine not able to read the XSD file?
    Do I have to handle reading XSD file differently? Any suggession how?
    Is this parser error due to some security access?
    Kindly help me! I have been struggling with this problem since 2 weeks. I will be greatfull to you if you can help me.
    Thanks
    Gopal

  • Constant script errors and non-responsive

    I receive constant script errors and non-responsive errors using Firefox, as do many of my friends. I am using Facebook and Mafia Wars by Zynga
    Here is an example of one:
    A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.
    Script: http://www.facebook.com/profile.php?id=508888121:7
    I have tried the instructions on this page
    http://support.mozilla.com/en-US/kb/Warning+Unresponsive+script?s=script+errors&as=s
    however, I get an error message when I try to access Config and enter:
    Navigation to the webpage was cancelled
    Please help fix this or I'm going to have to use a different browser and I like Firefox better than the other options.
    Thank you.

    Thank you Jeff for your response. However, that question is 1 year old and I no longer have that problem. I hope that your answer will help others.

  • Error with universalis responsive template. Prices appear with 163; code before them instead of £ sign. Does anyone know how to fix this problem?

    Error with universalis responsive template. Prices appear with 163; code before them instead of £ sign. Does anyone know how to fix this problem?

    Error with universalis responsive template. Prices appear with 163; code before them instead of £ sign. Does anyone know how to fix this problem?

  • Error code: HTTP_RESP_STATUS_CODE_NOT_OK error text: HTTP response contain

    Hi Gurus
    I got this error in Alert monitoring please any one can guide me how can i resove this...
    Error code: HTTP_RESP_STATUS_CODE_NOT_OK error text: HTTP response contains  status code 500 with the descri
    Thanks

    Hi Mohana,
    the major reason would be an internal access with pwd aunthentication
    Error: 500 Internal Server Errors
    Description: The server encountered an unexpected condition which prevented it from fulfilling the request.
    Possible Tips: Have a look into SAP Notes u2013 804124, 807000
    Thanx
    Sampath

  • Error  :  Purchase Order  Response for Service items Different

    Hi ,
    We are getting Error  :  Purchase Order  Response for Service items Different  , when creating the PO in SRM 5.0.  what must be the reason ?
    Thanks & Regards,

    Problem solved

  • Error in server response

    I have an Ultra 60 running Solaris 8 and I'm trying to execute the pkg-add -U command (I really want to install a new gcc compiler but I'm getting the same message). The results are:
    Connecting to an_address.edu[000.0.00.000]:21... connected.
    Logging in as anonymous ... Logged in!
    ==> SYST ... done. ==> PWD ... done.
    ==> TYPE I ... done. ==> CWD /pub/packages/solaris/freeware/sparc/5.8 ... done.
    ==> PASV ...
    Error in server response, closing control connection.
    Retrying.
    This goes on for some time (20 times I believe is the the default) and just quits. What do I need to do to get pass this error?

    I have an Ultra 60 running Solaris 8 and I'm trying to execute the pkg-add -U command (I really want to install a new gcc compiler but I'm getting the same message). The results are:
    Connecting to an_address.edu[000.0.00.000]:21... connected.
    Logging in as anonymous ... Logged in!
    ==> SYST ... done. ==> PWD ... done.
    ==> TYPE I ... done. ==> CWD /pub/packages/solaris/freeware/sparc/5.8 ... done.
    ==> PASV ...
    Error in server response, closing control connection.
    Retrying.
    This goes on for some time (20 times I believe is the the default) and just quits. What do I need to do to get pass this error?

  • Error Parsing Server Response??

    Does anyone know what "error parsing server response, please re-sync" means?
    I have had the worst trouble with using my email on the phone. It works half the time. I finally got it set up to send using my mobile carrier as the outgoing, but now it fails on syncing email.
    Thanks!
    Post relates to: Centro (Sprint)

    ANY LUCK??  I've been havign the same problem for about 8 days or so after the phone and email worked perfectly for several weeks.  When in Account Setup the Communciation Check comes back successful but when I try to Get email it fails and I get the following error message, "Error Parsing Server Response.  Please re-sync."
    Any help or suggestions are appreciated.
    Post relates to: Centro (Verizon)

  • Error: CIM_ERR_FAILED: HTTP response code: 404 Not found

    Hi, we had finished to install Sap Netweaver Usage type PI (Abap +Java), now we are running Post Installation task, but we are getting an error when we ran "Configuration Wizard"
    In the step: Configure the integration server for sld
    Error: CIM_ERR_FAILED: HTTP response code: 404 Not found
    Any Idea?
    Thanks
    Elias Mendoza
    The following lines are part of the error log:
    Debug Events
    InvokeService:Configure the integration server for sld
    Library: sap.com/tclmctctemplateslevel1_4_tcc
    SourcePath ./PIPostInstallProcess/configureIntegrationServer8
    Time 2008/07/07 at 20:47:33
    WSDL /content/NetWeaver/PI/service/SLDConfig_configureIntegrationServer_configureIntegrationServer.wsdl
    Execute Java Service
    Library:sap.com/tclmctcutilbasic_ear
    Class:com.sap.ctc.util.SLDConfig
    Method:void com.sap.ctc.util.SLDConfig.configureIntegrationServer(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
    InvokeService- Result: Failed
    Exception Message:CIM_ERR_FAILED: HTTP response code: 404 Not found
    Exception Class:com.sap.sld.api.wbem.exception.CIMCommunicationException

    Dear
    Possibly CIM content is not uploaded to your SLD.
    Is your SLD running properly ?
    Did you install this SLD as a local SLD at the installation of your SAP system (along with other stuff using sapinst) ?
    <removed_by_moderator>
    Kind regards
    Tom
    Edited by: Julius Bussche on Jul 8, 2008 1:55 PM

  • Error :CIM_ERR_FAILED:HTTP response code:501 Not Implemented_Unsupporte

    Hello gurus
    iam facing the below error when trying to do the initial Setup on PI 7.1 running on Windows 64bit,Oracle
    Error :CIM_ERR_FAILED:HTTP response code:501 Not Implemented_Unsupported-protocol version
    i have checked the following notes 1115280,939592,764176,1309239 but cant find a solution to this.i have tried to add the  Businness systems manually and re excute the steps but no luck.
    any ideas are welcome

    Thanks for your response .I updated the CR content up to the latest but the problem still existed.
    I did a work around althought that was not part of the landscape.I reexecuted the post installation on to the local sld it works without a problem.
    There are notes that  states that you can use a remote sld  but tried all that  but still doesn`t work so  reinstalled the PI system several times on different boxes thinking that maybe a patch somewhere is causing the problem.
    I sent an OSS to SAP and they provided a link to help of which its just the same info that is in the notes.So then they came back later and said that i should reboot the server.......
    but  its now working as a local SLD not REMOTE (my sld on Solution manager not PI)

  • Every time I try to view the music tab on iTunes it states an error: new null response. Can someone please help?

    Hi,
    Could someone kindly please help with my iTunes Store error?  When attempting to view the music tab on iTunes store on my iPad 3 states the following error: new null response and cannot connect to iTunes Store.
    It's extremely annoying as I only bought a new album yesterday and its suddenly got an error.  I can use the films and tv programmes tabs which is strange, so its only the music tab not working.  I have tried everything from other websites and blogs but nothing is working for me. 
    I hope someone can help?
    Thanks

    Hello there Mattspur,
    I recommend sections 1, 3, and 5 of the iPad Troubleshooting Assistant found here http://www.apple.com/support/ipad/assistant/ipad/. If you get to section 3 I suggest closing ALL the apps.
    Here is section 1 to get you starrted:
    Restart iPad
    To restart iPad, first turn iPad off by pressing and holding the Sleep/Wake button until a red slider appears. Slide your finger across the slider and iPad will turn off after a few moments.
    Next, turn iPad on by pressing and holding the Sleep/Wake button until the Apple logo appears.
    Is iPad not responding? To reset iPad, press and hold the Sleep/Wake button and the Home button at the same time for at least 10 seconds, until the Apple logo appears.
    If your device does not turn on or displays a red battery icon, try recharging next.
    IF that does not resolve the issue, I would take a look at these articles next.
    Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    And
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/ts3297
    Regards,
    Sterling

  • ERROR: Backup message response: 212 Unable to backup until Setup is finished

    Dont backup iphone 8.1.2. Whats up?
    AppleMobileBackup[35473]: ERROR: Backup message response: 212 Unable to backup until Setup is finished (MBErrorDomain/212)

    Additional info since some searchs brought it up. I did install several versions of the iOS 6 beta when it was in beta at the time.

  • After Effects Alert when opening (Error: Mount Point list is empty)

    I am so confused right now. I have searched everywhere for a solution to no avail. I have a brand new Mac Pro 2.7 Ghz 12-core intel Xeon e5 with 32 gigs of ram. I installed Reelsmart's Motion blur and when I tried to re-open After Effects I got an After Efects Alert that reads.
    Last log message was: <140735179719440> <EAMountPoints> <0> Error: mount point list is empty
    Generating crash log, which may take a few minutes.
    Can anyone help please! I'm on a tight deadline and I'm grounded.
    Thank you, thank you!!

    What exact version of AE (down to the last decimal point)?

  • Error -8003 when trying to empty trash

    I get this error code when trying to empty the trash, and the trash won't empty.
    What does it mean and how do I get the trash to empty?
    thanks

    The most common cause for this problem is deleting stuff from a Time Machine backup using the Finder. This pretty irrevocably destroys your backup in addition to clogging the trash with files that are difficult to delete. If this is what you have done, your easiest and most reliable course of action will be to erase your backup drive using Disk Utility and start a brand new backup. And then never touch your backup in the Finder ever again.
    If that isn't what happened, let us know.

Maybe you are looking for

  • How to Print a Character in Reverse video ...?

    Hi Could any one of you help me " How to print a character in Reverse Video " in SMART Forms and in SAP Scripts. Regards, Saravanan <MOVED BY MODERATOR TO THE CORRECT FORUM> Edited by: Alvaro Tejada Galindo on Mar 26, 2009 5:31 PM

  • BI-IP implementation in BI 7.0(NUC)+ Java Add-In(UC) system

    Hi Experts, We want to implement BI-IP in our existing SAP BI 7.0 system which we upgraded from BW 3.5 to BI 7.0 followed by adding the Java Add-In. During the installation of the Java Add-In central instance the BI-Java, EP Core & EP software units

  • Enhancement during creation of outbound delivery to update serial number

    Dear ABAPers, Is there any Enhancement during creation of outbound delivery to update the serial number. My Requirement is In the VL10B transaction Outbound delivery will be created for the Purchase Order. During this time i want to update the serial

  • Supplier is getting emails about closed notifications

    Hi, Supplier is getting emails about closed notifications while earlier he used to not receive such notifications. The message name is EMAIL_PO_PDF. The Autoclose_FYI parameter is set to Y already in our case. Which parameter decides the end date for

  • How to determine installed version of EMET via script?

    Hi all, I was not able to find a easy way to determine installed verison of EMET via script. If you can guide me in the right direction, this would help a lot. Many thanks Sam