Dropdown values becoming null after deployment

Iam using jdev 10.1.3.4 and oc4j 10.1.3.4 server.
we have a ADF table in a page in the application with three dropdowns. when i run the page in jdev the values are getting populated correctly for every record.But After deployment, for some records the values in the dropdowns are becoming null. we have 85 records in our Database for which only 5 records have this problem after deployment. But this works fine in local server.
Any help will be appreciated.
Thanks,
Lakshmi.

Thank you very much for answering...
I can't send all the code because it needs plenty of files to run. I'll just describe the "critical" parts of it:
- my main class extends JPanel and implements ActionListener + FocusListener + ListSelectionListener
- the JTable is declared by private JTable myTable = null;
- the table is inited by a call to a private void method, with the followind code:
   myTable = new JTable(cellData,colNames);
   myTable.setName("my_table");
   myTable.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
   //... - the table is then put in a scroll pane:
   sTable = new JScrollPane(myTable);and the scroll pane put in the NORTH of a JPanel.
- I put a listener on the table by:
   myTable.getSelectionModel().addListSelectionListener(this);Here is the most part of the misfuntionning code... the table goes well until the listener generates events... then the myTable instance becomes NULL.
Thanks in advance for thinking about the problem's causes,
Cheers.

Similar Messages

  • Window.opener becoming null after 10 seconds

    Wondering if anyone else has ran into this problem...
    function refreshMe()
    var openerObj = window.opener;
    window.close();
    alert(openerObj);
    openerObj.opener.location.href = openerObj.opener.location.href;
    openerObj has a value of [object DOMWindow] when a new window pops up. But when I wait approximately 10 seconds the value is becomes null.
    Any suggestions or advice you may have is appreciated.

    Basically I'm using Javascript to pop up a window (child). That window changes to another URL (sub child) after a user selection... Once that pop up form submission is complete I want to refresh the original parent window and close the sub child.
    To accomplish this I'm using window.opener.opener.location.href (the original URL) which should be saved by Safari. The problem is after approx. 10 seconds the window.opener variable becomes null. I'm guessing this is something related to Sarfari and not my code...
    However, I'm open to any suggestions. Thank you.

  • Page values becoming null

    Hi,
    I've created a quotation form, In that, I've created a application process to get details of a customer from the customer master. If I'll enter Customer ID, details are coming automatically. The problem is, If the customer is not existing in the master, I'm entering customer details directly into the form without id and I'm saving these details in the quotation table. I can see the details also in the table. But when I'm editing the exiting quotation, I can see all details in the form, But When I press any button all other details are existing. But related to customer details are just becoming null. This is happening only in the form. Details are existing in the quotation table.
    What could be the problem.
    Thanks and Regards,
    Sudha.

    Hi Sudha,
    Without seeing the page this is my best guess as to what is happening.
    If you have created the form using the automated row fetch wizard it will by default have created a reset page process. When you resubmit the page this will be clearing the form items. If this is the case you will need to change the behavior of this process.
    cheers,
    Ron

  • On making call to Oracle procedures from Java, Value becomes null on oracle

    We are using some user defined Oracle data types in my Java/J2EE application
    and some of them are Oracle collections(ex. VARRAY).
    We are making a call to Procedures/Functions from Java, there are some
    parameters of user defined data types declared in the
    procedures/functions, from java the values are properly setting to these
    user defined data type parameters and sending to Procedures.
    We are not getting any exception at Java side and Oracle side and values
    are becoming blank/null at oracle procedure side for the parameters of
    user defined data types.
    But when do the count of collection of user defined data type then it is
    properly giving the size of collection(VARRAY).
    When we are trying to read the values from the collection(VARRAY) it is
    giving blank/null value and there is no exception.
    Please let me know if you have any suggestion on this?

    user7671994 wrote:
    When we are trying to read the values from the collection(VARRAY) it is
    giving blank/null value and there is no exception.If you are talking about VARCHAR2 parameters of the objects - then you should add orai18n.jar to classpath.

  • Decision Table values changes back after deploy.

    Hi All,
    I created Decision Table and filled it by some values.
    Then I built my Rules Composer project and deployed it.
    After that I changed some values in my Decision Table from RulesManager and uploaded their.
    Then I deployed my Rules Composer again.
    After that I looked in Decision Table from RulesManager again and saw that all values were changed back to their original values.
    Does anybody knows is this feature or bug?

    Hello SMatveev,
    The functionality is as follows:
    1. You selected the active version to open the project - made changes to the rules, uploaded this. This version though is the latest, it has not been activated. The rules project which will be open will still be the active version, that means the changes recently made will not be displayed.
    2. You selected the latest version to open the project - made changes to the rules, uploaded this. This version is the latest as well as the active version. The rules project which will be open will be the latest version, that means the changes recently made will be displayed.
    3. After the changes were made, you uploaded (even activated) the changes. The rules are changed in NWDS and uploaded, now the version of the rules as were in NWDS at the time of deployment will be the latest/active version of rules in the server.
    The behavior you saw is expected. (3rd point)
    The way to prevent this loss of modifications made to rules using rules manager, is to - first download the runtime version of rules from server using the option available in NWDS; make the required changes to this active version and upload this DC to server.
    Best Regards,
    Arti

  • ADF Bug? SelectOneChoice in af:column becomes null after refresh

    Hello,
    I just discovered a serious issue in my code (ADF 11.1.1.4/Windows 7). I was able to reproduce the issue using the following code :
    I have a table mapped to a Widget ViewObject listing some widget definitions. On of the column represents the widget type id. I use an af:selectOneChoice and the widgetTypeId is mapped to the WidgetType ViewObject (the category name is displayed)
    The page definition :
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
                    version="11.1.1.59.23" id="testFramePageDef"
                    Package="com.test.view.pageDefs">
      <parameters/>
      <executables>
        <variableIterator id="variables"/>
        <iterator Binds="WidgetView1" RangeSize="25"
                  DataControl="AppModuleDataControl" id="WidgetView1Iterator"/>
        <iterator Binds="WidgetTypeView1" RangeSize="-1"
                  DataControl="AppModuleDataControl" id="WidgetTypeView1Iterator"/>
      </executables>
      <bindings>
        <tree IterBinding="WidgetView1Iterator" id="WidgetView1">
          <nodeDefinition DefName="com.test.model.views.dashboard.WidgetView"
                          Name="WidgetView10">
            <AttrNames>
              <Item Value="WidgetId"/>
              <Item Value="WidgetTypeId" Binds="WidgetTypeId"/>
              <Item Value="Name"/>
              <Item Value="Reference"/>
              <Item Value="Description"/>
              <Item Value="StrId"/>
            </AttrNames>
          </nodeDefinition>
        </tree>
        <list IterBinding="WidgetView1Iterator" id="WidgetTypeId"
              DTSupportsMRU="true" StaticList="false"
              ListIter="WidgetTypeView1Iterator">
          <AttrNames>
            <Item Value="WidgetTypeId"/>
          </AttrNames>
          <ListAttrNames>
            <Item Value="WidgetTypeId"/>
          </ListAttrNames>
          <ListDisplayAttrNames>
            <Item Value="Name"/>
          </ListDisplayAttrNames>
        </list>
      </bindings>
    </pageDefinition>The jsf page displays the widgets name and type, which are both modifiable. I also added previous/next buttons :
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:c="http://java.sun.com/jsp/jstl/core">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1">
          <af:messages id="m1"/>
          <af:form id="f1">
            <af:panelStretchLayout id="ptstc">
              <f:facet name="top">
                <af:panelGroupLayout id="pglact" layout="horizontal">
                  <af:commandButton id="cbprv" action="#{userBean.previous}" text="Previous"/>
                  <af:commandButton id="cbnxt" action="#{userBean.next}" text="Next"/>
                </af:panelGroupLayout>
              </f:facet>
              <f:facet name="center">
                <af:table value="#{bindings.WidgetView1.collectionModel}" var="row"
                          rows="#{bindings.WidgetView1.rangeSize}"
                          emptyText="#{bindings.WidgetView1.viewable ? 'No data to display.' : 'Access Denied.'}"
                          fetchSize="#{bindings.WidgetView1.rangeSize}"
                          rowBandingInterval="0"
                          selectedRowKeys="#{bindings.WidgetView1.collectionModel.selectedRow}"
                          selectionListener="#{bindings.WidgetView1.collectionModel.makeCurrent}"
                          rowSelection="single" id="t1">
                  <af:column sortProperty="WidgetId" sortable="false"
                             headerText="#{bindings.WidgetView1.hints.WidgetId.label}"
                             id="c3">
                    <af:inputText value="#{row.bindings.WidgetId.inputValue}"
                                  label="#{bindings.WidgetView1.hints.WidgetId.label}"
                                  required="#{bindings.WidgetView1.hints.WidgetId.mandatory}"
                                  columns="#{bindings.WidgetView1.hints.WidgetId.displayWidth}"
                                  maximumLength="#{bindings.WidgetView1.hints.WidgetId.precision}"
                                  shortDesc="#{bindings.WidgetView1.hints.WidgetId.tooltip}"
                                  id="it5">
                      <f:validator binding="#{row.bindings.WidgetId.validator}"/>
                      <af:convertNumber groupingUsed="false"
                                        pattern="#{bindings.WidgetView1.hints.WidgetId.format}"/>
                    </af:inputText>
                  </af:column>
                  <af:column sortProperty="WidgetTypeId" sortable="false"
                             headerText="#{bindings.WidgetView1.hints.WidgetTypeId.label}"
                             id="c1">
                    <af:selectOneChoice value="#{row.bindings.WidgetTypeId.inputValue}"
                                        label="#{row.bindings.WidgetTypeId.label}"
                                        required="#{bindings.WidgetView1.hints.WidgetTypeId.mandatory}"
                                        shortDesc="#{bindings.WidgetView1.hints.WidgetTypeId.tooltip}"
                                        id="soc1">
                      <f:selectItems value="#{row.bindings.WidgetTypeId.items}"
                                     id="si1"/>
                    </af:selectOneChoice>
                  </af:column>
                </af:table>
              </f:facet>
            </af:panelStretchLayout>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>Here is the code from my backing bean :
        private int widgetId = 1010;
        public void previous(){
          text = "action";
          AppModuleImpl am = (AppModuleImpl)ADFUtils.getApplicationModuleForDataControl("AppModuleDataControl");
          ViewObject vo = am.getWidgetView1();
          widgetId--;
          vo.setWhereClause("WIDGET_ID="+widgetId);
          vo.executeQuery();
        public void next(){
          text = "action";
          AppModuleImpl am = (AppModuleImpl)ADFUtils.getApplicationModuleForDataControl("AppModuleDataControl");
          ViewObject vo = am.getWidgetView1();
          widgetId++;
          vo.setWhereClause("WIDGET_ID="+widgetId);
          vo.executeQuery();
        }Now the issue : if I open the page, the entire widget table is displayed. I click on 'next' and the first record is displayed with correct name and type. If a do a refresh by hitting F5, the action is re-executed and the second row is displayed, also with correct name and type. But if I select 'previous', I come back to the first row but the type is now set to null(0).
    Can you tell me if this code is correct and if yes : are you able to reproduce it? / is this an ADF bug?
    Thank you
    Stephane
    Edited by: drahuks on 9 mai 2011 01:32

    Frank,
    The backing bean is session scoped.
    I tried a second solution using af:iterator and af:selectItem instead of af:selectItems :
    pageDef :
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
                    version="11.1.1.59.23" id="testFramePageDef"
                    Package="com.test.view.pageDefs">
      <parameters/>
      <executables>
        <variableIterator id="variables"/>
        <iterator Binds="WidgetView1" RangeSize="25"
                  DataControl="AppModuleDataControl" id="WidgetView1Iterator"/>
        <iterator Binds="WidgetTypeView1" RangeSize="-1"
                  DataControl="AppModuleDataControl" id="WidgetTypeView1Iterator"/>
      </executables>
      <bindings>
        <tree IterBinding="WidgetView1Iterator" id="WidgetView1">
          <nodeDefinition DefName="com.test.model.views.dashboard.WidgetView">
            <AttrNames>
              <Item Value="Name"/>
              <Item Value="WidgetTypeId"/>
            </AttrNames>
          </nodeDefinition>
        </tree>
        <table IterBinding="WidgetTypeView1Iterator" id="WidgetTypeLov">
          <AttrNames>
            <Item Value="Name"/>
            <Item Value="WidgetTypeId"/>
          </AttrNames>
        </table>
      </bindings>
    </pageDefinition>jspx :
    <af:selectOneChoice value="#{row.WidgetTypeId}"
                                        id="soc1">
                      <af:forEach var="typeNode"
                                  items="#{bindings.WidgetTypeLov.rangeSet}">
                        <af:selectItem id="sit" value="#{typeNode.WidgetTypeId}"
                                        label="#{typeNode.Name}"/>
                      </af:forEach>
                      <!--<f:selectItems value="#{row.bindings.WidgetTypeId.items}"
                                     id="si1"/>-->
                    </af:selectOneChoice>Still get an issue : when hitting F5 I get a nullpointer exception. Here is the debug :
    <ADFLogger> <begin> Execute query
    <ViewObjectImpl> <buildQuery> [1960] _LOCAL_VIEW_USAGE_com_test_model_views_dashboard_WidgetView_WidgetTypeView1>#q computed SQLStmtBufLen: 112, actual=85, storing=115
    <ViewObjectImpl> <buildQuery> [1961] SELECT WidgetType.WIDGET_TYPE_ID,         WidgetType.NAME FROM WIDGET_TYPE WidgetType
    <ViewObjectImpl> <getPreparedStatement> [1962] ViewObject: [com.test.model.views.WidgetTypeView]AppModule._LOCAL_VIEW_USAGE_com_test_model_views_dashboard_WidgetView_WidgetTypeView1 Created new QUERY statement
    <ViewObjectImpl> <bindParametersForCollection> [1963] Bind params for ViewObject: [com.test.model.views.WidgetTypeView]AppModule._LOCAL_VIEW_USAGE_com_test_model_views_dashboard_WidgetView_WidgetTypeView1
    <ViewObjectImpl> <bindParametersForCollection> [1964] For RowSet : _LOCAL_VIEW_USAGE_com_test_model_views_dashboard_WidgetView_WidgetTypeView1_0
    <ADFLogger> <addContextData> Execute query
    <ADFLogger> <addContextData> Execute query
    <ADFLogger> <addContextData> Get LOV list
    <MessageFactory> <getMessage>
    java.lang.NullPointerException
         at oracle.jbo.uicli.binding.JUCtrlListBinding.processNewInputValue(JUCtrlListBinding.java:3834)
         at oracle.adfinternal.view.faces.model.HierNodeBindingELResolver.setValue(HierNodeBindingELResolver.java:77)
         at oracle.adfinternal.view.faces.model.AdfELResolver.setValue(AdfELResolver.java:132)
         at javax.el.CompositeELResolver.setValue(CompositeELResolver.java:283)
         at com.sun.faces.el.DemuxCompositeELResolver._setValue(DemuxCompositeELResolver.java:252)
         at com.sun.faces.el.DemuxCompositeELResolver.setValue(DemuxCompositeELResolver.java:278)
         at com.sun.el.parser.AstValue.setValue(Unknown Source)
         at com.sun.el.ValueExpressionImpl.setValue(Unknown Source)
         at org.apache.myfaces.trinidad.component.UIXEditableValue.updateModel(UIXEditableValue.java:289)
         at org.apache.myfaces.trinidad.component.UIXEditableValue.processUpdates(UIXEditableValue.java:252)Stephane
    Edited by: drahuks on 10 mai 2011 04:09

  • How to change SessionTimeOut value after deployed war file in SunAPP Server

    Hi Guys,
    Any one can help and give some guidence How i can change the session time out value in web.xml after deployed the file on sun one application server.This is the code given below which i have to change the time of session from 5 minutes to 1 minute.
    <session-config>
         <session-timeout>5</session-timeout>
    </session-config>
    Regards,
    Suresh.Babu.Ramagani.

    For SunOne session configuration is in the sun-web.xml.
    http://docs.sun.com/app/docs/doc/820-2207/abxcz?a=view
    -steve

  • Dropdown value clears after saving the form?

    I have a pdf form with a couple dropdown lists. If someone selects a value and then saves and reopens the file, the dropdown value is empty.
    In other forms I also use dropdown and those do not have this issue. but I cannot find what is wrong with this one. Any suggestions?
    I have a custom keystroke script:
    if( event.willCommit )
       if(event.value == "")
    //if nothing is chosen in "Contract eigenaar" then Dropdown2 will be cleared
         this.getField("Dropdown2").clearItems();
       else
        test(event.value);
    And a script:
    //Values
    myDropdown1Values = ["Maak uw keuze", "Fast Flex B.V.", "QNH Sourcing B.V.", "QNH Consulting Midden B.V.","QNH Consulting Zuid B.V.","QNH Consulting Noord B.V."],
    myDropdown7Values = ["Maak uw keuze", "Eigen medewerker", "ZZP-er", "via Leverancier","PDV-er"],
    myDropdown8Values = ["","QNH Consulting Midden", "QNH Consulting Zuid", "QNH Consulting Noord", "Young Colfield"],
    //Populate
    this.getField("Contract eigenaar").setItems(myDropdown1Values);
    this.getField("Dropdown7").setItems(myDropdown7Values);
    this.getField("Dropdown16").setItems(myDropdown8Values);
    // Define what has to be shown in Dropdown2 when value is selected
    var DeptData = { "Maak uw keuze": [""],
                     "Fast Flex B.V.": ["","Fast Flex","Klant"],
                     "QNH Sourcing B.V.": ["","QNH Sourcing","Klant"],
                     "QNH Consulting Midden B.V.": ["","Detachering","Project"],
                     "QNH Consulting Zuid B.V.": ["","Detachering","Project"],
                     "QNH Consulting Noord B.V.": ["","Detachering","Project"]
    var DeptData2 = { "Maak uw keuze":{ Uitleg1: ""},
                     "QNH Consulting Midden B.V.":{ Uitleg1: "Het verkoopcontract wordt opgesteld tussen QNH Consulting Midden en de eindklant. QNH consulting Midden zorgt voor het contract met de eindklant en voor het contract tussen QNH Consulting Midden en Fast Flex . Het inkoopcontract wordt opgesteld door Fast Flex met de leverancier of ZZP-er. Fast Flex fungeert hier als broker. Er wordt ingekocht volgens de Algemene Inkoop Voorwaarden van Fast Flex. Indien er afwijkende afspraken opgenomen moeten worden in het contract kunnen deze hieronder in het formulier apart worden aangegeven."},
                     "QNH Consulting Zuid B.V.":{ Uitleg1: "Het verkoopcontract wordt opgesteld tussen QNH Consulting Zuid en de eindklant. QNH consulting Zuid zorgt voor het contract met de eindklant en voor het contract tussen QNH Consulting Zuid en Fast Flex . Het inkoopcontract wordt opgesteld door Fast Flex met de leverancier of ZZP-er. Fast Flex fungeert hier als broker. Er wordt ingekocht volgens de Algemene Inkoop Voorwaarden van Fast Flex. Indien er afwijkende afspraken opgenomen moeten worden in het contract kunnen deze hieronder in het formulier apart worden aangegeven."},
                     "QNH Consulting Noord B.V.":{ Uitleg1: "Het verkoopcontract wordt opgesteld tussen QNH Consulting Noord en de eindklant. QNH consulting Noord zorgt voor het contract met de eindklant en voor het contract tussen QNH Consulting Noord en Fast Flex . Het inkoopcontract wordt opgesteld door Fast Flex met de leverancier of ZZP-er. Fast Flex fungeert hier als broker. Er wordt ingekocht volgens de Algemene Inkoop Voorwaarden van Fast Flex. Indien er afwijkende afspraken opgenomen moeten worden in het contract kunnen deze hieronder in het formulier apart worden aangegeven."},
                     "QNH Sourcing B.V.":{ Uitleg1: "Het verkoopcontract wordt opgesteld tussen QNH Sourcing en de eindklant. Het inkoopcontract wordt opgesteld door QNH Sourcing met de leverancier of ZZP-er. Er wordt ingekocht volgens de Algemene Inkoop Voorwaarden van QNH Sourcing. Indien het een nieuwe klant betreft ontvangt QNH Sourcing graag een kopie van het klant contract zodat de inkoopvoorwaarden hierop aangepast kunnen worden. Tevens dient er een kredietcheck te worden uitgevoerd en klantgegevens te worden opgevraagd. Hiertoe ontvang je van ons een formulier klantgegevens."},
                     "Fast Flex B.V.":{ Uitleg1: "Het verkoopcontract wordt opgesteld tussen Fast Flex en de eindklant. Het inkoopcontract wordt opgesteld door Fast Flex met de leverancier of ZZP-er. Er wordt ingekocht volgens de Algemene Inkoop Voorwaarden van Fast Flex. Indien het een nieuwe klant betreft ontvangt Fast Flex graag een kopie van het klant contract zodat de inkoopvoorwaarden hierop aangepast kunnen worden. Tevens dient er een kredietcheck te worden uitgevoerd en klantgegevens te worden opgevraagd. Hiertoe ontvang je van ons een formulier klantgegevens."}};
    //Value Dropdown2
    function test(cDeptName)
      this.getField("Dropdown2").setItems(DeptData[cDeptName]);
      this.getField("Text1").value = DeptData2[cDeptName].Uitleg1;

    Hi
    actually my earlier post was incorrect
    i have edited my post
    Actually
    i want to update only those records that the user has modified
    eg
    col1 col2 status
    1 ABC good
    2 PQR good
    3 xyz good
    4 lmn excellent
    5 abcz excellent
    is the table before the user modifies
    the user goes and modifies multiple records as following
    col1 col2 status
    1 aaa good
    2 PQR good
    3 xxx good
    4 sss excellent
    5 abcz excellent
    and the user saves the form
    now i want the following output
    col1 col2 status
    1 aaa new
    2 PQR good
    3 xxx new
    4 sss new
    5 abcz excellent
    only the modified record's status should be updated
    sorry for the earlier lapse

  • Unable to access Web Method after deploying into the server

    Hi,
    I'm Unable to access Web method after deploying into the server.
    My Web method is 
    [WebMethod]
    [ScriptMethod(ResponseFormat = ResponseFormat.Json )]
    public object getOwners()
    DataTable dt = _qbObj.returnDDLData("employeedetails", "EmpID", "EmpFirstName");
    if (dt == null)
    return new { Result = "Error", Options = "Error getting data" };
    string[] strAttributes = { "ID", "Name" };
    string[] strColName = { "EmpID", "EmpFirstName" };
    List<SolOwners> lstObject = convertToList(dt, strAttributes, strColName, new SolOwners());
    var owners = lstObject.Select(c => new { DisplayText = c.Name, Value = c.ID });
    return new { Result = "OK", Options = owners };
    When I.m accessing that method after deploying into server, I got following error.
    System.InvalidOperationException: There was an error generating the XML document. ---> System.InvalidOperationException: &lt;&gt;f__AnonymousType9`2[System.String,System.Collections.Generic.IEnumerable`1[&lt;&gt;f__AnonymousTypea`2[System.String,System.String]]] cannot be serialized because it does not have a parameterless constructor.
    at System.Xml.Serialization.TypeScope.GetTypeDesc(Type type, MemberInfo source, Boolean directReference, Boolean throwOnError)
    at System.Xml.Serialization.XmlSerializationWriter.CreateUnknownTypeException(Type type)
    at System.Xml.Serialization.XmlSerializationWriter.WriteTypedPrimitive(String name, String ns, Object o, Boolean xsiType)
    at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriter1.Write1_Object(String n, String ns, Object o, Boolean isNullable, Boolean needType)
    at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriter1.Write71_anyType(Object o)
    at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
    --- End of inner exception stack trace ---
    at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
    at System.Xml.Serialization.XmlSerializer.Serialize(TextWriter textWriter, Object o, XmlSerializerNamespaces namespaces)
    at System.Web.Services.Protocols.XmlReturnWriter.Write(HttpResponse response, Stream outputStream, Object returnValue)
    at System.Web.Services.Protocols.WebServiceHandler.WriteReturns(Object[] returnValues)
    at System.Web.Services.Protocols.WebServiceHandler.Invoke()Please help me to solve that issue.Thank you.

    Hi Vani,
    What project are you developing? According to your code looks like an Asp.Net application? Am i right?
    If so , please repost in  ASP.Net Forum
    http://forums.asp.net for more efficient responses.
    This forum is discuss problems of C# development.
    Have a nice day!
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Java startup failed after deploying ADS sp13.

    Hi All,
    I am not able to start my J2ee Engine after deploying ADS Sp13.
    Is there anyway i can undeploy the SP 13 of ADS.
    I am getting following errors.
    Bootstrap MODE:
    <INSTANCE GLOBALS>
    determined by parameter [ID0118651].
    Missing RunningMode property - runningin NORMAL mode.
    Instance [ID118651] will run in [NORMAL] mode, performing action [NONE]
    Discovered property [instance.en.port] with value [3200] !
    Discovered property [instance.en.host] with value [issapsolmgr] !
    Synchronizing file [.\.hotspot_compiler].
    ...Synched ok!
    Synchronizing file [..\..\SDM\program\.hotspot_compiler].
    ...Synched ok!
    Synchronizing native files...
    Synchronizing file [.\..\os_libs\FontManagerService_native.zip].
    Error synchronizing file [.\..\os_libs\FontManagerService_native.zip].
    java.lang.NullPointerException
         at com.sap.sql.jdbc.mss.MssSQLExceptionAnalyzer.getCategory(MssSQLExceptionAnalyzer.java:112)
         at com.sap.sql.services.core.CoreServices.isDuplicateKeyException(CoreServices.java:133)
         at com.sap.sql.jdbc.direct.DirectPreparedStatement.processSQLException(DirectPreparedStatement.java:1189)
         at com.sap.sql.jdbc.direct.DirectPreparedStatement.executeQuery(DirectPreparedStatement.java:285)
         at com.sap.sql.jdbc.direct.DirectPreparedStatement.executeQuery(DirectPreparedStatement.java:248)
         at com.sap.engine.core.configuration.impl.persistence.rdbms.DBAccessMSSQL.getFileEntry(DBAccessMSSQL.java:66)
         at com.sap.engine.core.configuration.impl.persistence.rdbms.FileLoader.getInputStream(FileLoader.java:33)
         at com.sap.engine.core.configuration.impl.PersistentDataInputStream.getStream(PersistentDataInputStream.java:81)
         at com.sap.engine.core.configuration.impl.PersistentDataInputStream.read(PersistentDataInputStream.java:135)
         at com.sap.engine.bootstrap.Synchronizer.getFile(Synchronizer.java:182)
         at com.sap.engine.bootstrap.Synchronizer.getFile(Synchronizer.java:160)
         at com.sap.engine.bootstrap.Synchronizer.synchronizeFile(Synchronizer.java:112)
         at com.sap.engine.bootstrap.Bootstrap.getOSDependentFiles(Bootstrap.java:614)
         at com.sap.engine.bootstrap.Bootstrap.synchInstanceGlobals(Bootstrap.java:193)
         at com.sap.engine.bootstrap.Bootstrap.makeUpdate(Bootstrap.java:831)
         at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:815)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    Caused by:
    com.sap.engine.frame.core.configuration.InvalidPersistentDataStreamException: Could not get file from DB.
         at com.sap.engine.core.configuration.impl.PersistentDataInputStream.getStream(PersistentDataInputStream.java:84)
         at com.sap.engine.core.configuration.impl.PersistentDataInputStream.read(PersistentDataInputStream.java:135)
         at com.sap.engine.bootstrap.Synchronizer.getFile(Synchronizer.java:182)
         at com.sap.engine.bootstrap.Synchronizer.getFile(Synchronizer.java:160)
         at com.sap.engine.bootstrap.Synchronizer.synchronizeFile(Synchronizer.java:112)
         at com.sap.engine.bootstrap.Bootstrap.getOSDependentFiles(Bootstrap.java:614)
         at com.sap.engine.bootstrap.Bootstrap.synchInstanceGlobals(Bootstrap.java:193)
         at com.sap.engine.bootstrap.Bootstrap.makeUpdate(Bootstrap.java:831)
         at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:815)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    Synchronizing file [.\..\os_libs\PDFManipulation_native.zip].
    ...Synched ok!
    Synchronizing file [.\..\os_libs\ServicesNatives2_native.zip].
    ...Synched ok!
    Synchronizing file [.\..\os_libs\rscp4j.dll].
    ...Synched ok!
    Synchronizing file [.\..\os_libs\XMLFormService_native.zip].
    ...Synched ok!
    Synchronizing file [.\..\os_libs\rscp4j.pdb].
    ...Synched ok!
    Synchronizing file [.\..\os_libs\LicenseSupportService_native.zip].
    ...Synched ok!
    Exception occurred:
    com.sap.engine.bootstrap.SynchronizationException: Unable to synchronize native files for instance [ID118651]!
         at com.sap.engine.bootstrap.Bootstrap.synchInstanceGlobals(Bootstrap.java:203)
         at com.sap.engine.bootstrap.Bootstrap.makeUpdate(Bootstrap.java:831)
         at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:815)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    ==[ Caused by: ]==----
    java.lang.NullPointerException
         at com.sap.sql.jdbc.mss.MssSQLExceptionAnalyzer.getCategory(MssSQLExceptionAnalyzer.java:112)
         at com.sap.sql.services.core.CoreServices.isDuplicateKeyException(CoreServices.java:133)
         at com.sap.sql.jdbc.direct.DirectPreparedStatement.processSQLException(DirectPreparedStatement.java:1189)
         at com.sap.sql.jdbc.direct.DirectPreparedStatement.executeQuery(DirectPreparedStatement.java:285)
         at com.sap.sql.jdbc.direct.DirectPreparedStatement.executeQuery(DirectPreparedStatement.java:248)
         at com.sap.engine.core.configuration.impl.persistence.rdbms.DBAccessMSSQL.getFileEntry(DBAccessMSSQL.java:66)
         at com.sap.engine.core.configuration.impl.persistence.rdbms.FileLoader.getInputStream(FileLoader.java:33)
         at com.sap.engine.core.configuration.impl.PersistentDataInputStream.getStream(PersistentDataInputStream.java:81)
         at com.sap.engine.core.configuration.impl.PersistentDataInputStream.read(PersistentDataInputStream.java:135)
         at com.sap.engine.bootstrap.Synchronizer.getFile(Synchronizer.java:182)
         at com.sap.engine.bootstrap.Synchronizer.getFile(Synchronizer.java:160)
         at com.sap.engine.bootstrap.Synchronizer.synchronizeFile(Synchronizer.java:112)
         at com.sap.engine.bootstrap.Bootstrap.getOSDependentFiles(Bootstrap.java:614)
         at com.sap.engine.bootstrap.Bootstrap.synchInstanceGlobals(Bootstrap.java:193)
         at com.sap.engine.bootstrap.Bootstrap.makeUpdate(Bootstrap.java:831)
         at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:815)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    Caused by:
    com.sap.engine.frame.core.configuration.InvalidPersistentDataStreamException: Could not get file from DB.
         at com.sap.engine.core.configuration.impl.PersistentDataInputStream.getStream(PersistentDataInputStream.java:84)
         at com.sap.engine.core.configuration.impl.PersistentDataInputStream.read(PersistentDataInputStream.java:135)
         at com.sap.engine.bootstrap.Synchronizer.getFile(Synchronizer.java:182)
         at com.sap.engine.bootstrap.Synchronizer.getFile(Synchronizer.java:160)
         at com.sap.engine.bootstrap.Synchronizer.synchronizeFile(Synchronizer.java:112)
         at com.sap.engine.bootstrap.Bootstrap.getOSDependentFiles(Bootstrap.java:614)
         at com.sap.engine.bootstrap.Bootstrap.synchInstanceGlobals(Bootstrap.java:193)
         at com.sap.engine.bootstrap.Bootstrap.makeUpdate(Bootstrap.java:831)
         at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:815)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    [Bootstrap module]> Problem occurred while performing synchronization.
    Regards,
    Akhilesh

    Hi,
    We are having exact same error after applying Stack 14.
    Synchronizing file [.\..\os_libs\FontManagerService_native.zip].
    Error synchronizing file [.\..\os_libs\FontManagerService_native.zip].
    com.sap.engine.frame.core.configuration.InvalidPersistentDataStreamException: Could not get file from DB.     at com.sap.engine.core.configuration.impl.PersistentDataInputStream.getStream(PersistentDataInputStream.java:84)
         at com.sap.engine.core.configuration.impl.PersistentDataInputStream.read(PersistentDataInputStream.java:135)
         at com.sap.engine.bootstrap.Synchronizer.getFile(Synchronizer.java:245)
         at com.sap.engine.bootstrap.Synchronizer.getFile(Synchronizer.java:216)
         at com.sap.engine.bootstrap.Synchronizer.synchronizeFile(Synchronizer.java:151)
         at com.sap.engine.bootstrap.Bootstrap.getOSDependentFiles(Bootstrap.java:708)
         at com.sap.engine.bootstrap.Bootstrap.synchInstanceGlobals(Bootstrap.java:200)
         at com.sap.engine.bootstrap.Bootstrap.makeUpdate(Bootstrap.java:993)
         at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:972)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    Caused by:
    ***com.microsoft.sqlserver.jdbc.SQLServerException: The system is out of memory. Use server side cursors for large result sets:null. Result set size:112,526,773. JVM total memory size:259,522,560.***
    I tried your suggestion about "Note 784568 - DB6: fullyMaterializeLobData=false"
    Changed the Value of
    jdbc/pool/CR1/Url = jdbc:sqlserver://EPCRMIDES:1433;databasename=CR1
    to
    jdbc:sqlserver://EPCRMIDES:1433;databasename=CR1;fullyMaterializeLobData=0;
    Then RESTART Application...
    But I still get the error and Java is not coming backup.
    The database for us is sql server.
    Any suggestions..

  • Session becoming NULL

    I am working on struts application.
    When we restart Tomcat, it's working fine.
    After few days, session becoming null in particular area of the application. Otherthan that area, application is working fine. If we restart Tomcat, then it's works fine.
    There is no problem with database (MySQL). Previously, we started db with max_allowed_packets=50M as default.
    struts-config.xml contains the following content:
    <data-sources>
          <data-source key = "jdbc/RFS">
             <set-property property = "password" value = "rfs" />
             <set-property property = "minCount" value = "1" />
             <set-property property = "maxCount" value = "50" />
             <set-property property = "user" value = "rfs" />
             <set-property property = "driverClass" value = "com.mysql.jdbc.Driver" />
             <set-property property = "description" value = "" />
             <set-property property = "url" value = "jdbc:mysql://172.23.7.64:3306/rfs" />
             <set-property property = "readOnly" value = "false" />
             <set-property property = "autoCommit" value = "true" />
             <set-property property = "loginTimeout" value = "" />
          </data-source>
          </data-sources>Please let me know the usage of loginTimeout.

    Hi,
    Session Create Code in Login file
    HttpSession hs = req.getSession( true );
    hs.setAttribute( "user", lb.getUsername() ); // username() is ur unique id
    Session Tracking code in all file
                   HttpSession hs=request.getSession();
                   if ( hs == null || hs.getAttribute( "user" ) == null )
                        response.sendRedirect ( "./index.jsp" );
    Logout code
    HttpSession hs=req.getSession(false);
                   hs.setAttribute( "user", null );
                   hs.invalidate();
                   res.sendRedirect ( "./index.jsp" );
    // I hope this snippet will help u..

  • Store dropdown value in a variable in WAD

    Hi,
    I would like to pass the values from dropdown box to variable in my IP application. These variables are used to restrict the char values in filters of my application. When I change the dropdown box, my variable value should automatically change. My dropdown box uses the Char/struc member (Characteristic_selection) as data binding because I am doing the cascading dropdown boxes for my selection. I can not use variable as data binding for my dropdown box and I know this will work if I use the variable selection as data binding for drop down box.
    Now, the dropdown value is never stored in the variable, I don't know what I'm doing wrong.
    So, I need to know:
    - Variable settings
    - Dropdown settings
    - Dataprovider sttings
    I am using WAD 7.0
    Thanks!

    Hi Sebastian,
    Ok if I understand right, you have 2 DropDown webitems - on selection of one you would want the 2nd to filter which is cascaded action on DropDowns; and on selection of each DropDown you would want to pass the selections to the main query variables. Check if the below settings work;
    DropDown 1 -> DP1 (perhaps on a master IO), Characteristic -> say C1, Affected Data Providers -> DP2 (DP of DropDown 2), Action -> Command via Command Wizard -> Execution Point of Time -> After Default Action, Command -> SET_SELECTION_STATE_BY_BINDING (under Data Provider Commands -> Commands for Filter Values), Data Provider Affected -> main query DP assigned to the Analysis webitem, Selection Binding -> Characteristic -> C1, Binding Type -> Variable, choose corr. query Variable
    DropDown 2 -> DP2 (perhaps on a master IO), Characteristic -> say C2, Affected Data Providers -> None, Action -> Command via Command Wizard -> Execution Point of Time -> After Default Action, Command -> SET_SELECTION_STATE_BY_BINDING (under Data Provider Commands -> Commands for Filter Values), Data Provider Affected -> main query DP assigned to the Analysis webitem, Selection Binding -> Characteristic -> C2, Binding Type -> Variable, choose corr. query Variable
    --Priya

  • Checking the long value is null or not

    Hi
    Can anybody help me how to check that a long variable is null ot not?

    karthikeyan.v wrote:
    its ok...but reply me that how to check a long variable contains any content?If your code compiles, it always has predictable "content" (value).
    class Foo {
      long z; // 1
      void bar() {
        long y; // 2
        // 3
        long x = y; // 4
    }Because of #1, every time you create a Foo object that object's z variable has a value of 0 after construction has finished. Member variables are initialized to 0/false/null before you can even see them.
    Local variables, however, do not have a value until you assign one to them. The compiler knows this, and will not let you use a local unless it has been "definitely assigned" (JLS term) at that point.
    Here, because we do not assign a value to y at #2 or any time after that, as of #3 and afterwards, it does not have a value as far as the compiler is concerned. That means when we get to #4, we'll get a compile-time error.
    If we get past #4 without a compile-time error, then it is guarnateed that y has been assigned a value by our code in the body of that metohd.
    If this does not answer your question, please clarify what you're asking with something more precise and descriptive than "how to check it contains any content", which means nothing.

  • Report error: ORA-06502: PL/SQL: numeric or value error: NULL index table k

    Hi everybody,
    I have two Distinct Databases on two distinct servers. (Oracle Ent. Release 10.2.0.3.0 on AIX 5.3). After I install the latest patch last week, One of the APEX installation has some problems on Home>Application Builder Page. The error message is very random and
    report error:
    ORA-06502: PL/SQL: numeric or value error: NULL index table key value.
    When i change the view (details to icons), everything goes to normal. This error message is reflected some of the pages (report region) of some of my applications randomly. When it appears in a report region, i deselect the order method of the region, the result is normal.
    But the other APEX application on the other instance has no problem. It is a bug? or Should i re-install the APEX instance?
    Thank you for your interest?
    Gökhan ÇATALKAYA

    No, but we have a reproducible test case now so we're working on it. See ORA-06502: PL/SQL: numeric or value error: NULL index table key value
    Scott

  • Why CreateNewFrame() returns as NULL after successful created 136 child frame window and trying to create 137th child frame window in MDI application

    I am working on MDI application which was developed in VC++ in VS 2012. When my application is launched, it will display a Tree. Under a tree there are 254 nodes. Basically
    these nodes data are read from Configuration xml file and loaded into the Tree. By double clicking on each node, first it will create object for document class ( By calling CreateNewDocument() method) after that member variables for that
    document class will be initialized and then it will create the new frame window (by calling
    CreateNewFrame(pDoc,NULL). New child frame window will show under Main window to the user.
    User able to see the data from child frame window.
    Similarly by double clicking on each node it will create another object for the same document class and new child frame window will be opened for that node. Each child frame window runs
    in different data and showed under the Main window.
    Existing requirement by double clicking on each node, node data shall show in separate child window and there is no requirement for all 254 child windows opened simultaneously.
    But current requirement is , all 254 child windows shall open simultaneously by double clicking on each node one by one.
    In debug mode I have tried double clicking on each node. I able to open up to 50 nodes. After 50th child windows are opened, I unable to access to the application
    (Unable to open further node data window since application is getting hanged).
    Each child window is having tree, multiple splitter window and some additional controls (static text, ...).
    Same I have tried in release mode, I able to open up to 136 child windows. After that the application fail to create the new frame window in VS 2012. i.e CreateNewFrame() return
    NULL after successful created 136 child frame window. Debug purpose I have added the code to retrieve last error code by calling GetLastError() method. I got the value as "0". By closing any existing child window then I able to open remaining nodes.
    At any point of time I can reach maximum of 136 child frame window that can be opened under Main window. Failing to open all 254 child frame window
    simultaneously,  currently I fail to meet the current requirement.
    current Requirement is all 254 child frame window are opened simultaneously. Please let me know what may be the reason fail to create new frame window after 136 frame window that are
    opened already. In Microsoft site, mentioned that there is no limitation for creating frame  window in MDI application. I have tried another sample MDI application having limited number of controls, in which I able to create "n"
    number of child frame windows. why not able to create more than 136 child frame window in my actual application?
    Is there any possibility by changing project settings allow me to create 254 child frame window??
    Code Snippet as below:
    CDiagBaseDoc * CDiagBaseMDocTemplate::OpenDiagView( ...)
         CDiagBaseDoc* pDoc = NULL;
        if (pDoc == NULL)
            pDoc = (CDiagBaseDoc*)CreateNewDocument();
        if ( pDoc )
           CFrameWnd* pFrame = NULL;
           if (bAlreadyOpen)
                  // If Child frame window already opened, then handling the code here.
         else
               pFrame = CreateNewFrame(pDoc, NULL);
               if (pFrame == NULL)
                  ASSERT(FALSE);
                  delete pDoc;       // explicit delete on error
                 pDoc = NULL;
              ASSERT_VALID(pFrame);
              if( pDoc != NULL ) //VS2012
                 if ( !pDoc->OnNewDocument() )
                    TRACE0("CDocument::OnNewDocument returned FALSE\n");
                    delete pDoc;       // explicit delete on error
                    pDoc = NULL;
                    pFrame->DestroyWindow();
                     pFrame = NULL;
           if (pFrame)
               InitialUpdateFrame(pFrame, pDoc);
               ShowWindow( pFrame->GetSafeHwnd(), SW_MAXIMIZE ); //when opening node for the 1st time, maximize it
    }<o:p></o:p>

    Hi MuruganK,
    Have you checked how much memory your application used? You could check it by Task Manager. Maybe your application reach Memory Limits for Windows.
    https://msdn.microsoft.com/en-us/library/windows/desktop/aa366778%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396
    Is it possible that there are some memory leaks in your application? It would better if you have made a simple sample to reproduce and narrow down this issue.
    Best regards,
    Shu
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • The battery in my Zen touch will no longer cha

    I bought this MP3 player for my son two years ago. He used it a lot, but for the last few months he was out of country and did not charge it. Now it will not charge at all, the charging light does not come on and we have tried charging it with the US

  • Need a good Desktop HD for Time Machine

    I'm in search of a good Hard Disk for my iMac that will be used solely with Time Machine. I recently purchased (and returned) a LaCie P'9321 due to it incompatibility with a Mac. So I'm looking for a HD that will give me no problems and is in the ran

  • Capture video on iphone applicationand play it on website

    Hi, I capture movies with my iphone application. I think the only format the iphone creates is .mov - does it? Anyway, later, I save the video file on Amazon server (AWS) and I want to be able to view the video again both on iphone devices and on my

  • Brush and eraser cursors turn to arrow on Wacom tablet

    Hello, anyone and everyone, drawing with PHotoshop CS5 on the Wacom 22HD, my brush and erasor cursors will suddenly switch to the ordinary 'arrow' or 'pointer' cursor the instant the stylus touches the surface of the tablet. Any ideas as to what's go

  • An apple script that saves mail attachments no longer works in lion

    In my mail rules, I have been using an apple script, which, if the sender belongs to a certain group, saves any attached files to a special folder I have for attachments from that group. After installing Lion, It performs other parts of my rule (play