Error when loading data from a file XML using HTTPService

Hi all

I have a runtime error that made me beat right now I am building an App in Flash Builder 4 to run on AIR.

The error is as follows: TypeError: Error #1009: cannot access a property or method of a null object reference.

What I'm doing:

I have 2 DropDownList controls, the first is filled with the names of countries and the other with the language options.  All 1 DropDownList control

set to an image control to display the flag of the country and activate the 2nd DropDownList.

The 2nd DropDownList control sets the returned variable equal to the language code.  I then call the function in the language and pass it returned using this variable, I build the string

for langFilePath will be equal to the XML file (which is "Lang_GBR.xml") location on my desktop and then call the HTTPService.

As soon as the function of language is called, the runtime error occurs and highlights the line with btn_LS_mainMenu.label = loadLangService.lastResult.Lang.GlobalTags.btnMenu;

When I try to assign the label of button with a new value in the XML file.

I suspect that maybe it's a trivial mistake, but I can't see it at the moment.

Any help or advice would be appreciated.  Thank you

Code:

<fx:Script>
        <![CDATA[
               
               [Bindable]
               public var langFilePath:String;

               public var langDir:File = File.desktopDirectory;
               public var langCode:String;
               
               public function countrySelect_changeHandler(event:IndexChangeEvent):void
               {
                    switch (countrySelect.selectedItem)
                    {  
                         case ('United Kingdom'):  
                              trace("Item Selected was: "+ countrySelect.selectedItem);
                              img_countryFlag.source = AngolaFlag;
                         break;
                         case ('France'):  
                               trace("Item Selected was: "+ countrySelect.selectedItem);
                               img_countryFlag.source = AustraliaFlag;
                         break; 
                         default:  
                         break;
                     } 
                    langSelect.enabled = true;
                    trace("1st dropdownbox");
               }

               
               public function langSelect_changeHandler(event:IndexChangeEvent):void
               {
                    switch (langSelect.selectedItem)
                    {                                          
                         case ('English'):  
                             trace("Language Selected was: "+ langSelect.selectedItem);
                             langCode = "Lang_GBR";  
                         break;
                         case ('French'):  
                             trace("Language Selected was: "+ langSelect.selectedItem);
                             langCode = "Lang_FRA";  
                         break;
                    }
                    language(langCode);
                }

               public function language(aParam:String):void
               {
                    trace("Code Was: " + aParam);
                    trace("Lang dir: " + langDir.nativePath);
         
                    langFilePath = langDir.nativePath + "/" + aParam + ".xml";
         
                    trace("File to load: " + langFilePath);
                    trace("loadLangFile.url: " + loadLangService.url);
                    loadLangService.send();
                    
                    btn_LS_mainMenu.label = loadLangService.lastResult.Lang.GlobalTags.btnMenu;
               }
          ]]>
</fx:Script>


<fx:Declarations>
     <s:HTTPService id="loadLangService" url="{langFilePath}"/>
</fx:Declarations>


<s:DropDownList x="10" y="201" id="countrySelect" prompt="Please Select Your Country" width="274" enabled="true" change="countrySelect_changeHandler(event)">

<s:DropDownList x="10" y="348" id="langSelect" prompt="Please Select Your Language" width="274" enabled="false" change="langSelect_changeHandler(event)">

Not sure on your XML structure, but for now I see the problem here between these 2 lines of code:

loadLangService.send();
                   
btn_LS_mainMenu.label = loadLangService.lastResult.Lang.GlobalTags.btnMenu;

Data do you your httpService supposed to receive just cannot go so fast to fill the lastResult before calling it in the following line

Try to add a listener to result at your service before sending:

.....

loadLangService.addEventListener (ResultEvent.RESULT, handler);

loadLangService.send();

......

function handler(event:ResultEvent):void {

     btn_LS_mainMenu.label = loadLangService.lastResult.Lang.GlobalTags.btnMenu;

}

Tags: Flex

Similar Questions

  • Cannot find the file error when loading data from text file to Oracle

    Hello

    I have an interface where I am loading a data from the text file to Oracle.
    But when I try to do that I am getting following error.

    ODI-1227: SrcSet0 (load) task fails on the source FILES SAPMM connections.
    Caused by: java.sql.SQLException: file not found: d:/mdb/#General.get_filename
    to com.sunopsis.jdbc.driver.file.FileResultSet. < init > (FileResultSet.java:160)
    at com.sunopsis.jdbc.driver.file.impl.commands.CommandSelect.execute(CommandSelect.java:57)
    at com.sunopsis.jdbc.driver.file.CommandExecutor.executeCommand(CommandExecutor.java:33)

    SAPMM is the name of the connection.
    I use get_filename to get the name of the file and it is fetching a correct value as long as this variable is updated in the previous stage of this interface.
    KM, used for loading is SQL file

    What would be the cause of this error?

    Thank you
    Mahesh

    Also a single query would be ok if I'm moving only generated package (according to your scenario3) scenario and not UI? It running properly?

    Yes... It runs successfully

  • ODI error when loading data from Oracle to Essbase

    Hello and happy new year to everyone!

    I can't load some data from an Oracle table to an Essbase database. The Oracle table has all the members of the Essbase database, columns, and in addition, it has a column for data.

    I use the IKM SQL for Hyperion Essbase (DATA) as IKM and I can't choose a LKM in the dropdown, but I imported the LKM SQL to SQL.

    Error thrown is:

    org.apache.bsf.BSFException: exception of Jython:
    Traceback (innermost last):
    "< String >" file, line 23, in there?
    com.hyperion.odi.essbase.ODIEssbaseException: error reached records the maximum error threshold: 100
    at com.hyperion.odi.essbase.ODIEssbaseDataWriter.loadData (unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (unknown Source)
    at java.lang.reflect.Method.invoke (unknown Source)
    at org.python.core.PyReflectedFunction.__call__ (PyReflectedFunction.java)
    at org.python.core.PyMethod.__call__ (PyMethod.java)
    at org.python.core.PyObject.__call__ (PyObject.java)
    at org.python.core.PyInstance.invoke (PyInstance.java)
    to org.python.pycode._pyx10.f$ 0 (< string >: 23)
    to org.python.pycode._pyx10.call_function (< string >)
    at org.python.core.PyTableCode.call (PyTableCode.java)
    at org.python.core.PyCode.call (PyCode.java)
    at org.python.core.Py.runCode (Py.java)
    at org.python.core.Py.exec (Py.java)
    at org.python.util.PythonInterpreter.exec (PythonInterpreter.java)
    at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:144)
    at com.sunopsis.dwg.codeinterpretor.k.a (unknown Source)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting (unknown Source)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders (unknown Source)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders (unknown Source)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt (unknown Source)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt (unknown Source)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask (unknown Source)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep (unknown Source)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession (unknown Source)
    at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand (unknown Source)
    at com.sunopsis.dwg.cmd.DwgCommandBase.execute (unknown Source)
    at com.sunopsis.dwg.cmd.e.i (unknown Source)
    at com.sunopsis.dwg.cmd.g.y (unknown Source)
    at com.sunopsis.dwg.cmd.e.run (unknown Source)
    at java.lang.Thread.run (unknown Source)

    Caused by: com.hyperion.odi.essbase.ODIEssbaseException: error reached records the maximum error threshold: 100
    at com.hyperion.odi.essbase.ODIEssbaseDataWriter.sendRecordArrayToEsbase (unknown Source)
    ... 32 more

    com.hyperion.odi.essbase.ODIEssbaseException: com.hyperion.odi.essbase.ODIEssbaseException: error reached records the maximum error threshold: 100
    at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
    at com.sunopsis.dwg.codeinterpretor.k.a (unknown Source)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting (unknown Source)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders (unknown Source)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders (unknown Source)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt (unknown Source)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt (unknown Source)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask (unknown Source)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep (unknown Source)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession (unknown Source)
    at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand (unknown Source)
    at com.sunopsis.dwg.cmd.DwgCommandBase.execute (unknown Source)
    at com.sunopsis.dwg.cmd.e.i (unknown Source)
    at com.sunopsis.dwg.cmd.g.y (unknown Source)
    at com.sunopsis.dwg.cmd.e.run (unknown Source)
    at java.lang.Thread.run (unknown Source)



    I'll wait for any help.

    Thank you!

    First of all, I would highly recommend the upgrade because there were a few bugs with the adapters of Hyperion.
    If you set MAXIMUM_ERRORS_ALLOWED to 0 it will be infinite, so it will not stop because of rejected records.

    Once you assign to LOG_ENABLED and LOG_ERRORS Yes
    then you LOG_FILENAME together and ERROR_LOG_FILENAME, put them in a known example location c:\temp on windows.

    Ok?

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • An error in loading data from .csv file using sql * loader

    Hello


    I wrote a control file, to load data into the table.
    The .csv (input file) contains a value that contains within it. So that the value is placed in "" (double quotes)

    The record that contains the value that is quoted is not loaded into the file.

    example: -.
    input file (.csv file)
    001, apple, 1, 31 December 00
    002, "abc, def & ltd", December 1, 31 00

    in the example above second row is not inserted into the table.

    How can I insert all the rows in the table.
    any help is appreciated.

    Thanks in advance...
    RXG

    looks like your control file?

    Try this.
    fields ended by ',' optionally surrounded "" "

  • SOS! -Error to load data from Oracle 11 g to Essbase using ODI

    Hi all.

    I want to load data from oracle database to essbase using ODI.
    I have set up correctly the Hyperion essbase physical and logical topology manager and got the structure ESSBASE BASIC app DEMO.
    The problem is.
    1. when I try see data right click on the table of essbase.
    va.sql.SQLException: driver must be specified
    at com.sunopsis.sql.SnpsConnection.a (SnpsConnection.java)
    at com.sunopsis.sql.SnpsConnection.testConnection (SnpsConnection.java)
    at com.sunopsis.sql.SnpsConnection.testConnection (SnpsConnection.java)
    at com.sunopsis.graphical.frame.b.jc.bE (jc.java)
    at com.sunopsis.graphical.frame.bo.bA (bo.java)
    at com.sunopsis.graphical.frame.b.ja.dl (ja.java)
    to com.sunopsis.graphical.frame.b.ja. < init > (ja.java)
    to com.sunopsis.graphical.frame.b.jc. < init > (jc.java)
    I got the answer of partisan Oracle it's ok, just omit it. The second problem will appear.
    2 create an interface between the oracle and essbase database, click on the option ' staging of deffirent from the area of the "(ce qui signifie que la mise en scène est créé à la base de données oracle) target, and using IKM SQL for Hyperion Essbase (metadata), run this interface".

    org.apache.bsf.BSFException: exception of Jython:
    Traceback (innermost last):
    "< String >" file, line 61, in there?
    com.hyperion.odi.essbase.ODIEssbaseException: invalid value specified [RULES_FILE] for the load option [null]

    at com.hyperion.odi.essbase.ODIEssbaseMetaWriter.validateLoadOptions (unknown Source)

    at com.hyperion.odi.essbase.AbstractEssbaseWriter.beginLoad (unknown Source)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke (unknown Source)

    at java.lang.reflect.Method.invoke (unknown Source)

    at org.python.core.PyReflectedFunction.__call__ (PyReflectedFunction.java)

    at org.python.core.PyMethod.__call__ (PyMethod.java)

    at org.python.core.PyObject.__call__ (PyObject.java)

    at org.python.core.PyInstance.invoke (PyInstance.java)

    to org.python.pycode._pyx1.f$ 0 (< string >: 61)

    to org.python.pycode._pyx1.call_function (< string >)

    at org.python.core.PyTableCode.call (PyTableCode.java)

    at org.python.core.PyCode.call (PyCode.java)

    at org.python.core.Py.runCode (Py.java)

    at org.python.core.Py.exec (Py.java)



    I am very confused by it. Someone give me a solution or other docs.

    Ethan.

    Hello

    You say that you are loading, but you chose the KM for the loading of metadata?
    If you load metadata then you must provide a rules file, if you are loading and then choose the KM - IKM SQL for Hyperion Essbase (DATA)

    Ok?

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Received the error when transferring data from the database file

    Hello...

    I have my using SOA 10.1.3.1.0. I am trying to transfer the data from the CSV of the oracle database.

    The settings of connection in file xml oc4j DBA adapter file in the path C:\product\10.1.3.1\OracleAS_1\j2ee\oc4j_soa\application-deployments\default\DbAdapter is shown below.

    < location connector-factory = name of the connector "ist/DB/DBConnection1" = "Adapter database" >
    < config-property name = "xADataSourceName" value = "jdbc/DBConnection1DataSource" / >
    < config-property name = "dataSourceName" value = "loc/DBConnection1DataSource" / >
    < config-property name = "platformClassName" value="oracle.toplink.platform.database.Oracle9Platform"/ >
    < config-property name = "usesNativeSequencing" value = "true" / >
    < config-property name = "sequencePreallocationSize" value = "50" / >
    < config-property name = "defaultNChar" value = "false" / >
    < config-property name = "usesBatchWriting" value = "true" / >
    < connection pooling using 'none' = >
    < / connection pooling >
    < use security-config 'none' = >
    < / security-config >
    < / connector-factory >


    I get the following error:

    < name of part = "summary" >
    < Summary >
    file:/C:/product/10.1.3.1/OracleAS_1/BPEL/domains/default/tmp/.bpel_FileToDb_v1.0_188277739ed1e0b720c1fefd0275d1c0.tmp/FileToAdapterService.WSDL [FileToAdapterService_ptt::insert (FiletodbCollection)] - SISM JCA Execute of operation "insert" has no reason to: could not create/access the TopLink Session.
    This session is used to connect to the data store. Caused by: loc/DBConnection1DataSource not found
    ; nested exception is:
    ORABPEL-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the data store. [Caused by: loc/DBConnection1DataSource not found]
    See the first exception for the specific exception. You may need to configure the connection settings in the deployment descriptor (i.e. $J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml), and then restart the server. Caused by the Exception TOPLINK-7060 (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.ValidationException

    Description of the exception: could not acquire data source loc/DBConnection1DataSource

    Inner exception: javax.naming.NameNotFoundException: loc/DBConnection1DataSource not found.
    < / Summary >
    < / part >


    What is the error in the loc/DBConnection1DataSource line? Guys thank you in advance...


    Thank you...

    Published by: userus007 on January 2, 2010 17:16

    Published by: userus007 on January 2, 2010 17:18

    Visit similar thread oc4j - RA.xml and data - sources.xml

  • Loading data from the external XML file

    Hello people!

    I have a XML file on my server, updated by cron every 10 minutes and I want to load data to my webworks her application, but the jquery ajax function do not support the folded areas. So here's my question - how should this information? Can I somehow download this file and then use ajax?

    Welcome!

    in your config.xml file, add an authorization to access your server:

    subdomains of http://www.yourserver.com"="true"/ >

    This will get by cross-origin issues.

  • Error message ORA-01722 loading data from text file

    Hi all

    I want to load data into the table 'dh_healthcare '.

    with the columns:

    ...

    NUMBER OF RMI,

    NUMBER OF KUM,

    ...

    Loading data with the APEX data workshop, I got the error message ' ORA-01722: invalid number. "

    For example, ALEXIS has the following values:

    1.99

    6.49

    4.14

    ...

    KUM:

    139,30

    51.32

    165,23

    ...

    I tried to put the precision and scale in the column definition, but the same error message appears.
    When I changed the data type of these columns in VARCHAR2 (60) the data loaded without error message.

    Someone at - it an idea to solve the error?

    Thank you

    Ben

    This has to do with the settings of NLS Session about the decimal separator and the group separator.

    How you load the data in the table determines where and how you set the Session variables.

    MK

  • How to ignore the details of footer when loading data from a .txt file

    Hello experts,

    I import data from a txt file in my database. I jumped my header using SKIP information, but how can I ignore my footer details.
    Thank you

    Answer on your other thread:

    Txt for a required format file processing

  • Error when displaying data from the data store

    Hello gurus,


    We are also facing the issue with driver when we try to view data from a data store links to Hyperion Essbase technology.
    ODI version is 11.1.1.6.
    Here is the error we receive:

    java.lang.IllegalArgumentException: Driver name cannot be empty
         at org.springframework.util.Assert.hasText(Assert.java:161)
         at com.sunopsis.sql.SnpsConnection.setDriverName(SnpsConnection.java:302)
         at com.sunopsis.dwg.dbobj.DwgConnectConnection.setDefaultConnectDefinition(DwgConnectConnection.java:380)
         at com.sunopsis.dwg.dbobj.DwgConnectConnection.<init>(DwgConnectConnection.java:274)
         at com.sunopsis.dwg.dbobj.DwgConnectConnection.<init>(DwgConnectConnection.java:288)
         at oracle.odi.core.datasource.dwgobject.support.DwgConnectConnectionCreatorImpl.createDwgConnectConnection(DwgConnectConnectionCreatorImpl.java:53)
         at com.sunopsis.graphical.frame.edit.EditFrameTableData.snpsInitializeSnpsComponentsSpecificRules(EditFrameTableData.java:85)
         at com.sunopsis.graphical.frame.SnpsEditFrame.snpsInitialize(SnpsEditFrame.java:1413)
         at com.sunopsis.graphical.frame.edit.AbstractEditFrameGridBorland.initialize(AbstractEditFrameGridBorland.java:623)
         at com.sunopsis.graphical.frame.edit.AbstractEditFrameGridBorland.<init>(AbstractEditFrameGridBorland.java:868)
         at com.sunopsis.graphical.frame.edit.EditFrameTableData.<init>(EditFrameTableData.java:50)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at oracle.odi.ui.editor.AbstractOdiEditor$1.run(AbstractOdiEditor.java:176)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
         at java.lang.Thread.run(Thread.java:662)
    Is there a specific JAR file associated with Hyperion Essbase?
    and where do I find the default drivers provided with ODI?

    Help, please.

    Thank you
    Santy.

    You cannot view data from a store of essbase data as it is not configured with a driver that supports this feature

  • Get the error when loading data into the base cube

    Hi all

    I get the error by loading the file of hollow data to the database below.
    Please take suggest me...

    I use ESSBASE 9.3.1.3.


    Error:

    Basic charge database
    The Xchgrate database management
    Load the database Interntl
    Sample application loaded - connection established
    Start the application [example] with the process id [1688]
    Empty invalid character in name (E:\My personal Data\Test\222.txt) based on the ESSAPI EssUpdateFile
    Unexpected error Essbase 1030010

    Empty invalid character in name (E:\My personal Data\Test\222.txt) based on the ESSAPI EssUpdateFile

    Essbase has problems with spaces (white space characters) the path names (my personal data)

    Rename your path or move the data file to a location that has no characters/spaces in the path name.

  • load data from csv file into table

    Hello

    I'm working on Oracle 11 g r2 on UNIX platform.

    We have an obligation to load data to the table to a flat file, but on one condition, need to make the comparison between filed primary key if the file is available then update another filed and if the recording is not available, we need to insert.

    How can achieve us.

    SQLLoader to load the CSV file data into a staging Table.

    Then use the MERGE SQL command to the lines of insert/update of table setting for the target table.

    Hemant K Collette

  • Ask Timedout error when sending data from planning thorugh Smart view

    Hello

    We receive Request Timed out error when trying to send data to the planning application by using Smart view.

    "Unable to connect to the provider because: the request has timed out." Contact your administrator to increase netRetryCount and netRetryInterval. "Is someone can you please tell me where I can increase the time-out settings? Can someone give me the link to the document that detailed the steps to do this.

    Go to the knowledge base and search for document ID 744559.1

    Cause
    By design, Internet Explorer imposes a time-out for the server limit return data. Internet Explorer does not indefinitely wait for the server to come back with data when the server has a problem.

    Smart View communicates via HTTP to which Internet Explorer DLLs are used. Smart Display users who run large queries or have a slow network connection might encounter the error, "the request has timed out. Contact the administrator to increase NetRetryCount and NetRetryInterval. »

    This error message may be misleading because this error also occurs if Internet timeout settings Explorer does not respond to large farms. By default, Internet Explorer has a value of KeepAliveTimeout to a minute and another factor limiting (ServerInfoTimeout) of two minutes.

    Solution
    Please see the following two Microsoft articles for more information:

    http://support.Microsoft.com/kb/813827
    http://support.Microsoft.com/kb/181050

    The following steps must be made with the help of your systems management group. It is recommended that a backup of the registry is performed before making any changes.

    On the client computer, add/update the following registry keys:

    1. open the registry, Start-> Run-> Regedit.

    2. Locate the following section:

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings].

    3. create the new DWORD key with decimal values:

    ReceiveTimeout = 480000

    KeepAliveTimeout = 180000

    ServerInfoTimeout = 180000

    In this example, the ReceiveTimeout setting is 8 minutes. KeepAliveTimeout and ServerInfoTimeout settings are 3 minutes. These values are set to demand longer running more.

    4 restart the machine for the new settings to take effect.

  • Failed to load data from the staging area using the map of ERP SAP ABAP

    Hello

    I am new to ODI and some challenges. ODI 11g (11.1.1.6.0) I want to move data from a SAP EHP6 system to a warehouse of the oracle. I got the table that I need, using the SAP reverse engineering metadata browser. I then created the interface and on executing this operation fails on task/Session 13 - Loding - Srcset0 - load data into a staging. I use a shared directory. I put FTP_TRANSFER_METHOD = FSMOUNT_DIRECT. I get the error message is

    org.apache.bsf.BSFException: exception of Jython:
    Traceback (most recent call changed):
    File '< string >", line 14, in < module >
    Load error: see /home/dwsap/ZODI_13001_11001_GLOBAL.log for more details

    to org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
    to com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:322)
    to com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
    to com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2472)
    to oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:47)
    to oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
    to oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
    to com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
    to com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
    to com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:558)
    to com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
    to com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ 2.doAction(StartSessRequestProcessor.java:366)
    to oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 0 (StartSessRequestProcessor.java:292)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:855)
    to oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
    to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:82)
    to java.lang.Thread.run(Thread.java:744)
    Caused by: Traceback (most recent call changed):
    File '< string >", line 14, in < module >
    Load error: see /home/dwsap/ZODI_13001_11001_GLOBAL.log for more details

    to org.python.core.PyException.doRaise(PyException.java:219)
    to org.python.core.Py.makeException(Py.java:1166)
    to org.python.core.Py.makeException(Py.java:1170)
    to org.python.pycode._pyx0.f$ 0 (< string >: 50)

    to org.python.pycode._pyx0.call_function (< string >)
    to org.python.core.PyTableCode.call(PyTableCode.java:165)
    to org.python.core.PyCode.call(PyCode.java:18)
    to org.python.core.Py.runCode(Py.java:1204)
    to org.python.core.Py.exec(Py.java:1248)
    to org.python.util.PythonInterpreter.exec(PythonInterpreter.java:172)
    to org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:144)
         ... 19 more


    I checked the log file and it contains the following


    $ ZODI_13001_11001_GLOBAL.log more

    SQL * Loader: release 11.2.0.4.0 - Production on Thu Mar 27 11:19:17 2014

    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

    SQL * Loader-704: Internal error: ulconnect: OCIServerAttach [0]
    ORA-12504: TNS:listener did not have the SERVICE_NAME in CONNECT_DATA


    I checked my tnsnames.ora and it seems to be OK


    tnsnames.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.

    XXXXXX =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxxxxx) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = xxxxxx)
    (SID = xxxxxx)
    (GLOBAL_NAME = xxxxxx)
    )
    )


    Here's my listener.ora


    listener.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxxxx) (PORT = 1521))
    )
    )
    ADR_BASE_LISTENER = / u01/app/oracle



    What could be the problem?

    Concerning

    Thanks a lot for your help. The problem is that I had put in the incorrect name of the instance.

  • Digital loading data from text file for Test of numerical limit

    I am a new user of TestStand 2014.  Just downloaded the demo ran successfully the computer.dll tutorial & example "loading limits a File.seq text"; & is now trying to build my own sequence from scratch.  I want to load a number from a text file using the property Loader.  The file contains the following:

    GGbeg
    484
    GGend

    My hand sequence contains 2 markets (see attachment):

    Charger property (which reads the text file & must store the number 484 in the Step.Result.Numeric variable, right?)

    GG-digital-test (which should test the number 484 in Step.Result.Numeric as a Data Source, right?)

    But when I run it, the measure indicates "0" for the value instead of "484".  What I am doing wrong?  Thank you in advance for your help!

    George

    Hi George,.

    The text file must be in the format, includes no property magazine. Use the following in the text file to make it work:

    GGbeg
    Result.Numeric
    GG-digital-test 484

    Value of the variable

    Value of the variable

    Value of the variable
    GGend

    In the Tools menu of the sequence editor, there are some 'Properties Export/Import' tool, which helps to create text files to be used with charger property stage. I highly recommend to create the new file using the tool and then edit the file to change the values.

    -Shashidhar

Maybe you are looking for