Store object reference in variable resolved by other variable

Hi everyone,
In my test setup I use a Thread and I want to store an object ref to that Thread in a variable (type: object reference).
In the sequence call settings I can provide a variable where I want to store this.
I've done this before and it all worked fine. When I stop the thread I'm able to use a wait step that waits for the thead to stop by providing the reference I stored when the thread was started.
Now I want to store the reference in a variable that is based on another variable. In my situation the following construction works. This is way I've entered in the Sequence call settings:
#NoValidation = True, Evaluate("FileGlobals.ModuleConfig." + Parameters.ModuleInstance + ".ThreadRef")
As you can see Parameters.ModuleInstance determines in which container the thread ref should be stored. But since this parameter is empty by default the evaluation fails so I have to use #NoValidation.
This seems a bit ugly to me so I also tried:
FileGlobals.ModuleConfig.GetPropertyObject(Parameters.ModuleInstance + ".ThreadRef")
According to teststand this construction is OK, however my thread ref is not stored in this case...
Is the first option I mentioned the only possible way for my problem? Or are there other, more elegant ways?

Hi Kayr,
I agree that the second approach you mention is the more elegant way to accomplish this.  I was able to successfully use this method on my end to access a propertyObject.  Can you send a sample sequence file so I can take a look?
Al B.
Staff Software Engineer - TestStand
CTA/CLD

Similar Messages

  • Bytes to store object reference in java

    How many bytes does java uses to store a reference of an object?
    I am calculating the load on my application server from my application.

    How many bytes does java uses to store a reference of
    an object?
    I am calculating the load on my application server
    from my application.It depends on the size of the object itself, and its not a easy thing to do :S *sigh
    read this...
    http://developer.java.sun.com/developer/qow/archive/107/

  • Correct way to construct variable based on other variable's name

    Hello!
    I have done this topic based on some modifications of this thread.
    The problem is that I can't understand how to manipulate with selection of the columns as variable when iterating over loop.  My goal is to define multiple variables for 'select' and choose correct one when the adequate topic is selected on loop. It seems
    that my problem is that I'm not correctly construct the variable for 'select' by using 'invoke-expression'.
    The source file is the following:
    topic=interface_bridge ruleaction=add name=vlan10
    topic=interface_bridge ruleaction=add name=vlan13
    topic=interface_ethernet set=1 comment=DMZ
    topic=interface_ethernet set=2 comment=Servers
    The script is the following:
    $file="c:\scripts\mk.txt"
    #selections
    $interface_ethernet='comment','name','set','switch','master-port'
    $interface_bridge='comment','name','protocol-mode'
    #topics
    $topic_int_bridge='interface_bridge'
    $topic_int_ethernet='interface_ethernet'
    $topics=@($topic_Int_bridge, $topic_int_ethernet)
    foreach ($topic in $topics)
    $match='^topic='+$topic+'\s+'
    $result_File = 'config_'+$topic+'.txt'
    #construct selection
    $select = '$'+$topic
    $interface_ethernet='comment','name','set','switch','master-port'
    $interface_bridge='comment','name','protocol-mode'
    ##automatically select correct topic on loop - This does not work correctly on loop
    ##the main idea is to constuct select variable based on topic name
    $select_topic=invoke-expression ('$'+$topic)
    $results = Get-Content mk.txt | Where-Object { $_ -Match $match }| foreach { new-object PSObject -Property $($_ -replace '^' -replace ' ',"`n" | convertfrom-stringdata) }
    $results | select $select_topic
    I'm hang on the following: when I run the script it only takes first selection ($interface_bridge) gives the result about first topic (bridge), and for second (ethernet) - only comments (this means that the second selection for interface_ethernet (variable
    $interface_ethernet) is not used.
    comment name protocol-mode
    vlan10
    vlan13
    DMZ
    Servers
    Expected result should be the following:
    comment name protocol-mode
    vlan10
    vlan13
    comment set name switch master-port
    DMZ 1
    Servers 2
    Question:
    How to modify the script that the result is printed for each topic with adequate selection:
    1) when looping over topics, when the topic interface_ethernet is processed select and print results for variable $interface_ethernet
    (selected items 'comment','name','set','switch','master-port')
    2) when looping over topics, when the topic interface_bridge is processed select and print results for variable $interface_bridge
    (selected items 'comment','name','protocol-mode')
    3) etc...
    Each topic should be on separated iteration block because for each will be generated csv file with each own header. 
    Thanks.

     I just shorted my question. I hope that it can be better understandable. The source file is the following:
    topic=interface_bridge ruleaction=add name=vlan10
    topic=interface_bridge ruleaction=add name=vlan13
    topic=interface_ethernet set=1 comment=DMZ
    topic=interface_ethernet set=2 comment=Servers
    Expected result should be the following on pipeline or on separate csv files:
    comment name protocol-mode
    vlan10
    vlan13
    comment set name switch master-port
    DMZ 1
    Servers 2
    Expected behavior:
    1) Select variables for each of the topic should be in the following form
    $interface_ethernet='comment','name','set','switch','master-port'
    $interface_bridge='comment','name','protocol-mode'
    2) when looping over topics (the topics can be more than 50), when the topic interface_ethernet
    is processed select and print results for variable $interface_ethernet
    (selected items 'comment','name','set','switch','master-port')
    3) when looping over topics
    (the topics can be more than 50),
    when the topic interface_bridge is processed select and print results for variable $interface_bridge
    (selected items 'comment','name','protocol-mode')
    As the topics can be more than 50 it wouldn't be a good idea to write separate condition
    for each topic.

  • Object references and array of integers

    Hello,
    Taking some java test, I came across the following question:
    Given the below (UML) diagram, how many of the ClassA attributes will be object references when this class is implemented in the Java language?:
           ClassA                                         <<enumeration>>   
                                  ------------------->         Enum1
          var1 : int                                              
          var2 : String                                         Elem1
          var3 : int[]                                          Elem2
          var4 : float                                          Elem3
          var5 : Double                                         Elem4
          var6 : Enum1   I answered 3, but the correct answer was 4. The one which I did not include was var3. Why will var3 be an object reference?
    Thank you,
    Mihai

    That is true, my mistake. Arrays are object references (you do indeed instantiate an array by using the new keyword), but I was thrown off by what the array holds, namely primitive types, not object references.
    Thank you,
    Mihai

  • How do I store VI References in global variables and access them later

    From what I know, Labview automatically deletes VI references when they go out of use. Is there a way for me to override this so that I can access a set of preloaded references in a separate VI? Essentially I would like to open the VI's dynamically into the memory, store the references in global variables and access them at a later time. The VI's I'm referencing won't be known until runtime. I know its not the safest way to do it, but it would be the most productive on my end.
    Thank you
    Clay Upton

    I'm not sure what you mean by "a later time", but a VI reference will remain valid as long as the VI is in memory. If you don't unload the VIs, the references will remain valid.
    If you do need to unload the VIs, for whatever reason, I would suggest the following:
    Create a functional global as your interface for obtaining the references.
    Feed the paths to the VIs into the VI when initializing it (since you don't know which VIs in advance).
    When calling the VI to obtain the references, have the VI check them first (using the Not a Number... primitive). If it sees that they're invalid, it can open a new reference and return that.
    You should note that when a VI is removed from memory, the data space is used is released, so if those VIs are expected to hold data (using shift registers, etc.) this will be a problem.
    The description I've given will only be usable in certain instances (and it has its intricacies), but you didn't really give any details about what you're actually trying to accomplish.
    Try to take over the world!

  • Why Java provides Object cloning even if there is Object reference variable

    In both cases original value get changed. What is the difference between these (clonable interface & Object reference variable)

    Cloneable is a way to make a copy of an object, so that you now have two objects, usually with the same state. Assigning the value in one reference variable to another variable (I can only assume that's what you're talking about, as your question is not clear at all) does not create another object.

  • How to create a local object reference variable in teststand sequence file programatically using C#

    I want to create a local object reference variable in a TestStand sequence file programatically using C#.

    Hi,
    Accoring to your reply in this Thread
    http://forums.ni.com/ni/board/message?board.id=330&thread.id=26984
    Just try this example. There you will create a numeric variable during excuting a sequence!
    Hope this is what you are looking for. 
    Please attach all your questions here.
    juergen
    =s=i=g=n=a=t=u=r=e= Click on the Star and see what happens :-) =s=i=g=n=a=t=u=r=e=
    Attachments:
    CTestStandDialog.zip ‏31 KB

  • "Object reference not set to an instance of an object" on stored proc.

    So, I use VS 2005 with Oracle 11 rel. 11.1.06.0.
    I installed ODP for .net (ODAC 11.10621).
    but, when I call some stored proc wich was working previously, when calling stored proc:
    oProcAppendWebFolder2.Parameters("p_siteid").Value = vSiteID
    oProcAppendWebFolder2.Parameters("p_webfoldername").Value = vWebFolderName
    oProcAppendWebFolder2.Parameters("p_includestartpage").Value = IIf(vIncludeStartPage, "Y", "N")
    oProcAppendWebFolder2.ExecuteNonQuery()
    I often got message:
    Object reference not set to an instance of an object. (I got this message when calling ExecuteNonQuery)
    proc is simple:
    FUNCTION AppendWebFolder(p_SiteID IN NUMBER, p_WebFolderName IN VARCHAR2, p_includeStartPage IN char) RETURN NUMBER AS
    v_errcode               PLS_INTEGER :=0;
    v_retval                PLS_INTEGER :=0;
    BEGIN
    UPDATE DBSEQUENCES SET VALUE=NVL(VALUE,0)+1
         WHERE seqid=4
         RETURNING VALUE INTO v_retval;
    INSERT INTO WEBFOLDERS(webfolderid, siteid, webfoldername, include_startpage)
         VALUES (v_retval, p_siteid, p_webfoldername, p_includestartpage);
         RETURN (v_retval);
    EXCEPTION
    WHEN OTHERS THEN
    v_errcode := SQLCODE;
         g_errm := SUBSTR(SQLERRM,1,LONG_VARCHAR);
         Appenderror(g_errm, 0, class_name, 'AppendWebFolder', 'siteid: ' || p_siteid || ' webfoldername: ' || p_webfoldername,0);                                              
    RETURN (v_errcode);
    END AppendWebFolder;
    procedure call declaratiion in .net is:
              oProcAppendWebFolder2 = New OracleCommand("appendwebfolder", oConn)
              oProcAppendWebFolder2.CommandType = CommandType.StoredProcedure
              oProcAppendWebFolder2.Parameters.Add("retval", OracleDbType.Int32, ParameterDirection.ReturnValue)
              oProcAppendWebFolder2.Parameters.Add("p_siteid", OracleDbType.Int32, ParameterDirection.Input)
              oProcAppendWebFolder2.Parameters.Add("p_webfoldername", OracleDbType.Varchar2, ParameterDirection.Input)
              oProcAppendWebFolder2.Parameters.Add("p_includestartpage", OracleDbType.Char, 1, "", ParameterDirection.Input)
              oProcAppendWebFolder2.Prepare()
    note that such error was not appearing when I used oracle XE
    Edited by: user465054 on Dec 17, 2008 9:47 AM

    If it is a web application, I would suggest using HTTP sessions to store the ReportDocument object.
    See this KB for reference code on how to use session.
    http://search.sap.com/ui/notes?id=0001985571&boj=/sap/bc/bsp/spn/scn_bosap/notes.do?access=69765F6D6F64653D3939382669765F7361706E6F7465735F6E756D6265723D30303031393835353731&ssocompatible
    If that does not resolve the issue, provide below info.
    - Version of CR with patch level.
    - Version of VS
    - Win or web app?
    - What happens when you refresh the report in viewer using refresh button?
    Thanks,
    Bhushan

  • Access vis NULL object reference.

    Hi experts,
    I have a component having context->node1->usernr
    usernr is one of the attributes in node1.
    node1 has cardinality 0..n
    I have two views, view1 and view2 in the window.
    both the view contexts have mapping with node1 of component controller context.
    View1 has a table that shows usernr as a column and view2 has an inputfield, the value of which is bound to usernr.
    On clicking a button in view1, I am creating an element of node1 and binding it to the node. this os working fine. Also I am firing the outplug of view1 which is connected to inplug of view2.
    I debugged the view2 and it is going upto the HANDLEIN_view2_inputplug
    Then I just get this dump "Access via 'NULL' object reference not possible."
    Error in the ABAP Application Program
    The current ABAP program "CL_WDR_VIEW_ELEMENT_ADAPTER===CP" had to be terminated because it has come across a statement that unfortunately cannot be executed.
    Error analysis
    You attempted to use a 'NULL' object reference (points to 'nothing') access a component (variable: " ").
    An object reference must point to an object (an instance of a class) before it can be used to access components.
    Either the reference was never set or it was set to 'NULL' using the CLEAR statement.
    Information on where terminated
    Termination occurred in the ABAP program "CL_WDR_VIEW_ELEMENT_ADAPTER===CP" -     in "GET_ATTRIBUTE_EXTERNAL".
    The main program was "SAPMHTTP ".
    In the source code you have the termination point in line 10 of the (Include) program "CL_WDR_VIEW_ELEMENT_ADAPTER===CM00Q".
    Source Code Extract
    Line  SourceCde
        1 method get_attribute_external.
        2
        3   data data_container type ref to cl_wdr_data_container.
        4   data attribute type wdr_attribute_pointer.
        5   data client_component type ref to cl_wdr_client_component.
        6
        7   attribute-attribute_name = i_binding->attribute_name.
        8   attribute-element ?= get_bound_element( i_binding ).
        9   client_component ?= attribute-element->node->controller->component->data_container_superio
       11   data_container = client_component->data_container.
       12
       13   e_value = data_container->get_and_format( attribute = attribute ).
       14
       15 endmethod.
    Error is at line 9
    Chosen variables
    Name
        Val.
    No.      21 Ty.          METHOD
    Name  CL_WDR_VIEW_ELEMENT_ADAPTER=>GET_ATTRIBUTE_EXTERNAL
    I_BINDING
        0000000C
        D0000002
    E_VALUE
    SY-REPID
        CL_WDR_VIEW_ELEMENT_ADAPTER===CP
        0000000000000000000000000000000000000000
        0000000000000000000000000000000000000000
        4455455544554444445544455453334522222222
        3CF742F6957F5C5D5E4F1410452DDD3000000000
    %_DUMMY$$
        0000
        0000
        2222
        0000
    ATTRIBUTE-ATTRIBUTE_NAME
        USERNR
        000000
        000000
        554545
        5352E2
    I_BINDING->ATTRIBUTE_NAME
        USERNR
        000000
    =======================================================================
    The thing that is worrying me is that nothing like this was happening at all earlier. I tested the application quite a few number of times and then suddenly this started. Since then it has not stopped.
    I am unable to understand the reason for this. Pl help.
    Regards,
    Reema.
    Edited by: Reema Shahbazkar on Jun 12, 2008 3:28 AM

    Hey Reema,
    Were you able to resolve this error. I am facing exactly the same issue currently . My primary data container nodes belong to the component controller. I did verify the same for any change in the cardinality and dont see anythign thats changed which could be impacting my views. In any case, I had kept the cardinality as 0...n initially to be safe since there cud be scenarios where no values can exist for the same at runtime.
    Please do let me know how you happened to resolve this.
    Thanks,
    Puja.

  • Expected Object Reference?

    Hello,
    I am attempting to create my own version of modelsupport2.dll's parallel UUT dialog.  (It will use the TestStand Sync Manager to enqueue requests just like the existing Parallel model's parallel UUT dialog does.)  I am faced with a couple issues right off the bat that don't make a whole lot of sense to me.
    For one thing, despite the fact that my dialog box (written in VB .NET by the way) is initialized in a sub-sequence of the TestUUTs execution entry point that is configured to run in a separate thread, the TestUUTs sequence still hangs around and waits for the dialog box to close before continuing on.  (This is clearly a problem since the whole point is to have the main thread continually process requests while the dialog box on a separate thread is busy enqueuing requests...)  Does anyone have any idea why that could be happening?  Maybe other sequence settings that I'm not aware of?
    Another problem I'm having (although I wasn't initially having this problem) is the following error message: "Expected Object Reference, found Object Reference".  The error code shows "-17308; Specified value does not have the expected type".  This happens in the .NET action step in which I call my .NET assembly to create the object representing the dialog.  The object reference specified for the create object call is a parameter called CustomDialogRefParam - a parameter of type Object Reference.  The TestUUTs execution entry point has a CustomDialogRef local variable of the same type, and it passes it by reference to the Run UUT Info Dialog subsequence...  The idea was that the Run UUT Info Dialog subsequence would create the object, and from that point on, it would be available to the TestUUTs sequence.  Is there anything fundamentally wrong with this idea, or does anyone have any suggestions as to what may be causing this sort of error?
    Thanks for any suggestions.  Let me know if I need to clarify anything.

    Hello,
    Thanks for the feedback.  I actually fixed the problem with the thread not operating independently, (although I can't say I'm completely sure why I needed to do what I did).  The function call that starts the dialog is passed the sequence context from TestStand.  In order to allow TestStand to continue I had to set the sequence context's thread to the "externally suspended" state.  I can now get it to work in a very simple fashion.  (Basically, all it does is open up and wait for the user to click the exit button.  When that happens, the dialog uses the sync manager component to enqueue the appropriate requests to cause TestStand to stop all test sockets and exit the "process dialog requests" consumer loop.  Only problem I have now, is that for some reason, if I put a break point in the sequence after the dialog has been initialized, execution on the main thread stops as expected, but then attempting to step into, step over, or continue cause it to just hang.  (I can't even terminate the process - I have to actually close TestStand entirely.)  So long as I don't pause execution though, it runs flawlessly.
    I'm still stuck on the passing of the .NET object reference though.  Oddly enough, it seems to work if I reference the object reference in a subsequence using the following syntax:
    RunState.Caller.Locals.CustomDialogRef
    But if I try to create an object reference parameter and pass the custom dialog ref by reference, it still fails with this strange "type mismatch"...  I still can't find any solution that works for accessing the object reference from sequences that are started on a separate execution...  Maybe I can store the reference in a station global...  I hate using globals though - it goes against my idea of good programming.
    Anyway, thanks again, and any additional suggestions are certainly appreciated.

  • A simple teststand applicatio​n passing object reference to C#

    Hi,
     I have a  .NET application written in C# which has a UI with  NationalInstruments.TestStand.Interop.UI.Ax.AxExpressionEdit controls. This UI is invoked by a custom step in TestStand. One of the values, entered by user in the UI is a object reference variable created in a previous step. I need to store the values entered in the UI during the edit mode of the step, into the TestStand Step variables. And during the run mode i use these values to execute the logic in C#. 
    The problem is during edit time, the object reference variable, entered in the UI, has no value. It is null. So there is no use storing it at edit time. During the runtime i am trying to retrieve the value of the object reference variable using GetValInterface(...) and GetValIDispatch(..) methods of PropertyObject. But the object returned to C# is of type System.__COMObject wherease in TestStand that object reference is of type .NET.
    I don't know how a .NET object reference is converted to COM object when it is returned to .Net function.
    Also is there any other method to send this object reference variable's (whose value is '.NET' in previous step itself) value to .NET as a .NET object only so that i can typecast to appropriate type and start using.
    Thanks.
    Please let me know if anything is not clear.
    I have attached the .Net project, .ini file for the custom step and a example sequence file.
    Attachments:
    CCustomStepObj.zip ‏23 KB

    Hello Shivapriya,
    The example you've sent doesn't compile. And it without it I'm affraid I do not understand the problem you're describing.
    You've given references to libraries that you've not attached with your files.
    For the C# I see these are the
    IADCore.dll
    InstrimentInterfaces.dll
    TestStand also seems to want to reach for the assembly named TestSystem.dll.
    I can only tell you that I have used successfully in the past the Variables in TestStand to hold .NET object references, and call methods on them and I experienced nothing similar that you describe, but I don't quite follow what is the problem here, as I can't use the example. 
    I would appriciate if you cold narrow down the example to 1 dll or something where the problem occurs and than resend it.
    Regards,
    Maciej 
    Message Edited by Mac671 on 09-28-2009 02:59 AM

  • Object Reference Column in a SqlCe Data Table

    This may be a strange question...
    I've defined a table in a SqlCe database (using VS C#2010 Express) that will never have any data persisted in it.  I did this so I can instantiate versions of it using the designer generated strongly typed table definition without ever directly using
    the one that's in the database.  (That may be obtuse, but it seems to work quite well, I don't need to worry about the database overhead, and I get all the documentation and code creation the designer provides).
    I've now run into a situation where I'd like one of the columns in the instantiated tables to contain references to C# objects (always requiring casting of course to use them).  Can I do that and, if so, what SqlCe datatype would I use to get a column
    that can contain an object reference?
    Thx.  Steve

    Erik -
    I'll admit to trying to cut some corners, which I'd like to do if there's a way that doesn't cross some .Net, Visual Studio  or C# line.
    As you noted, I do want to store a reference to the object ONLY during runtime.  I can certainly use a List or a DataTable created for that purpose, which is really what I want to do.  I'd like to use a DataTable that I already have setup
    to store other variables, so that as I traverse it (e.g. using foreach DataRow), I can reference the object as well as the other variables using the foreach DataRow reference. 
    The trick I want to use is to define the DataTable using the VS database designer rather than manually creating the code that defines it.  The designer is visual, easy to use, self-documenting, and of special note makes the code that uses
    the DataTable easy to read because the resulting DataTable is strongly-typed.  I should have more clearly exhibited in the sample code how I use the strong-typing in the line that sets myDataRow.  It should read: "MyDatabaseDataSet.MyTableDataRow
    myDataRow = myDataTable.Rows[I];", where "MyDatabaseDataSet.MyTableDataRow" uses to the VS generated strongly-typed DataRow definition.  Note that the code does not store data in the database's
    DataTable itself.  It merely uses the database's DataTable DEFINITIONS to instantiate other tables.
    I have used this approach when the all data in the DataTable is of one or more native C# types (int, decimal, etc) for which there are corresponding SqlCe types.  However, I'd like to use it with a custom type (MyObject), if that's possible, and am
    looking for what SqlCe type might work for that purpose, if any.
    I admit that this may be an unusual way to create a DataTable definition.  I'm not sure where I can up with the idea.  I may have read it somewhere or just cooked it up myself.  But I really like what the strong-typing provides (without having
    to manually create it myself).
    Is there any way to include custom types using this idea?

  • Serialization of Object reference

    Hi,
    I'd like to serialize (or store in some way) a reference I have on
    an Object. This reference is coming from a stateful bean, so it's
    an Object instance and not serializable. The idea is to be able to
    retreive the reference on the bean after a failure of the client.
    Thanks for your help.
    --MA                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    If the reference is not serializable then what you can do is
    override writeobject() and readObject() method. I the write object write down information regarding that reference(it depends on your application). Stateful bean construct details.
    In readObject() read those details and get a reference to it through JNDI and set that reference to your object reference variable.
    This is Custom Serialization.

  • How object references work

    Hi guys,
    class A{ public void aM(int i) { 
    System.out.println(this.toString()+" Iam a " + i);} }
    class B extends A{ public void bM(int i) { 
    System.out.println(this.toString()+" Iam b "+ i); } }
    class MyClass{ public static void main(String arg[]){
    A a = new A(); B b = new B();
    a.aM(1); //calls the method in object 'a'
    b.bM(2); //calls the method in object 'b'
    a = b; // compiles properly
    a.aM(3); //calls the method in object 'b'
    a.bM(); // compilation error cannot resolve symbol
    b = a; // compilation error incompatible types
    b = (B)a; // compiles properly
    b.aM(4); // calls the method in object 'b'
    b.bM(5); // calls the method in object 'b'
    How object references works
    in the above class if i assign subclass reference to superclass reference variable it gets compiled, but superclass reference to subclass reference variable give compilation error without explicit casting;
    why this behaviour?
    what compiler checks at compilation time and what JVM checks at runtime?
    In the method calls also it is calling methods on the object 'b', why?
    Thanks.

    Sorry, but I don't want to read that code. The
    formatting makes it very hard to follow the flow.Sorry , please check this code
    class A{
      public void aM(int i) {
       System.out.println(this.toString()+" Iam a " + i);
    class B extends A{
      public void bM(int i) {
       System.out.println(this.toString()+" Iam b "+ i);
    public class MyClass{
      public static void main(String arg[]){
         A a = new A();
            B b = new B();
         a.aM(1); //calls the method in object 'a'
         b.bM(2); //calls the method in object 'b'
         a = b; // compiles properly
         a.aM(3); //calls the method in object 'b'
         a.bM(); // compilation error cannot resolve symbol
         b = a; // compilation error incompatible types
         b = (B)a; // compiles properly
         b.aM(4); // calls the method in object 'b'
         b.bM(5); // calls the method in object 'b'
    }

  • Web-UI error message "Access via 'NULL' object reference not possible"

    I need some help, I'm not a Basis person but I need to get this connection problem resolve.
    This problem is in our DEV ICWeb system.  After logging in to Web-UI, I got a error message "Access via 'NULL' object reference not possible".  We have 3 clients (100, 220, & 310) in DEV and all 3 clients are giving me the same error message.
    From the help.sap.com, I found this topic http://help.sap.com/saphelp_nwes70/helpdata/en/84/43f0d786304e19a652a8f80909a8ec/content.htm
    but in the document it asked to go to SM59 to check the ESH_APPL_WS_TEMPLATEENGINE destination.  But we don't have that destination setup in all our systems.
    Here is the complete error message:
    Error when processing your request
    What has happened?
    The URL http://crm-dev.staff.copa:8000/sap/bc/bsp/sap/crm_ui_frame/BSPWDApplication.do was not called due to an error.
    Note
    ■The following error text was processed in the system CD1 : Access via 'NULL' object reference not possible.
    ■The error occurred on the application server CRM-DEV_CD1_00 and in the work process 0 .
    ■The termination type was: RABAX_STATE
    ■The ABAP call stack was:
    Method: GET_DATA_LOSS_HANDLER of program CL_CRM_UI_CORE_APPL_CONTROLLERCP
    Method: GET_DATA_LOSS_HANDLER of program CL_CRM_UI_CORE_APPL_CONTROLLERCP
    Method: EH_TRIGGER_NAVIGATION of program CL_CRM_UI_CORE_APPL_CONTROLLERCP
    Method: SET_WORKAREA_CONTENT of program CL_CRM_UI_CORE_APPL_CONTROLLERCP
    Method: PROCESS_NAV_QUEUE of program CL_BSP_WD_VIEW_MANAGER========CP
    Method: DO_INIT of program CL_CRM_UI_FRAME_APP_CONTROLLERCP
    Method: DO_INIT of program CL_BSP_CTRL_ADAPTER===========CP
    Method: GET_PAGE_CONTEXT_CURRENT of program CL_BSP_CONTEXT================CP
    Method: ON_REQUEST_ENTER of program CL_BSP_RUNTIME================CP
    Method: ON_REQUEST of program CL_BSP_RUNTIME================CP
    What can I do?
    ■If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system CD1 in transaction ST22.
    ■If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server CRM-DEV_CD1_00 in transaction SM21.

    Hi Michael,
    Refer to the link below and check the procedure.
    http://help.sap.com/saphelp_nwes70/helpdata/en/84/43f0d786304e19a652a8f80909a8ec/content.htm
    Regards,
    Arjun

Maybe you are looking for

  • InDesign CS3 crashes when I export a PDF. I have updated it to 5.0.4 but it still crashed. I bought it as part of the Design Premium pack. How do I uninstall InDesignCS3 and reinstall the original software?

    Hi, the title says it all I've been trying to find out on the Adobe site how to uninstall CS3 Design Premium and then reinstall the original software in the hope that this will eliminate the crashing problem, which only started yesterday. You're help

  • Centralized (MS Access) database

    hi, In my application, i am using MS access as database. currently i am using database in all client place. i want make one database in one sever, all client need to update their details in that. current sample code String szPath;                szPa

  • Unzippping into specified directory

    hello! i want to unzip my archive into a generated directory in the users home-directory. ive tried this: class UnZip   public static final int EOF = -1;   public UnZip(String [] args)     if ( args.length != 1 )       System.out.println( "Usage:java

  • Cfinput tooltip css styling

    Hi! I have the code below and I want to know how to create a css rule to add style to the tooltip within cfinput. It is displayed by default, however, i want to format how it looks. Any ideas? <div class="container"> <h1> Create user </h1> <cfform  i

  • Crashes in 10.6.4

    I am wondering if this happens to anyone of you as well. Before I installed the Snow Leopard, my system was working perfectly fine, without any crashes or having to "work like a Window user". But, ever since Snow Leopard was installed and updated, I