Error when a DataGrid is edited

Hi,
I set my app DataGrid to editable to true. But when I double click to edit a cell, a Flash Player error occur :
TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at spark.accessibility::DataGridAccImpl/makeRowString()[E:\dev\4.5.1\frameworks\projects\spa rk\src\spark\accessibility\DataGridAccImpl.as:1068]
    at spark.accessibility::DataGridAccImpl/eventHandler()[E:\dev\4.5.1\frameworks\projects\spar k\src\spark\accessibility\DataGridAccImpl.as:1031]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.core::UIComponent/dispatchEvent()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\co re\UIComponent.as:13128]
    at spark.components.gridClasses::DataGridEditor/setEditedItemPosition()[E:\dev\4.5.1\framewo rks\projects\spark\src\spark\components\gridClasses\DataGridEditor.as:315]
    at spark.components.gridClasses::DataGridEditor/dataGrid_gridItemEditorSessionStartingHandle r()[E:\dev\4.5.1\frameworks\projects\spark\src\spark\components\gridClasses\DataGridEditor .as:1204]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.core::UIComponent/dispatchEvent()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\co re\UIComponent.as:13128]
    at spark.components.gridClasses::DataGridEditor/startItemEditorSession()[E:\dev\4.5.1\framew orks\projects\spark\src\spark\components\gridClasses\DataGridEditor.as:798]
    at spark.components::DataGrid/startItemEditorSession()[E:\dev\4.5.1\frameworks\projects\spar k\src\spark\components\DataGrid.as:3803]
    at spark.components.gridClasses::DataGridEditor/grid_gridMouseUpHandler()[E:\dev\4.5.1\frame works\projects\spark\src\spark\components\gridClasses\DataGridEditor.as:1379]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.core::UIComponent/dispatchEvent()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\co re\UIComponent.as:13128]
    at spark.components::Grid/dispatchGridEvent()[E:\dev\4.5.1\frameworks\projects\spark\src\spa rk\components\Grid.as:4038]
    at spark.components::Grid/grid_mouseDownDragUpHandler()[E:\dev\4.5.1\frameworks\projects\spa rk\src\spark\components\Grid.as:3883]
    at Function/<anonymous>()[E:\dev\4.5.1\frameworks\projects\spark\src\spark\utils\MouseEventU til.as:96]
I tried to put the DataGrid in a very simple new project and there is no error.
Here is the code :
<s:DataGrid id="dgProperties" width="100%" height="100%" editable="true"
        sortableColumns="false">
        <s:ArrayCollection>
                <s:DataItem key="1000" name="Abrasive" price="100.11" call="false"/>
                <s:DataItem key="1001" name="Brush" price="110.01" call="true"/>
                <s:DataItem key="1002" name="Clamp" price="120.02" call="false"/>
                <s:DataItem key="1003" name="Drill" price="130.03" call="true"/>
                <s:DataItem key="1004" name="Epoxy" price="140.04" call="false"/>
                <s:DataItem key="1005" name="File" price="150.05" call="true"/>
                <s:DataItem key="1006" name="Gouge" price="160.06" call="false"/>
                <s:DataItem key="1007" name="Hook" price="170.07" call="true"/>
                <s:DataItem key="1008" name="Ink" price="180.08" call="false"/>
                <s:DataItem key="1009" name="Jack" price="190.09" call="true"/>            
            </s:ArrayCollection>
        <s:columns>
            <s:ArrayList>
                <s:GridColumn headerText="name" dataField="name"/>
                <s:GridColumn headerText="price" dataField="price"/>
            </s:ArrayList>
        </s:columns>
    </s:DataGrid>
Thx.

I have same problem.
TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at spark.accessibility::DataGridAccImpl/makeRowString()[E:\dev\4.5.1\frameworks\projects\spa rk\src\spark\accessibility\DataGridAccImpl.as:1068]
    at spark.accessibility::DataGridAccImpl/eventHandler()[E:\dev\4.5.1\frameworks\projects\spar k\src\spark\accessibility\DataGridAccImpl.as:1031]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.core::UIComponent/dispatchEvent()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\co re\UIComponent.as:13128]
    at spark.components.gridClasses::DataGridEditor/setEditedItemPosition()[E:\dev\4.5.1\framewo rks\projects\spark\src\spark\components\gridClasses\DataGridEditor.as:315]
    at spark.components.gridClasses::DataGridEditor/dataGrid_gridItemEditorSessionStartingHandle r()[E:\dev\4.5.1\frameworks\projects\spark\src\spark\components\gridClasses\DataGridEditor .as:1204]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.core::UIComponent/dispatchEvent()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\co re\UIComponent.as:13128]
    at spark.components.gridClasses::DataGridEditor/startItemEditorSession()[E:\dev\4.5.1\framew orks\projects\spark\src\spark\components\gridClasses\DataGridEditor.as:798]
    at spark.components::DataGrid/startItemEditorSession()[E:\dev\4.5.1\frameworks\projects\spar k\src\spark\components\DataGrid.as:3803]
    at spark.components.gridClasses::DataGridEditor/doubleClickTimerHandler()[E:\dev\4.5.1\frame works\projects\spark\src\spark\components\gridClasses\DataGridEditor.as:1428]
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()
In the class DataGridAccImpl, line 1068: "rowString = rowString.replace("%1", dgAccInfo.reachableRowIndex + 1).replace("%2", dgAccInfo.reachableRowCount);". rowString is null.
After app initialized i call ResourceManager.getInstance().localeChain = [language]; (language = "fr_FR"). I tried "fr" "en_US" "pt_BR".. Same problem.
This problem is only in AIR project.
Anyone already solved this problem?

Similar Messages

  • Undefined error: when update datagrid in flex

    I get this error when trying to update a field in my datagrid, using LCDS 2.61 with coldfusion.
    Why?
    undefined
        at mx.data::CommitResponder/result()[C:\depot\flex\branches\enterprise_bridgeman_final_hotfi xes\frameworks\mx\data\CommitResponder.as:424]
        at mx.rpc::AsyncRequest/acknowledge()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\ AsyncRequest.as:74]
        at NetConnectionMessageResponder/resultHandler()[C:\autobuild\3.2.0\frameworks\projects\rpc\ src\mx\messaging\channels\NetConnectionChannel.as:515]
        at mx.messaging::MessageResponder/result()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx \messaging\MessageResponder.as:199]
    Thanks,
    Jon Kravetz

    To troubleshoot this, you should add <mx:TraceTarget /> to your mxml file and then debug your application.  Afterwards, reply with the trace log from the console...

  • Error when I try to edit a Page

    I successfully added the In Context editing code throughout
    mu site but when I try to edit the site I get the following error,
    I tried editing in different browsers and received the same error.
    Internal Server Error
    The server encountered an internal error or misconfiguration
    and was unable to complete your request.
    Please contact the server administrator,
    [email protected] and inform them of the time the error
    occurred, and anything you might have done that may have caused the
    error.
    More information about this error may be available in the
    server error log.
    Apache/1.3.33 Server at www.thewildinstitute.com Port 80
    The site is:
    http://www.thewildinstitute.com

    Hello shanij,
    The behavior with your server is similar to this thread:
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=82&catid=859&threadid =1414213&enterthread=y
    The difference being that the HEAD response from your server
    is 500 Internal Server Error. InContext editing uses HEAD HTTP
    requests to test for the existence of the draft page. If no page
    exists, InContext Editing should receive a 404 Not Found response
    from your server. Your server is responding with a 500 Internal
    Server error.
    Your server is responding with a 500 Internal Server error
    when you navigate to any page that 'doesn't exist' on your site.
    For example, if you simply go to
    http://www.thewildinstitute.com/example.html,
    you'll also receive the 500 Internal Server error.
    It could be that the HEAD HTTP request method is disabled, or
    the HEAD HTTP request method is enabled on your server and simply
    not functioning properly. In either case, please contact your
    hosting provider to fix this configuration problem.
    Here is some more information:
    http://www.adobe.com/go/kb406749
    Best regards,
    Corey

  • PSE7 - Error when open the quick edit tab

    Hi,
    I have installed PSE7 on my new pc (xp). Since the installation I get an error message when I open the quick editor. (see attachment)
    I uninstalled PSE7 and tried to clean the registry with the CS3_clean_script. After that I installed PSE7 again, but I got the same error message.
    I also got the error when I loggin with a othe admin user.
    What can I do?
    Conrad
    (Germany)

    I know you have tried it once before as well, but try to uninstall and then check if any file/folder/registry is remaining even after the uninstallation by cross verifying from the below link:
    http://kb2.adobe.com/cps/405/kb405847.html
    Now again try to install again. If the issue again appears then may be we can assume that the issue is not specific to installation but to something else.
    Regards,
    Ankush

  • Workflow Error when PO is in Edit mode

    Hi ,
    Please suggest me a solution for the following scenario :
             PO is subjected to workflow as per the Release Strategy.
             But when someone is Editing the PO while the Workflow user is executing the Workitem for PO Release,I am receiving a error saying that PO is blocked by another user and the workitem disappears from users inbox.How to avoid this situation.
    Thanks
    Srinivas

    Hi,
    when someone is Editing the PO while the Workflow user is executing the Workitem for PO Release,I am receiving a error
    saying that PO is blocked by another user
    Same PO can not be edit by more than one person, so only this happening, This is the std. feature.
    Regards,
    Surjith

  • Error when trying to open, edit & save the document from email link

    Hi,
    The error occurs when user tries to open the document from the email link (after the document is "shared" with them.
    The recipient has been given edit rights.  When the document is opened it is opened in read only.  The recipient will click "Edit Document" and then they receive an error
    "The file or folder name http://servername/sites/documents/Shared Documents/IT/Test/TESTfile.xlsx?NoRedirect=true' contains characters that are not permitted. Enter a different name."
    Any suggestions please.
    Thanks.

    Hi Inderjeet,
    Thank you very much for you reply.
    I tried with the LAN options, it didn't help.
    I see that in the
    http://blog.ray1.net/2007/12/file-or-folder-name-contains-characters.html it's written as the error occurs while "Creating a new site based on a custom site definition, you get the above error", which is not my case.
    Mine happens when I click on the link from the email body. An exact thread I found :
    http://social.technet.microsoft.com/Forums/systemcenter/en-US/d724a882-66cf-4515-a088-afd7d088b103/email-link-to-share-documents?forum=sharepointgeneral&prof=required
    But no solution is mentioned there as well.
    I think this is an issue with SharePoint 2013. Do you agree? I would like to invite more experts for their opinion on this please.
    Many thanks & Regards

  • Error when trying to create/edit users in the tree domain from exchange

    The scenario is we have one forest and two different domains in tree domain architecture(Forest : expo.com)(tree : dept.com) with windows 2012R2
    We have deployed exchange 2013 in another server with windows 2012R2 based on expo.com.
    When I try to create new user for dept.com I am getting the below error. but the same is working for expo.com
    error
    Active Directory operation failed on Server2.dept.com. This error is not retriable. Additional information: Access is denied. Active directory response: 00000005: SecErr: DSID-031521E1, problem 4003 (INSUFF_ACCESS_RIGHTS), data

    When I try to create mailbox for the existing user in the dept.com i am getting the below error. but the same is working for expo.com
    error
    Active Directory operation failed on Server2.dept.com. This error is not retriable. Additional information: Insufficient access rights to perform the operation. Active directory response: 00002098: SecErr: DSID-03150BC1, problem
    4003 (INSUFF_ACCESS_RIGHTS), data 0 
    Please help on providing me the details of configuration to do for solving the issue.

    Hi araddy,
    Thank you for your question.
    For user account in dept.com, we should create it on DC in dept.com domain.
    By my understanding, we have install Exchange 2013 in expo.com domain, there are no Exchange that install in dept.com domain. If I misunderstanding, please be free to let me know.
    If that, If that, we should create link mailbox for user in dept.com domain. In the Exchange forest, for each user in the accounts forest that will have a mailbox in the Exchange
    forest, create a mailbox that is associated with an external account by the following link:
    https://technet.microsoft.com/en-us/library/jj673532(v=exchg.150).aspx
    The more details could be referred by the following link:
    https://technet.microsoft.com/en-us/library/aa998031%28v=exchg.150%29.aspx
    If there are any questions regarding this issue, please be free to let me know.
    Best Regard,
    Jim
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Jim Xu
    TechNet Community Support

  • 404 Error when I try to edit page in ICE

    I use a browser, go to my page, press Cmd+E, up pops the
    login and password, done, then bang! the page doesn't display, just
    the host's generic 404 error.

    Hello Jim,
    I'm sorry to hear you're having problems with InContext
    Editing. Please take a look at the following forum posts which
    discuss the issue:
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=82&catid=859&threadid =1414213
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=82&catid=859&threadid =1411528
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=82&catid=859&threadid =1424604
    The issue is that your web host either does not have the HTTP
    HEAD request enabled or functioning properly on the server, or you
    may have to disable custom 404 page redirection either in your web
    host administration panel or via .htaccess file.
    Please let me know if you need further assistance.
    Best regards,
    Corey

  • Template error when pasting code between editable region tags

    Hi everyone,
    The following code snippet is part of the code in my template file:
      <div id="content">
      <div id="content_main">
        <div id="content_inner"><!-- InstanceBeginEditable name="inner" --><!-- InstanceEndEditable --></div>
        <div id="sidebar">
        <h3 class="round2">Categories</h3>
    Note that the above code contains an editable region as follows:
    <!-- InstanceBeginEditable name="inner" --><!-- InstanceEndEditable -->
    Back in my file that's attached to this template, I tried to paste code between these two tags:
    <!-- InstanceBeginEditable name="inner" --> A whole heap of code was pasted here <!-- InstanceEndEditable -->
    But I'm getting the following error:
    "You have made changes to code that is not marked as editable. If you retain those changes, they will be lost the next time you apply a template update to this file. Do you want to retain the changes until then?"
    I don't know why it's saying this since I'm adding code in between the two instance editable tags.
    Does anyone know what's going on here?
    Appreciate any help.

    Hello hth
    Just so you'll know, although 'hth' looks like a signature, it's really an abbreviation for "hope this helps"!
    I have put the code in that you suggested, (via new style sheet I named paradent) enclosed the text within the <p>...</p> but still not working:
    P
    .twoColLiqLtHdr #container #mainContent .paradent {
    font-family: Arial, Helvetica, sans-serif;
    font-size: medium;
    font-weight: normal;
    text-indent: 35px;
    word-spacing: normal;
    <span class="paradent">No color flagged the coming of spring to the Lowveld. The rains were late again, and from the Limpopo to the Sabi River and beyond into Mozambique, the mopani trees were leafless and grey; the wide rivers dry and white under the relentless sun.<br />
    This is not valid code - it's not how you use CSS.
    All CSS needs to either be placed in an external stylesheet which is linked in the head of the document, embedded between <style> tags in the head of the document, or placed inline in the target tag.  Examples of each would be -
    LINKED -
    <link rel="stylesheet" href="path_to_CSS_file.css" type="text/css">
    </head>
    EMBEDDED -
    <style type="text/css">
    body { margin:0; }
    </style>
    INLINE -
    <body style="margin:0;">
    Yours is not only in the wrong place (within the body content), but it's also between <p> tags rather than <style> tags.  That's not going to work at all.  Can you handle getting that rule into the right place in your code?

  • OWA 2013: Insecure Content javascript error in Google Chrome when attempting to launch Edit in Excel from Office Web Apps 2013

    I'm unable to launch an excel file in the Client App from OWA using google chrome.  I am able to open the excel file in the web application, but when clicking "Edit Workbook" and selecting "Edit Excel" the file never opens.  
    Opening developer mode shows a javascript error.  This error comes back as:
    [blocked] The page at 'https://owa.mysite.com/x/_layouts/xlviewerinternal.aspx?ui=en%2DUS&r…g%2Fsites%2Fmiketest%2Ftestlib%2FForms%2FAllItems%2Easpx&wdEnableRoaming=1' was loaded over HTTPS, but ran insecure content from 'ms-excel:ofv|u|https://intranet.mysite.org/sites/miketest/testlib/SitePageVerification.xlsx':
    this content should also be loaded over HTTPS.
    Both sites are using https, so I'm unsure what the error is about.  Any ideas?

    Hi Michael,
    According to your description, my understanding is that you got an error when you tried to edit excel in client application with Chrome.
    Per my knowledge, when you open or edit documents(from SharePoint library) in client application, it requires Open Documents ActiveX controls. Open Documents ActiveX controls limitations on browsers which do not support ActiveX. Currently only 32-bit versions
    of Internet Explorer support this functionality. So , for resolving your issue, I suggest you use IE 32-bit.
    More indormation, please refer to the link below:
    http://technet.microsoft.com/en-us/library/cc263526.aspx
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • ERROR when EDITING MENU

    I keep getting this error when i want to editing the menu, if i click ok on this error the hole program closes down, i need this fixed asap can anyone HELP me!!
    Thanks

    Hi Aish
    The screen shot of the error is bellow
    Thanks,

  • WWC-51000 - Portal Error When Trying to Edit Menu

    I upgrade Webdb2.2 to Portal 30982 When I edit the menu and go to 'Menu Customization Form Text' I get:
    Failed to insert menu My Menu (WWV-15100)
    The preference path does not exist: Oracle.Portal.Mobile (WWC-51000)
    The link it is trying to execute is:
    http://hotsname:7778/pls/webdb3/WEBDB.wwv_menu_build.accept
    What's the problem
    PORTAL ERROR WHEN I TRY TO EDIT MENU WWC-51000

    When I create a menu, I can go through the steps but when I get to the FINISH button I get:
    The preference path does not exist: Oracle.Portal.Mobile (WWC-51000)
    The preference path does not exist: Oracle.Portal.Mobile (WWC-51000)
    The preference path does not exist: Oracle.Portal.Mobile (WWC-51000)

  • Server communications error when trying to edit a content query

    Hi.
    I get an error when I try to edit a content query for a placeholder in Workshop. I open a placeholder (in data->placeholders) and select "content search" in the content query box. The "Content Search" box pops up but I get an error requester ("Server Communications Error") saying "Content properties cannot be retrieved from the server".
    I've ensured that the server is running and I've checked the server settings, but I haven't been able to find anything that would explain this error.
    Any suggestions?
    Regards,
    Kjell V. Normann

    From Workshop, in the Application tab, right-click on
    wps-toolSupport.war under Modules, and select Set Context Path. Enter
    ${appname}Tool, ${appname} is the name of you application. Workshop
    should use that context-root from then on, and then the placeholder
    editor should be able to find the WebService it needs.
    Greg
    Kjell Normann wrote:
    Hi.
    I tried this, but it didn't work either. Upon redeployment it
    actually removed the edited <module> section and replaced it with the
    original:
    <module> <web> <web-uri>wps-toolSupport.war</web-uri>
    <context-root>wps-toolSupport</context-root> </web> </module>
    Regards,
    Kjell V. Normann

  • Javascript error when editing PCD-Objects

    Hello,
    suddenly I get a JavaScript-Error when I try to edit rules or pages within the PCD (EP6.0.2.35).
    When I use the script debugger I see an "access denied" error when the function
    window.frames["ivuFrm_page0ivu1"].document.close();
    is called. Sometimes it works though (after a server restart, the 1st edit seems to work).
    Any ideas?
    Thanks in advance,
    Reinhard

    Solved it on my own:
    We have the portal running as windows service, and therefore had "-Xrs" configured in the java parameters. According to a SAP-Note (to configure ThreadDumps) we deleted the "-Xrs"-Parameter and this seemed to have caused the JavaScript-Errors (!!!!!).
    Reinhard

  • Error when creating Recordset using CF and Postgres

    I'm a complete newbie when it comes to databases and development so go easy on me.
    I have created a simple database with a schema (ABC) and 2 tables (_Address, _Member) in Postgres 9.0.  I have installed CF 9 in development and am creating a new application using the Construction Kit Vol 1 as my guide.  I got to the point where I am to make a Recordset and keep getting an error of:
    -1:ERROR: schema "ABC" does not exist
    org.postgresql.util.PSQLException: ERROR: schema "ABC" does not exist
    ...about 20+ lines of at errors follow (can post a screenshot if they would be helpfull)...
    From the Database tab I am able to browse my database just fine but I cannot create this recordset in the bindings tab.  I also followed the examples in the book and using their database I am able to create a recordset just fine.  CF says my data source verifies correctly.  I have verified that my password is correct as well as when in the database tab of DW I can test the connection fine.  I cannot edit the connecton from there but I get the same error when I try to edit on all of the databases, including the default test databases.
    Any suggestions would be greatly appreciated.

    Hi Loan,
    In your stock transfer Purchase Order has the correct 'Shipping Point' been determined for this item - i.e. the 'Shipping Point' associated with your 0002 Storage Location?
    The 'Shipping Point' determination is setup in config in <OVL2>, you can use the 'Loading Group' field in the Material Master (Sales:General Plant) tab to influence the shipping point that is automatically determined for a Material.
    Assuming the Shipping Point has been determined correctly for your 0002 SLoc - then in <VL10B> you will have selected this 'Shipping Point' for your delivery creation.  I also noticed that in <VL10B> on the Material tab you have the option to specify a SLoc (I'm assuming this is a source SLoc since the help doesn't clearly specify) - try entering this data too and see if you can generate your delivery.
    Good luck,
    Ravelle

Maybe you are looking for

  • JCO calling error

    Hi, experts:   I got a problem when calling a RFC from EJB by using JCO object.   Sometimes JCO return last calling result, and when i manual calling again. JCO return correct value.   How to reset connection?   Thanks for any hints.   Best regards,

  • Copied files corrupted

    I'm a little desperate here... Here's what happened. My MacBook Pro, early 2008, was acting up after upgrading to lion from snow leopard. So I thought I should go ahead and to a clean install since I had just upgraded each time a new os came out. I c

  • Disabling tab functionality in a field

    Dear all, How do you disable tab functionality in a field in sap b1 2005? I would just like to have a formatted search on the field. Regards, Monil

  • Opening iCal When Starting Up

    Is there a way to have iCal open automatically when starting up or to have it change days if the machine stays on? Thanks.

  • Jerky video - slow responses using Premiere Elements 9

    I just bought a new laptop (desktop) replacement, specifically to create videos on DVD.  I am using video footage that was originally in the AVCHD format but were converted to MP4's.  All videos appear fine on the workspace.  But when dragging the cl