A reflection error occurred accessing the object.-- Error

I am trying to update from default field value to some other value by using the script definition, however system is throwing the "A reflection error occurred accessing the object."
If anyone has any idea/solution please help me.
regards
Sumanta

Hi Devesh,
   I wrote a Field Validation Script and as per your guidelines i update the script,however got the different error.
new changed script
doc.getExtensionField("CURRENCY").get().setDisplayName("AOA");
and also tried with
doc.getExtensionField("CURRENCY").get().setDisplayName("-2147483442:601:AOA");
and the error message received is like
Error executing script: Sourced file: inline evaluation of: ``doc.getExtensionField("CURRENCY").get().setDisplayName("AOA"); . . . '' : target exception.
It is not allowing to modify/update the existing field value by using script.
Please let me know if you have any suggestion.
Regards
Sumanta

Similar Messages

  • -18001: An error occured accessing the LabVIEW ActiveX automation server

    Hi,
    I'm currently investigating a problem with a Teststand 2.0 sequence. The
    sequence makes use of VI's that call methods of an ActiveX. After a few
    successful loops through the test sequence the error "-18001: An error
    occured accessing the LabVIEW (6.1) ActiveX automation server" is brought up
    in Teststand. I think that somehow the ActiveX automation server is dying
    during the execution of the sequence but I don't know where to start
    searching...The problem does not seem to lie within the ActiveX istself, but
    I'm not sure. Using the same ActiveX within a Visual Basic Application and
    performing the same commands several times does not produce a failure. Has
    anybody an idea what could be the problem
    Thanks, Sven.

    Thanks, but I already know these entries from the Knowledge Base. I found no
    help in there and my error text is also not mentioned there.
    JRA schrieb in im Newsbeitrag:
    [email protected]..
    > There is actually a few Knowledge Bases on NI's website which deals
    > with this exact issue. You will probably want to start there.
    > 1. >
    "http://digital.ni.com/public.nsf/websearch/55574CB4E0F326DF862567FD0077E303
    ?OpenDocument">-18001
    > ...
    > 2. >
    "http://digital.ni.com/public.nsf/websearch/D8690EC8044C7B3586256C63005D4D84
    ?OpenDocument">Why
    > do ...

  • A database error occured. The database error text is: ORA-29275: partial multibyte character . (WIS 10901)

    Hi,
    My Webi report is geeting failed with the error
    "A database error occured. The database error text is: ORA-29275: partial multibyte character . (WIS 10901)"
    may i know the root cause of the above error and how to resolve it. I am using BO 3.1.
    Its very important to provide the report. Please help urgently.
    Thanks in advance.
    Abid

    Hi Abid,
    Please see SAP Note 1556127.
    Symptom
    A database error occurs after refreshing a web intelligence report in java report panel or web intelligence in interactive mode
    The database error text is: ORA 29275 with partial multibyte character (WIS 10901)
    Environment
    windows 2003 Server
    Cause
    Environment variables are not set with value UTF-8:LC_ALL,LANG, and NLS_LANG
    Resolution
    Set following system environment variables: LC_ALL,LANG, and NLS_LANG with value UTF-8. For example, LC_ALL=EN_US.UTF-8

  • Moving files to another directory got an error message [File System Task] Error: An error occurred with the following error message: "Could not find a part of the path.".

    Hi all,
    I am having a list of files in a folder named datafiles and I am processing them one by one when I finish each one I want to move the file into a folder archive.
    I am having a variable named filename and archivefilename and two fileconnections  one is originalfiles and archivefiles
    archivefilename=replace( @[User::filename],"datafiles","archive")
    orginalfiles connection is an expression =@user:filename
    archivefies connection is an expression=@user:archivefilename
    the filename comes from reading the folder that contains those files
    public void Main()
                string[] filenames;
                filenames = Directory.GetFiles(@"C:\luminis\datafiles\");
                Array.Sort(filenames);
                Dts.Variables["filelist"].Value = filenames;
                Dts.TaskResult = (int)ScriptResults.Success;
    The folder c:\luminis\archive\ exists
    why I am getting this error
    My filesystem task : destinationpathvariable =false
    destinationconnection:archivefile
    overwrite=true
    operation=movefile
    issourcepathvariable=false
    sourceconnection=original file
    why am i getting this error[File System Task] Error: An error occurred with the following error message: "Could not find a part of the path.".
    sohairzaki

    there may be 2 problem...
    1> specify a target directory only, not with the file name. 
    OR
    2> Try using the unc,path format \\computername\sharename\
    let us know your observation...
    Let us TRY this | Mail me
    My Blog :: http://quest4gen.blogspot.com/

  • A database error occured. The database error text is: ORA-00932: inconsiste

    Hi Experts,
    In WebI XI 3.1, i am getting this error when i run webi report against a derived table "A database error occured. The database error text is: ORA-00932: inconsistent datatypes: expected NUMBER got DATE ". The derived table is designed in such a way that it populates only last week data, however, the result populates data for last week and current week. For the current week, it shows date range from feb19 to feb25, so the data is not correct. how can i get rid of current week.

    Hello, the error means that it is pulling a field with DATE type instead of a number, you should convert the date to a number at universe or document level.

  • -18004; An error occurred accessing the LabVIEW Run-Time Engine DLL.

    Hello,
    I have this error when i want to get a VISA session refnum from a viSession handle.
    This error occured when the specified class is IviFgen.
    The device concerned is a PXI-5402/PXI-5412 (i need to get the model with a property node - Inherent IVI Attribute... from the refnum)
    It also occured during a cast (if the class specified is niFgen).
    Could somebody help me ?
    Thanks !
    Attachments:
    ErrorLVRT_TestStand.png ‏11 KB

    Hi Ggraindo,
    This error occured during deployment? Which is the LabVIEW adapter version that you are trying to use, is it the 9.0.1? Do you have other LabVIEW or TestStand versions installed in your computer? This error only occured when you try to used the class IviFgen, or even just with a simple VI?
    What is the result of the error cluster from LabVIEW?
    Also, can you post a simple exemple to reproduce this issue?
    Regards,
    Rémi D.
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> Les rencontres techniques de NI - Mesures et acquisition de données : de la théorie à la mise en ...

  • -18001; And error occurred accessing the LabVIEW ActiveX automation server.

    I installed a revised TS deployment, and got this error.
    For other deployments, when this error occurred, there was a simple solution - change the Adapter in TestStand.
    This time, if I change the Adapter, I cannot reload the test vi's in the test sequence, so that doesn't work.
    Any help would be appreciated.
    TS 4.2.1
    LV 2010

    Jauron,
    This knowledgebase article here: http://digital.ni.com/public.nsf/allkb/D577B50A123​5A088862570FA004BDD63  seems to have a solution for the issue. 
    Regards,
    Kyle Mozdzyn
    Applications Engineering
    National Instruments
    Regards,
    Kyle M.
    Applications Engineering
    National Instruments

  • Error -18004; An error occurred accessing the LabVIEW Run-Time Engine DLL. TS 4.2.1 / LV 2010

    When I try to run a VI that is reentrant in parallel execution, I receive this error.  The details of the error is:  LabVIEW:  The property or method is not supported in this version of LabVIEW.
    This is run under the Simple Operator Interface in LV 2010.  The TestStand engine is version 4.2.1 using LV 2010 run-time engine adapter.
    If I save for previous version to LV 2009 SP1 and set the TS adapter to 9.0.1 (2009 SP1), this works.
    Can anyone reproduce this error (bug?) ?
    Solved!
    Go to Solution.

    have you got the latest updates for TestStand using LabVIEW 2010?
    http://digital.ni.com/public.nsf/allkb/7D728B70F167CE088625776E00582C7B?OpenDocument
    Regards
    Ray Farmer

  • -17702; An error occurred accessing the CVI ActiveX automation server.

    I am now getting this error consistently whenever I try to debug my dll. I was able to successfully debug earlier, but it has degraded. I tried shutting down teststand and labwindows and restqarting them, but the error persists. I am using teststand 4.1.1 and labwindows/cvi 9.0.0 (348).
    Anyone have any ideas?  This has me stalled.

    Hello,
    Pretty old post, but I have a similar problem...How can I fix this issue ?

  • Errors occurred in the integration checks (read log)

    Hello Everyone ,
    I am working on cross companycode- cost accounting
    In the previous screen i said i am not getting cost elements box in transaction code KP06 , anyhow i am entering the itemoverview screen using one cost element which i appearing automatically and in here i am allocating funds to various activity types( here aslo its showing just one cost element as in the main screen of KP06 there was any Box asking me to enter cost element) , so i am giving all activity types with cost element plan fixed cost(entering an amount of 2000for all activity types )
    &plan variable cost (entering an amount of 1000 for all activity types)  nothing in plan fixed cons & plan variable consum.....remember this is just for practice purpose i am taking these small figures.
    Now when i am trying to save this its giving me error which is as follows:
    Errors occurred in the integration checks (read log)
    Message no. GP542
    Diagnosis
    The data entered or changed in this planning transaction should not only be updated in controlling, but also in the related applications (such as profit centers).
    These applications check the data to be posted beforehand to guarantee that the update is performed without any problems.
    However, errors or warnings occurred during this check.
    System Response
    Data is not updated.
    Procedure
    Look to see which errors occurred using the function "Error log...",. "Plan Integration...".
    Can anyone please help me with this one .
    Thanks ,
    Mohammed samiuddin

    Hi,
    I am also getting the same error message when I am trying to post activity type rates using Tcode KP26.
    Can you please let me know how you solved this issue?
    Error message :
    Errors occurred in the integration checks (read log)
    Message no. GP542
    Diagnosis
    The data entered or changed in this planning transaction should not only be updated in controlling, but also in the related applications (such as profit centers).
    These applications check the data to be posted beforehand to guarantee that the update is performed without any problems.
    However, errors or warnings occurred during this check.
    System Response
    Data is not updated.
    Procedure
    Look to see which errors occurred using the function "Error log...",. "Plan Integration...".
    Regards,
    Vicki

  • An error occurred at the server : Your request was cancelled due to an internal error on the Page Server. The object you are try

    hi i am getting this error.
    An error occurred at the server : Your request was cancelled due to an internal error on the Page Server. The object you are trying to view does not have the required property 'SI_FILES'. Please contact your system administrator
    please do the nedful.

    yeah Ted Ueda,
    what you are saying is correct. i am getting this output for
      report.getProgID() is CrystalEnterprise.Report.
    can you elaborate this. i am new to this. and also please let me know how to start and if u have any materials on this please forward to [email protected] and [email protected]
    please let me know which is best book for beginers.
    Thanks & Regards,
    Purushotham Podaralla

  • TS3297 How is the following error corrected when trying to access the Itunes store - an unkown error occurred There was an error in the Itunes store. Please try later Ox80092013

    How can the following error incurred when trying to access the Itunes Store be corrected:  an unknown error occurred  There was an error in the store. Please try later 0x80092013

    Try here  >  http://support.apple.com/kb/TS3221
    And/or... see the  More Like This  section on the right.

  • An internal database error occurred in the Business Data Connectivity Shared Service. SQL Error Number : 229

     Recently i upgraded my SharePoint server 2013 to SP1, after the upgrade i received following message in manage database Status page " Databases running in compatibility range, upgrade recommended" 
    for Business Data Connectivity Database. Then i ran Sharepoint Configuration wizard, which fixed that error on that page but i am getting a error message while accessing BDCApplication page in manage service applications pagein central admin"
    An internal database error occurred in the Business Data Connectivity Shared Service. SQL Error Number : 229
    Sys Log :
    The BDC Service application failed due to a SQL Exception: SQLServer host WSQLD05\DV. The error returned was: 'The EXECUTE permission was denied on the object 'proc_ar_GetAdministrationMetadataCatalogByPartitionId', database 'sp_BusinessDataConnectivity_DV13',
    schema 'dbo'.'
    I checked the Db role of the service app pool account, it has SPDataAccess permission over the Database. i cant recreate another application without knowing the root cause. I hope i can get better option to troubleshoot the issue.
    Thank you

    As per the error message, you can at least grant the BDC service application pool account the EXECUTE perimssions on the sp_BusinessDataConnectivity_DV13 database
    Edwin Sarmiento SQL Server MVP | Microsoft Certified Master
    Blog |
    Twitter | LinkedIn
    SQL Server High Availability and Disaster Recover Deep Dive Course

  • SSRS 2008R2 Error: An error occurred within the report server database. This may be due to a connection failure, timeout or low disk condition within the database

    Hi,
    a big problem with our report server has appeared suddenly.
    We are running the SQL Server 2008 R2 with a Report Server. But a .
    I can connect to the Report Server Website and I can choose a report. But if I run the report, it will load endless without timeout message or other error messages.
    I looked in the Report Server Log and find out this confusing error messages:
    rshost!rshost!1680!01/21/2014-16:22:41:: e ERROR: WriteCallback(): failed to write in write callback.
    rshost!rshost!1680!01/21/2014-16:22:41:: e ERROR: Failed with win32 error 0x0079, pipeline=0x00000000004ED8D0.
    rshost!rshost!c20!01/21/2014-16:22:41:: e ERROR: HttpPipelineCallback::SendResponse(): failed async writing response.
    rshost!rshost!c20!01/21/2014-16:22:41:: e ERROR: Failed with win32 error 0x0079, pipeline=0x00000000004ED8D0.
    rshost!rshost!1680!01/21/2014-16:22:41:: v VERBOSE: HttpPipeline::DisconnectCallback: releasing pipeline=0x00000000004ED8D0.
    httpruntime!ReportManager_0-1!c20!01/21/2014-16:22:41:: e ERROR: Failed in BaseWorkerRequest::SendHttpResponse(bool), exception=System.Runtime.InteropServices.COMException (0x80070079): The semaphore timeout period has expired. (Exception from HRESULT: 0x80070079)
       at Microsoft.ReportingServices.HostingInterfaces.IRsHttpPipeline.SendResponse(Void* response, Boolean finalWrite, Boolean closeConn)
       at ReportingServicesHttpRuntime.BaseWorkerRequest.SendHttpResponse(Boolean finalFlush)
    library!ReportManager_0-1!c20!01/21/2014-16:22:41:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeInternalException: RsWorkerRequest::FlushResponse., Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeInternalException:
    An internal or system error occurred in the HTTP Runtime object for application domain ReportManager_MSSQLSERVER_0-1-130347907277948893.  ---> System.Runtime.InteropServices.COMException (0x80070079): The semaphore timeout period has expired. (Exception
    from HRESULT: 0x80070079)
       at ReportingServicesHttpRuntime.BaseWorkerRequest.SendHttpResponse(Boolean finalFlush)
       at ReportingServicesHttpRuntime.RsWorkerRequest.FlushResponse(Boolean finalFlush)
       --- End of inner exception stack trace ---;
    httpruntime!ReportManager_0-1!c20!01/21/2014-16:22:41:: e ERROR: Failed in BaseWorkerRequest::SendHttpResponse(bool), exception=System.Runtime.InteropServices.COMException (0x80070079): The semaphore timeout period has expired. (Exception from HRESULT: 0x80070079)
       at Microsoft.ReportingServices.HostingInterfaces.IRsHttpPipeline.SendResponse(Void* response, Boolean finalWrite, Boolean closeConn)
       at ReportingServicesHttpRuntime.BaseWorkerRequest.SendHttpResponse(Boolean finalFlush)
    library!ReportManager_0-1!c20!01/21/2014-16:22:41:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeInternalException: RsWorkerRequest::FlushResponse., Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeInternalException:
    An internal or system error occurred in the HTTP Runtime object for application domain ReportManager_MSSQLSERVER_0-1-130347907277948893.  ---> System.Runtime.InteropServices.COMException (0x80070079): The semaphore timeout period has expired. (Exception
    from HRESULT: 0x80070079)
       at ReportingServicesHttpRuntime.BaseWorkerRequest.SendHttpResponse(Boolean finalFlush)
       at ReportingServicesHttpRuntime.RsWorkerRequest.FlushResponse(Boolean finalFlush)
       --- End of inner exception stack trace ---;
    The last think I have done, is to grant a new user access to the report server website (by using the site options) and to the root folder (by using the folder options on ws).
    But the error must not relate to the new user. The server was not touched for several days before.
    Could you plz help me? I have no idea what to do. 
    Googling the whole day to find a solution without success

    We are having the same issue with our production reporting server and it doesn't look like a permission issue. We are running the SSRS service as a domain account with administrative privileges on the server. We are seeing the following entry in the log
    file:
    rshost!rshost!1254!01/30/2014-13:06:04:: e ERROR: WriteCallback(): failed to write in write callback.
    rshost!rshost!1254!01/30/2014-13:06:04:: e ERROR: Failed with win32 error 0x0079, pipeline=0x0000000003484370.
    rshost!rshost!1198!01/30/2014-13:06:04:: e ERROR: HttpPipelineCallback::SendResponse(): failed async writing response.
    rshost!rshost!1198!01/30/2014-13:06:04:: e ERROR: Failed with win32 error 0x0079, pipeline=0x0000000003484370.
    httpruntime!ReportManager_0-1!1198!01/30/2014-13:06:04:: e ERROR: Failed in BaseWorkerRequest::SendHttpResponse(bool), exception=System.Runtime.InteropServices.COMException (0x80070079): The semaphore timeout period has expired. (Exception from HRESULT: 0x80070079)
       at Microsoft.ReportingServices.HostingInterfaces.IRsHttpPipeline.SendResponse(Void* response, Boolean finalWrite, Boolean closeConn)
       at ReportingServicesHttpRuntime.BaseWorkerRequest.SendHttpResponse(Boolean finalFlush)
    library!ReportManager_0-1!1198!01/30/2014-13:06:04:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeInternalException: RsWorkerRequest::FlushResponse., Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeInternalException:
    An internal or system error occurred in the HTTP Runtime object for application domain ReportManager_0-1-130355206125382999.  ---> System.Runtime.InteropServices.COMException (0x80070079): The semaphore timeout period has expired. (Exception from HRESULT:
    0x80070079)
       at ReportingServicesHttpRuntime.BaseWorkerRequest.SendHttpResponse(Boolean finalFlush)
       at ReportingServicesHttpRuntime.RsWorkerRequest.FlushResponse(Boolean finalFlush)
    SSRS version is 10.50.4270.0
    Regards,
    Augustine.

  • Error occurred saving the cache

    I'm creating an AIR application using the Model Driven Development tools and hoping to make use of the offline cache. The generated value objects and services are working well when connected but I have been unable to get the cache working.
    Currently I am generating custom offline adaptors for each of my Model entities and assigning them to the offlineAdapter property of each data service as follows:
      _terminalService.serviceControl.autoCommit=false;
      _terminalService.serviceControl.autoConnect=true;
      _terminalService.serviceControl.fallBackToLocalFill=true;
      _terminalService.serviceControl.autoSaveCache=true;
      _terminalService.serviceControl.autoMerge=true;
      _terminalService.serviceControl.autoSyncEnabled=true;
      _terminalService.serviceControl.encryptLocalCache=false;
      _terminalService.serviceControl.offlineAdapter=new TerminalOfflineAdapter();
      _terminalService.serviceControl.cacheID="ss-sclient-39";
    When I run my application it works as anticipated but I am seeing the following error in the console log:
    7/27/2010 12:21:25.677 [DEBUG] mx.data.DataStore Saving cached query: store id: ["getByMacAddress","001CC4313675"] lastWritten: Tue Jul 27 12:21:25 GMT+0100 2010 lastAccessed: Tue Jul 27 12:21:25 GMT+0100 2010 created: Tue Jul 27 12:21:25 GMT+0100 2010 metadata: (null) type: 1 referenced ids: ["common.Terminal:#:13"]
    7/27/2010 12:21:25.677 [DEBUG] mx.data.LSODataStore dbStore lock released: 965366152
    7/27/2010 12:21:25.677 [ERROR] mx.data.DataStore Error occurred saving the cache: TypeError: Error #1009: Cannot access a property or method of a null object reference. stack: TypeError: Error #1009: Cannot access a property or method of a null object reference.
         at mx.data.offline::EntityManager/save()[C:\depot\DataServices\trunk\frameworks\projects\airfds\src\mx\data\offline\EntityManager.as:104]
         at mx.data.offline::EntityManager/update()[C:\depot\DataServices\trunk\frameworks\projects\airfds\src\mx\data\offline\EntityManager.as:345]
         at mx.data::SQLiteOfflineAdapter/updateOfflineItems()[C:\depot\DataServices\trunk\frameworks\projects\airfds\src\mx\data\SQLiteOfflineAdapter.as:120]
         at mx.data::DataStore/persistCacheItems()[C:\depot\DataServices\trunk\frameworks\projects\data\src\mx\data\DataStore.as:4543]
         at mx.data::DataStore/persistDataService()[C:\depot\DataServices\trunk\frameworks\projects\data\src\mx\data\DataStore.as:4679]
         at mx.data::DataStore/doSaveCache()[C:\depot\DataServices\trunk\frameworks\projects\data\src\mx\data\DataStore.as:3755]
         at Function/()[C:\depot\DataServices\trunk\frameworks\projects\data\src\mx\data\DataStore.as:3711]
         at mx.data::DataStore/http://www.adobe.com/2006/flex/mx/internal::saveCache()[C:\depot\DataServices\trunk\frameworks\projects\data\src\mx\data\DataStore.as:3727]
         at mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processSequenceResult()[C:\depot\DataServices\trunk\frameworks\projects\data\src\mx\data\DataList.as:3063]
         at mx.data::DataListRequestResponder/result()[C:\depot\DataServices\trunk\frameworks\projects\data\src\mx\data\DataListRequestResponder.as:103]
         at mx.rpc::AsyncRequest/acknowledge()[E:\dev\4.x\frameworks\projects\rpc\src\mx\rpc\AsyncRequest.as:84]
         at NetConnectionMessageResponder/resultHandler()[E:\dev\4.x\frameworks\projects\rpc\src\mx\messaging\channels\NetConnectionChannel.as:547]
    If I then disconnect from the server and attempt to run my client again I get the following error:
    7/27/2010 12:27:46.548 [DEBUG] mx.data.DataService.common.Terminal DataService.fill() called for destination: common.Terminal with args: ["getByMacAddress","001CC4313675"] includesProperties: (include default - excludes: [])
    7/27/2010 12:27:46.548 [INFO] mx.messaging.Producer 'ds-producer-common.Terminal' producer sending message 'EF832901-F3A4-7AE3-EF12-13A8897408CC'
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
         at mx.data.offline::EntityManager/executeSelectQuery()[C:\depot\DataServices\trunk\frameworks\projects\airfds\src\mx\data\offline\EntityManager.as:446]
         at mx.data.offline::EntityManager/executeQuery()[C:\depot\DataServices\trunk\frameworks\projects\airfds\src\mx\data\offline\EntityManager.as:432]
         at mx.data::SQLiteOfflineAdapter/internalExecuteOfflineQuery()[C:\depot\DataServices\trunk\frameworks\projects\airfds\src\mx\data\SQLiteOfflineAdapter.as:318]
         at mx.data::SQLiteOfflineAdapter/executeOfflineQuery()[C:\depot\DataServices\trunk\frameworks\projects\airfds\src\mx\data\SQLiteOfflineAdapter.as:202]
         at Function/()[C:\depot\DataServices\trunk\frameworks\projects\data\src\mx\data\DataStore.as:1651]
         at mx.data::DataStore/http://www.adobe.com/2006/flex/mx/internal::fill()[C:\depot\DataServices\trunk\frameworks\projects\data\src\mx\data\DataStore.as:1765]
         at mx.data::ConcreteDataService/internalFill()[C:\depot\DataServices\trunk\frameworks\projects\data\src\mx\data\ConcreteDataService.as:7235]
         at Function/()[C:\depot\DataServices\trunk\frameworks\projects\data\src\mx\data\ConcreteDataService.as:1317]
         at mx.data::ConcreteDataService/fill()[C:\depot\DataServices\trunk\frameworks\projects\data\src\mx\data\ConcreteDataService.as:1336]
         at mx.data::DataManager/fill()[C:\depot\DataServices\trunk\frameworks\projects\data\src\mx\data\DataManager.as:1560]
         at _Super_TerminalService/getByMacAddress()[C:\Documents and Settings\benp.NB\My Documents\src\qms\workspace\CommonClient\src\common\model\_Super_TerminalService.as:226]
         at airclient.application::AirClientImpl/initialiseTerminalDetails()[C:\Documents and Settings\benp.NB\My Documents\src\qms\workspace\AirClient\src\airclient\application\AirClientImpl.as:146]
         at Function/()[C:\Documents and Settings\benp.NB\My Documents\src\qms\workspace\AirClient\src\airclient\application\AirClientImpl.as:268]
         at mx.collections::ItemResponder/result()[E:\dev\4.x\frameworks\projects\framework\src\mx\collections\ItemResponder.as:129]
         at mx.rpc::AsyncToken/http://www.adobe.com/2006/flex/mx/internal::applyResult()[E:\dev\4.x\frameworks\projects\rpc\src\mx\rpc\AsyncToken.as:239]
         at mx.rpc.events::ResultEvent/http://www.adobe.com/2006/flex/mx/internal::callTokenResponders()[E:\dev\4.x\frameworks\projects\rpc\src\mx\rpc\events\ResultEvent.as:207]
         at mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal::dispatchResultEvent()[C:\depot\DataServices\trunk\frameworks\projects\data\src\mx\data\ConcreteDataService.as:3427]
         at Function/http://adobe.com/AS3/2006/builtin::apply()
         at mx.rpc::AsyncDispatcher/timerEventHandler()[E:\dev\4.x\frameworks\projects\rpc\src\mx\rpc\AsyncDispatcher.as:50]
         at flash.utils::Timer/_timerDispatch()
         at flash.utils::Timer/tick()
    I'm slightly confused by the fact that the offline adaptors are derived from SQLiteOfflineAdapter and are being run within an AIR application but I am still seeing references to the LSODataStore in the logs (which I thought was only used for Flash applications). Also if I attempt to set encryptLocalCache to true I get the following error:
    7/27/2010 12:32:10.409 [DEBUG] mx.data.DataStore Adding data service: common.Terminal to the data store: my-rtmp:true initialized: false
    Error: Encryption is not supported for local shared objects.
         at mx.data::LSODatabase/set encryptLocalCache()[C:\depot\DataServices\trunk\frameworks\projects\data\src\mx\data\LSODatabase.as:149]
         at mx.data::DataStore/set encryptLocalCache()[C:\depot\DataServices\trunk\frameworks\projects\data\src\mx\data\DataStore.as:391]
         at mx.data::ConcreteDataService/set encryptLocalCache()[C:\depot\DataServices\trunk\frameworks\projects\data\src\mx\data\ConcreteDataService.as:227]
         at mx.data::DataManager/set encryptLocalCache()[C:\depot\DataServices\trunk\frameworks\projects\data\src\mx\data\DataManager.as:392]
         at airclient.application::AirServiceFactory/configureService()[C:\Documents and Settings\benp.NB\My Documents\src\qms\workspace\AirClient\src\airclient\application\AirServiceFactory.as:236]
    Does anyone know what's going on here?
    Thanks!

    Ah, thanks! That certainly solves the LSO issue - I've changed to linking with airfds.swc and I'm now seeing lots of healthy looking SQLDBCache output in the logs when I run the application with a connection. Unfortunately if I then stop the server and run the application again I'm still seeing a problem. The app does load some data from the cache (I have several services) but then stops with the following error before it can load everything:
    7/27/2010 15:43:46.929 [DEBUG] mx.data.SQLDBCache SQLDBCache - getCollection(_common.Customer_ic) creating new collection
    7/27/2010 15:43:46.929 [DEBUG] mx.data.SQLDBCache SQLDBCache - before load data - create table if not exists: CREATE TABLE IF NOT EXISTS [_common_Customer_ic] (id VARCHAR PRIMARY KEY, data BLOB);
    7/27/2010 15:43:46.960 [DEBUG] mx.data.SQLDBCache SQLDBCache - after load data - create table if not exists
    7/27/2010 15:43:46.960 [DEBUG] mx.data.SQLDBCache SQLDBCache - before select: SELECT id,data FROM [_common_Customer_ic]
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
         at mx.data::DataStore/restoreReferencedIds()[C:\depot\DataServices\trunk\frameworks\projects\data\src\mx\data\DataStore.as:4766]
         at mx.data::DataStore/restoreReferencedItems()[C:\depot\DataServices\trunk\frameworks\projects\data\src\mx\data\DataStore.as:4736]
         at mx.data::DataStore/restoreAssociations()[C:\depot\DataServices\trunk\frameworks\projects\data\src\mx\data\DataStore.as:4880]
         at mx.data::DataStore/restoreReferencedItems()[C:\depot\DataServices\trunk\frameworks\projects\data\src\mx\data\DataStore.as:4759]
         at Function/()[C:\depot\DataServices\trunk\frameworks\projects\data\src\mx\data\DataStore.as:1742]
         at mx.rpc::Responder/result()[E:\dev\4.x\frameworks\projects\rpc\src\mx\rpc\Responder.as:56]
         at mx.rpc::AsyncToken/http://www.adobe.com/2006/flex/mx/internal::applyResult()[E:\dev\4.x\frameworks\projects\rpc\src\mx\rpc\AsyncToken.as:239]
         at mx.rpc.events::ResultEvent/http://www.adobe.com/2006/flex/mx/internal::callTokenResponders()[E:\dev\4.x\frameworks\projects\rpc\src\mx\rpc\events\ResultEvent.as:207]
         at Function/http://adobe.com/AS3/2006/builtin::apply()
         at mx.rpc::AsyncDispatcher/timerEventHandler()[E:\dev\4.x\frameworks\projects\rpc\src\mx\rpc\AsyncDispatcher.as:50]
         at flash.utils::Timer/_timerDispatch()
         at flash.utils::Timer/tick()
    In both connected and disconnected operation there is no user input, so the sequence of queries should be identical. Each service I use is configured identically except that they each use their own automatically-generated OfflineAdaptor. Any suggestions?
    Many thanks

Maybe you are looking for