Problem when getting attribute value.. pls respnd

Hi friends,
I have a table with one field drop down. I created a node and subnode(for dropdown, and assinged a supplyfunction), and binded the table.
When WDA loads, the data is populating correctly.
When i click ADD new ROW, i am reading the current(row of table) values and storing in a table.
to read dropdown, im using the below code:
node_serv_prod = wd_context->get_child_node( name = wd_this->wdctx_serv_prod ).(main node)
  node_prod = node_serv_prod->get_child_node( name = wd_this->wdctx_prod ).(subnode).
  node_prod->get_static_attributes(
  EXPORTING
    index  = prev_line
    IMPORTING
      static_attributes = stru_prod )
WHen the control goes to get_static_attribute, and when i hit F5 in debuggin, it is going to supplyfunction of subnode dropdown. which i dont want. because it is not giving the current row's value of drop down.
Basically i want to read the current row's drop down value, when i click add new row button.
Kindly pls tell me how can i do this.
pls respnd.
thanks in advance.. friends
Niraja.

Hi Niraja,
Am not clear as to why you have created a subnode just for populating some values for your dropdown. You could have just created a normal attribute under the same node which you are binding to your table. You could have then typed this attribute with a domain having your desired values as its fixed values or else you could have coded within the WDDOINIT method like something shown below:
data: lr_node_info type ref to if_wd_context_node_info,
        wa_value_set type wdr_context_attr_value,
        lt_value_set type table of wdr_context_attr_value.
  lr_node = wd_context->get_child_node( name = 'NODE' ).
  lr_node_info = lr_node->get_node_info( ).
  wa_value_set-value = '1'.
  wa_value_set-text  = 'One'.
  insert wa_value_set into table lt_value_set.
  wa_value_set-value = '2'.
  wa_value_set-text  = 'Two'.
  insert wa_value_set into table lt_value_set.
  wa_value_set-value = '3'.
  wa_value_set-text  = 'Three'.
  insert wa_value_set into table lt_value_set.
  lr_node_info->set_attribute_value_set( name      = 'TEMP'
                                         value_set = lt_value_set ).
Your control does rightly enter into the supply function. When you are trying to add a new row you are basically trying to add a new blank entry to your internal table which is bound to your table. Now for this dropdown you have bound it to a subnode & this node has a supply function attached to it. You should keep it in mind that the supply function does get automatically triggered when:
1) The node collection is initial.
2) The lead selection in the parent node collection is changed.
3) The node collection is invalidated programmatically.
If you had used the approach of binding your dropdowns to an attribute created directly under the same node which you are using to bind to your table then even any newly added rows would automatically get the set of values populated inside them.
Regards,
Uday

Similar Messages

  • Problem in getting parameter value from selection screen in web dynpro abap

    Hi,
    I am facing problem in getting parameter value from selection screen.
    Please find my code below:
    DATA LT_PAR_ITEM TYPE IF_WD_SELECT_OPTIONS=>TT_SELECTION_SCREEN_ITEM.
    FIELD-SYMBOLS:<FS_PAR_ITEM> LIKE LINE OF LT_PAR_ITEM,
                                 <FS_OBJ_USAGE>    TYPE REF TO data.
      WD_THIS->M_HANDLER->GET_PARAMETER_FIELDS( IMPORTING ET_FIELDS = LT_PAR_ITEM ).
      LOOP AT LT_PAR_ITEM ASSIGNING <FS_PAR_ITEM>.
        CASE <FS_PAR_ITEM>-M_ID.
          WHEN `OBJ_USAGE`.
             ASSIGN <FS_PAR_ITEM>-M_VALUE->* TO <FS_OBJ_USAGE>.      
    [ Here, sy-subrc is 4,  <FS_OBJ_USAGE> is not assigning.]
        ENDCASE.
      ENDLOOP. 
    So, can any one solve this problem.
    Thanks in advance,
    Radhika

    Hi Radhika,
    Try using GET_RANGE_TABLE_OF_SEL_FIELD...
    Please Refer below code..
       DATA: NODE_FLIGHTS TYPE REF TO IF_WD_CONTEXT_NODE.
      DATA: RT_CARRID TYPE REF TO DATA.
      DATA: ISFLIGHT TYPE TABLE OF SFLIGHT.
      DATA: WSFLIGHT TYPE SFLIGHT.
      FIELD-SYMBOLS: <FS_CARRID> TYPE TABLE.
    Retrieve the data from the select option
      RT_CARRID = WD_THIS->M_HANDLER->GET_RANGE_TABLE_OF_SEL_FIELD( I_ID = 'S_CARR_ID' ).
    Assign it to a field symbol
      ASSIGN RT_CARRID->* TO <FS_CARRID>.
      CLEAR ISFLIGHT. REFRESH ISFLIGHT.
      SELECT * INTO CORRESPONDING FIELDS OF TABLE ISFLIGHT FROM SFLIGHT
                           WHERE CARRID IN <FS_CARRID>.
      NODE_FLIGHTS = WD_CONTEXT->GET_CHILD_NODE( NAME = `FLIGHTS` ).
      NODE_FLIGHTS->BIND_ELEMENTS( ISFLIGHT ).
    Thanks,
    Regards,
    Kiran

  • Problem when defaulting a value to the field

    Hi CRM Experts,
    I am new to CRM, i am facing a problem when defaulting a value to the field in the Tcode 'SOLMAN_WORKCENTER' (Solution Manager Server).
    when i am defaulting it is displaying fine in the view( Redefined the getter method there i passed the value), i set a break point in the getter method when i am executing the getter method i am unable to get the defaulted value in the importing parameter value, but i am getting the value here when i used to type manually in the filed, i cant understand why it is behaving like that? please can any body help in this regard...
    Thanks in advance
    Hari..

    There are other ways to get the string-value of an enum (format into string with a %s formatter for instance).
    But I have no idea what you are seeing.
    However I would not use the enum to string technique chose you have, just add the enum to the 'file' VI as an input.
    And the =0 comparison you have is useless, add the enum to the case structure as the selector.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • How to get attribute value from standard page ?

    Hi,
    How to get attribute value from standard page ?
    String str = (String)vo.getCurrentRow().getAttrbute("RunId");
    But this value is returning a null value ....
    Can anyone help me to get this attribute value which is actually having a actual value .

    getCurrentRow() would always return null if no setCurrentRow() is used.
    Please check the page design and understand how many rows of VO are there. You can also use the following to get the row:
    vo.reset();
    vo.next();
    Regards
    Sumit

  • How to get attribute value of a node

    Hi experts
    I have a mapped node in my view context from component controller context. This node consists of 2 value attributes inside
    Example:
    NODE1             -
    > Cardinality 1..1, seleciton 1..1
       -- x_date         -
    > type DATS
       -- x_years        -
    > dec3
    How do I get the attribute value attr1 and attr2 ??
    Here is my code in my view method
      DATA: lr_node_info TYPE REF TO if_wd_context_node_info,
            l_date       TYPE dats,
            l_xyears     TYPE i.
      lr_node_info = wd_context->get_node_info( ).
      lr_node_info = lr_node_info->get_child_node('NODE1').
       l_date       = lr_node_info->get_attribute( name = 'X_DATE' ).
       l_xyears     = lr_node_info->get_attribute( name = 'X_YEARS' ).
    It does not seems to work since it says < the result type of the function method can not be converted into the result type L_DATE>
    I try to understand why but not sucessful, please help and thank you for your kindness

    Hi Dean,
    Regading uour problem of reading the attributes value of the context node, you have to  use the code wizard. that ia avaliable on the top toolbar when you are inside the View Method
    There is option to read context  select that radio button option and then thru F4 help
    if you can select the node then Code is automatically generated with variable declaration.!!
    Like this :
      DATA lo_nd_node1 TYPE REF TO if_wd_context_node.
        DATA lo_el_node1 TYPE REF TO if_wd_context_element.
        DATA ls_node1 TYPE wd_this->element_node1.
        DATA lv_x_date LIKE ls_node1-x_date.
        DATA lv_x_year LIKE ls_node1-x_year.   
      navigate from <CONTEXT> to <NODE1> via lead selection
        lo_nd_node1 = wd_context->get_child_node( name = wd_this->wdctx_node1 ).
      get element via lead selection
        lo_el_node1 = lo_nd_node1->get_element(  ).
      get all declared attributes
        lo_el_node1->get_static_attributes(
          IMPORTING
            static_attributes = ls_node1 ).
        lv_x_date = ls_node1-x_date.
        lv_x_date = ls_noe1-x_year.
    if you can select the attribute then Code is automatically generated with variable declaration.!!
    DATA lo_nd_node1 TYPE REF TO if_wd_context_node.
      DATA lo_el_node1 TYPE REF TO if_wd_context_element.
      DATA ls_node1 TYPE wd_this->element_node1.
      DATA lv_x_date LIKE ls_node1-x_date.
    navigate from <CONTEXT> to <NODE1> via lead selection
      lo_nd_node1 = wd_context->get_child_node( name = wd_this->wdctx_node1 ).
    get element via lead selection
      lo_el_node1 = lo_nd_node1->get_element(  ).
    get single attribute
      lo_el_node1->get_attribute(
        EXPORTING
          name =  `X_DATE`
        IMPORTING
          value = lv_x_date ).
    Hopes this will helps you.
    Regard
    Manoj Kumar

  • Not getting attribute values in IPC routines Scenerio R/3 B2B using AP 7.0

    Hi,
    Our Scenerio is using ISA R/3 B2B using AP 7.0. I have developed IPC routines but when i debug my routines in SM53 I notice that I'm not getting any attribute value except for VKORG.
    I'm pasting the code below. Please help me if I have to implement some BADI or do something more to get the attribute values.
    I have defined the attributes properly in Routine assignment in tcode /n/sapcnd/ueass
    userexitlogger.writeLogDebug("*requirment 901*" + "Plant = "plant"||ANZ_MONATE ="+ item.getAttributeValue(ANZ_MONATE_STR).toString()"||ANZ_JAHRE="item.getAttributeValue(ANZ_JAHRE_STR).toString()"||MATKL="item.getAttributeValue(MATKL_STR).toString()"||PSTYV="item.getAttributeValue(PSTYV_STR).toString()"||VKORG="item.getAttributeValue(VKORG_STR)"||PRSFD="item.getAttributeValue(PRSFD_STR)"||MVGR2="item.getAttributeValue(MVGR2_STR).toString()"||PRSDT="item.getAttributeValue(PRSDT_STR).toString()"||AUDAT="item.getAttributeValue(AUDAT_STR).toString());
    I would reward points for help
    Many Thanks n regards,
    Dipender

    I would like to go through each Value of the xml file and give each Value a name
    e.g. from the xml file <VentCount Value=1> Retreive the value above and giving it the name VentCount. Then I would beable to use the name vent count as follows:
    setVentCount() //My own method can use as follows: setVentCount(VentCount); I would like to do his for ever value, each value with a specific name

  • Problem when writing a value to an enum

    Hi together,
    I'm facing a problem when using an enum in my state machine.
    From time to time, the value (which represents the next state) which comes from the
    shiftregister, is not stored correctly into my enumvariable.When I probe point "1",
    a different value is shown than the variable "states" contains.
    Does anybody has an idea? Thanks.
    Message Edited by maximint on 02-09-2009 06:20 AM
    Attachments:
    Clipboard-1.png ‏6 KB

    There are other ways to get the string-value of an enum (format into string with a %s formatter for instance).
    But I have no idea what you are seeing.
    However I would not use the enum to string technique chose you have, just add the enum to the 'file' VI as an input.
    And the =0 comparison you have is useless, add the enum to the case structure as the selector.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • JAXB: not able to get Attribute value

    Hi there,
    I am using oracle JAXB for XML processing. I am not able to get the value of an attribute. I ran the same code in SUN JWSDP 1.3, which worked correctly. I am not able to get the "foo" attribute for <Table> element using oracle JAXB.
    The XML schema follows:
    <?xml version='1.0' encoding='UTF-8' ?>
    <schema targetNamespace="http://www.oracle.com/iAS/aggregator"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
    xmlns:ag="http://www.oracle.com/iAS/aggregator"
    xmlns="http://www.w3.org/2001/XMLSchema"
    jaxb:version="1.0"
    elementFormDefault="qualified">
    <annotation>
    <appinfo>
    <jaxb:globalBindings fixedAttributeAsConstantProperty="true"
    />
    <jaxb:schemaBindings>
    <jaxb:package name="oracle.dms.aggregator.adml"/>
    </jaxb:schemaBindings>
    </appinfo>
    </annotation>
    <complexType name="Adml_T">
    <sequence>
    <element name="Table" type="ag:Table_T" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    <attribute name="Version" type="token" fixed="10.1.3"/>
    </complexType> <!-- Adml -->
    <complexType name="Table_T">
    <attribute name="foo" type="Name"/>
    </complexType> <!-- Table -->
    <element name="Adml" type="ag:Adml_T"/>
    </schema>
    The XML file is:
    <?xml version='1.0' encoding='UTF-8' ?>
    <Adml xmlns="http://www.oracle.com/iAS/aggregator">
    <Table foo="foosailor">
    </Table>
    </Adml>
    The java file is:
    import javax.xml.bind.JAXBContext;
    import javax.xml.bind.Unmarshaller;
    import java.io.File;
    import java.util.List;
    import java.util.Iterator;
    import oracle.dms.aggregator.adml.Adml;
    import oracle.dms.aggregator.adml.TableT;
    public class JaxbQA
    public static void main (String[] args)
    throws Exception
    Adml adml;
    String fileName = "aggregator.xml";
    String instancePath = "oracle.dms.aggregator.adml";
    JAXBContext jc = JAXBContext.newInstance(instancePath);
    Unmarshaller u = jc.createUnmarshaller();
    u.setValidating(true);
    Object obj = u.unmarshal(new File(fileName));
    adml = (Adml)obj;
    List tables = adml.getTable();
    for (Iterator iter = tables.iterator();
    iter.hasNext();)
    TableT admlTable = (TableT)iter.next();
    String name = admlTable.getFoo();
    System.err.println("table foo=" + name);
    c:\oracle\jdk\bin\java.exe -classpath .;c:\oracle\xdk\lib\xmlparserv2.jar;c:\oracle\xdk\lib\xml.jar JaxbQA
    table foo=null

    I tested in both 10.1.0.2.0 and 10.1.0.3, which both showed the same problem. A bug #3621204 has been filed.

  • Problem to get Correct Value for Message Id in XI (Inbound channel)

    Hi Experts
    I have XI scenario  i.e. SOAP to RFC.
    I am calling RFC and getting Response which contais Messageid Field(Raw Data).
    But while getting Response in Inbound Channel ,I ma getting Junk Value For Message Id.
    In RFC Data element for Message id is SXMSMGUID.(data tpe Raw No Of character 16 and Output Length 32)
    I am accessing some RFC functions from XI which return parameters in the RAW format.[RAW: Uninterpreted byte string.]
    For example: If I execute a RFC from the abap system (using transaction se37), one of the results is "5ECD6F4D6C6E3242921025FE74AC5153"
    When  I call the RFC from XI, response for same  parameters is "Xs1vTWxuMkKSECX+dKxRUw==".
    Is there any way to get RAW data in correct Format?
    when i import RFc in XI it's data type becomes xsd:base64Binary.
    I created one customized data element having data type RAW (32 length) and even Character(32-50 length)
    In this case RFC gives correct value but when Sceanaro runs in XI,it get Wrong data in XI Inbound channel.
    Also disturbed value and place of other Fields.
    Thanks in advance .

    Hi
    Check this forum post.. same prob as yours
    Re: Problem in RFC Lookup UDF in getting MessageID
    fixed by changing the datatype other than RAW in FM
    also,
    Data type RAW imported to ABAP from Java
    Regards
    Vishnu

  • Having problem to get the value from radio button

    i am doing my double module project for my degree course and i am also a newbie in JSP. Hope there is someone can help me to solve this problem. Now, i set the value of a radio button to "don't smoke", "smoke lightly", and "smoke heavily". Then i use request.getParameter ("smoking behavior") to get the value selected by the user, but the result is only "don't" or "smoke", which the character after spacing will be not be retrieved. I dun know how to solve it, so can any expert here help me to solve this problem? Thanks for helping.

    Why do you have to use whitespace. If your radio button group is name smokingBehavior - no whitespace, wouldn't it just make sence to have values of don't, lightly and heavily. This would solve the problem easily. If your teacher is being a pain in the a&!, and requires you to use whitespace for your naming variables I guess you could insert %20 between the two words and unescape the value on the server side. This seems like a lot of unnecessary work and a silly solution - good luck!

  • How to get attribute value from an object inside an object in Xpress

    Does anyone know how to get an attribute value from an object in Xpress in a workflow? I have an object structured as follows:
    <ResourceInfo accountId='mj628' tempId='3483372b787ce7dd:-5d99a0c5:130cb238483:-3600'>
    <ObjectRef type='Resource' name='Google Apps'/>
    </ResourceInfo>
    I need if possible to get the name='Google Apps', which is inside the ObjectRef, so I guess its an attribute value of an object inside an object.

    If the ResourceInfo object is accessible in a variable, i.e. named "myResInfo", you just have to check the Java API and call the relevant method:
    <invoke name='getResourceName'>
      <ref>myResInfo</ref>
    </invoke>

  • How to get attribute values from one view to another

    HI all,
    Thx in Advance..
    I have 2 view like v1,v2.In v1 i used one attribute values from "get single attribute" method.And i need the same values in v2 screen.For this i did in v1 outbound plugs , i mentioned the parameter name . How can i get the same values in  v2.

    Hi chandru ,
    you said you declare the parameters in the Outbound Plug of V1.  now go to view V2 inbound plug Tab and creat one inbound plug
    double click on the plug name .it will navigate you to the event handeler method . Now add the outbound parameter variables in the
    parameters
    For example : V1firing the navigation plug
    a type string " defined in parameter
      wd_this->fire_out_to_view2_plg(
        a =      'ABCD'                           " string
    you can retrive the value freely in v2 inbound event handeler
    a type string " defined in parameter
    *   set single attribute
        lo_el_context->set_attribute(
          name =  `TEXT`
          value =  a )." here you will get the 'ABCD'.
    regards
    Chinnaiya P
    Edited by: chinnaiya pandiyan on Jun 23, 2010 7:12 PM

  • A problem to get the value of a selected cell

    Hi all,
    I am trying to get the value of a cell in JTable. The problem that I have is ListSelectionListener only listens if the selection changes(valueChanged method).
    It means that if I select apple then rum, only rowSelectionModel is triggered, which means I do not get the index of the column from selectionModel of ColumnModel.
    apple orange plum
    rum sky blue
    This is a piece of code from JTable tutorial that I modified by adding
    selRow and selCol variables to keep track of the location so that I can get the value of the selected cell.
    Thank you.
    if (ALLOW_ROW_SELECTION) { // true by default
    ListSelectionModel rowSM = table.getSelectionModel();
    rowSM.addListSelectionListener(new ListSelectionListener() {
    public void valueChanged(ListSelectionEvent e) {
    if (e.getValueIsAdjusting()) return;
    ListSelectionModel lsm = (ListSelectionModel)e.getSource();
    if (lsm.isSelectionEmpty()) {
    System.out.println("No rows are selected.");
    } else {
    int selectedRow = lsm.getMinSelectionIndex();
    selRow = selectedRow;
    System.out.println("Row " + selectedRow + " is now selected.");
    else {
    table.setRowSelectionAllowed(false);
    if (ALLOW_COLUMN_SELECTION) { // false by default
    if (ALLOW_ROW_SELECTION) {
    table.setCellSelectionEnabled(true);
    table.setColumnSelectionAllowed(true);
    ListSelectionModel colSM = table.getColumnModel().getSelectionModel();
    colSM.addListSelectionListener(new ListSelectionListener() {
    public void valueChanged(ListSelectionEvent e) {
    //Ignore extra messages.
    if (e.getValueIsAdjusting()) return;
    ListSelectionModel lsm = (ListSelectionModel)e.getSource();
    if (lsm.isSelectionEmpty()) {
    System.out.println("No columns are selected.");
    } else {
    int selectedCol = lsm.getMinSelectionIndex();
    selCol = selectedCol;
    System.out.println("Column " + selCol + " is now selected.");
    System.out.println("Row " + selRow + " is now selected.");
    javax.swing.table.TableModel model = table.getModel();
    // I get the value here
    System.out.println("Value: "+model.getValueAt(selRow,selCol));
    }

    maybe you can try with :
    table.getSelectedColumn()
    table.getSelectedRow()
    :)

  • Problem in getting selectOneRadio value placed in dataTable

    I want to get Id bind with selected radio button, whn radio button is selected, the value of backing bean should be set.
    But the problem me facing is, If I check last radio button I get the value and if I get rest of radio buttons my bean value didnt set. Why it happen that only last radio button of data table row works fine.
    I hope I u ppl help me
    <h:dataTable value="#{depositMoneyPageBean.allCreditCardsOfUser}" var="creditCardData"
    >
    <h:column>
        <f:facet name="header">
           <f:verbatim>...</f:verbatim>
       </f:facet>
       <h:selectOneRadio id="selectRadio" value="#  {depositMoneyPageBean.selectedCreditCardId}"  onclick="selectOne(this.form , this)"  >
                                   <f:selectItem itemValue="#{creditCardData.cardId}" />                               </h:selectOneRadio>
      </h:column>
    <h:column>
                                  <f:facet name="header">
                                       <f:verbatim>Payment Method</f:verbatim>
                                  </f:facet>
                                       <h:outputText value="#{creditCardData.cardTypeName}" styleClass="tLabel" />
                             </h:column>
    </h:dataTable>

    Here is a comparable solution: http://balusc.xs4all.nl/srv/dev-jep-dat.html#SelectRowByRadioButton
    With a much better Javascript solution, it only clears out the involved radiobuttons, not the other radiobuttons in the same form, which can be dangerous if you've another radiobuttons for other purposes.

  • Weblogic.utils.AssertionError when getting attributes of EJBComponentMBean

    when i get the attributes of this mbean, i get an assertion error. the
    javadocs do not say anything about this...so how can i prevent this
    assertion error?
    here is the code, and below is the error on weblogic
    Properties p = new Properties();
    p.put(Context.INITIAL_CONTEXT_FACTORY,
    "weblogic.jndi.WLInitialContextFactory");
    p.put(Context.PROVIDER_URL, "t3://yscadt207:7001");
    p.put(Context.SECURITY_PRINCIPAL, "weblogic");
    p.put(Context.SECURITY_CREDENTIALS, "weblogic");
    Context ctx = null;
    try {
    ctx = new InitialContext(p);
    MBeanHome home = (MBeanHome)ctx.lookup(MBeanHome.ADMIN_JNDI_NAME);
    MBeanServer server = home.getMBeanServer();
    Set set = server.queryNames(new
    ObjectName("*:Type=EJBComponent,*"), null);
    System.out.println("found " + set.size() + " mbeans");
    int show = 1;
    int count = 0;
    for(Iterator i = set.iterator(); show > count && i.hasNext();
    count++){
    ObjectName on = (ObjectName)i.next();
    System.out.println(on);
    MBeanInfo info = server.getMBeanInfo(on);
    MBeanAttributeInfo[] attinfo = info.getAttributes();
    for(int j = 0; j < attinfo.length; j++){
    try {
    System.out.println(attinfo[j].getName() + " (" +
    attinfo[j].getType() +
    "): " +
    server.getAttribute(on,
    attinfo[j].getName()));
    } catch(Exception ex){
    System.err.println("error for att " + attinfo[j].getName()
    + " (" + attinfo[j].getType() + "): " + ex);
    ex.printStackTrace();
    } finally {
    if(ctx != null) ctx.close();
    <Feb 23, 2004 10:54:36 AM PST> <Warning> <RMI> <BEA-080003>
    <RuntimeException thrown by rmi server: weblogic.management.
    internal.RemoteMBeanServerImpl.getAttribute(Ljavax.management.ObjectName;Ljava.lang.String;)
    javax.management.RuntimeErrorException: Error thrown by the
    getAttribute method of the DynamicMBean for the attribute
    EJBModuleDDEditor.
    >
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ DD Editing
    is disabled. ]
    at weblogic.utils.Debug.assertion(Debug.java:57)
    at
    weblogic.management.mbeans.custom.EJBComponent.getEJBModuleDDEditor(EJBComponent.java:164)
    at
    weblogic.management.mbeans.custom.EJBComponent.getEJBNames(EJBComponent.java:146)
    at sun.reflect.GeneratedMethodAccessor237.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at
    weblogic.management.internal.DynamicMBeanImpl.getAttribute(DynamicMBeanImpl.java:592)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.getAttribute(ConfigurationMBeanImpl.java:177)
    at
    com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1183)
    at
    com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1153)
    at
    weblogic.management.internal.RemoteMBeanServerImpl.getAttribute(RemoteMBeanServerImpl.java:284)
    at
    weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown
    Source)
    at
    weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:466)
    at
    weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:409)
    at
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
    at
    weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
    at
    weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:404)
    at
    weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    <Feb 23, 2004 10:54:36 AM PST> <Error> <Management> <BEA-140001> <An
    error occurred while getting attribute EJBNames on
    MBean
    examples:Application=_appsdir_ejb20_message_ear,Name=ejb20_message.jar,Type=EJBComponent.
    Method: public java.util
    .Set weblogic.management.mbeans.custom.EJBComponent.getEJBNames() throws
    weblogic.ejb20.WLDeploymentException. Exception
    : weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ DD
    Editing is disabled. ].
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ DD Editing
    is disabled. ]
    at weblogic.utils.Debug.assertion(Debug.java:57)
    at
    weblogic.management.mbeans.custom.EJBComponent.getEJBModuleDDEditor(EJBComponent.java:164)
    at
    weblogic.management.mbeans.custom.EJBComponent.getEJBNames(EJBComponent.java:146)
    at sun.reflect.GeneratedMethodAccessor237.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at
    weblogic.management.internal.DynamicMBeanImpl.getAttribute(DynamicMBeanImpl.java:592)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.getAttribute(ConfigurationMBeanImpl.java:177)
    at
    com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1183)
    at
    com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1153)
    at
    weblogic.management.internal.RemoteMBeanServerImpl.getAttribute(RemoteMBeanServerImpl.java:284)
    at
    weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown
    Source)
    at
    weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:466)
    at
    weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:409)
    at
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
    at
    weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
    at
    weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:404)
    at
    weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >
    <Feb 23, 2004 10:54:36 AM PST> <Warning> <RMI> <BEA-080003>
    <RuntimeException thrown by rmi server: weblogic.management.
    internal.RemoteMBeanServerImpl.getAttribute(Ljavax.management.ObjectName;Ljava.lang.String;)
    javax.management.RuntimeErrorException: Error thrown by the
    getAttribute method of the DynamicMBean for the attribute
    EJBNames.
    >

    I am also getting the exact same errors.
    In my case it's when I have MC4J connected to WLS8.1SP3 and I am trying to simply look at the deployed EJB's.
    Why has no one answered Simon's question since being posted back in Feb?

Maybe you are looking for

  • Custom tag lib issue with task flow in portal

    Dear Experts, I am facing an issue and need your guidance I have a ADF task flow which is consumed in portal. My task flow uses a custom tag library. When I run the task flow on portal I am facing following issue: Caused by: oracle.jsp.parse.JspParse

  • Device Controls in Final Cut Express-how to disable device control??

    How do I disable device control on a 3ccd panasonic mini dv camcorder using final cut express. It is very simple on final cut pro, but for some reason I cannot figure it out on final cut express. Do I need to do something with the camera itself first

  • Issue in converting sql query to oracle

    Hi Friends, I have a sql query as follows, Select Name From SysObjects Where XType = 'U' And Name = @NameI want to convert this to oracle. I have tried to convert this in someways. But I'm getting errors only. Please anyone help me to fix this issue.

  • How to represent binary data?

    I have some binary data which I want to assign to a variable. How do I do this? To clarify my scenario: long longConstant = 1234567890L;Is there something like byte[] byteConstant = {1011B, 1000B, 1111B, 1101B, };Thanks in advance!

  • I cannot get firefox to load mymathlab and it was working last week

    i have to do my math homework on mymathlab and i cannot get it to load on firefox it is saying website is unavailable but i know it is not the website cause it works on other computers. please help