Binding when using Adhoc query

Hi,
Do we have to create QName objects every time or we can preconstruct QName objects for specific parameters and reuse them when we use those parameters?
pe.bindString(new QName("p_firstname"), "Jack");

Hi,
Instead of creating a new QName object for every request can I use a static variable for QName and reuse it for all the concurrent requests ?

Similar Messages

  • How to numberformat when using sql:query alogn with c:forEach JSTL tags

    Is there anyway to format the numeric values returned from the database when using <sql:query> alogn with <c:forEach> tags
    Here is my jsp code
    <sql:query..../>
    <c:forEach var="row" items="${queryResults.rows}">
    <tr>
    <td><c:out value="${row.COL1}" /></td>
    <td><c:out value="${row.COL2}" /></td>
    </tr>
    </c:forEach>
    Col1 values are numeric without any formats Eg: 1000, 10000, 1000000 etc.
    how can i format them to 1,000 , 10,1000 , 100,000 etc

    It is polite to mention what your answer was. These posts are not just here for you to ask questions, but to be used as a resource for other people to find answers. Saying "I solved it" with no details helps noone.
    I presume you discovered the JSTL <fmt:formatNumber> tag?

  • Cannot bind when using "pwdLastSet" attribute in Active Directory

    Admin resets the password & enables user has to change password at next logon, when i try to change user password, I couldn't able to bind the user & it shows error Such as
    Since Authentication fails, he could able to modify the attribute[pwdLastSet].
    please suggest me any solution
    Error occured
    xyz is not authenticated javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, data 773, vece
    javax.naming.NamingException: [LDAP: error code 1 - 00000000: LdapErr: DSID-0C090A1A, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, vece
    Since i couldn't able to bind the user, i cann;t able to change user password. Here is my program :
    {code}public class Fastbindclient_changePwd extends HttpServlet{
    class ldapfastbind {
    class FastBindConnectionControl implements Control {
    public byte[] getEncodedValue() {
    return null;
    public String getID() {
    return "2.16.840.1.113730.3.4.2";
    public boolean isCritical() {
    return Control.CRITICAL;
    public ldapfastbind(String ldapurl) {
    env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY,
    "com.sun.jndi.ldap.LdapCtxFactory");
    env.put(Context.SECURITY_AUTHENTICATION, "simple");
    env.put(Context.SECURITY_PROTOCOL, "ssl");
    env.put(Context.PROVIDER_URL, ldapurl);
    connCtls = new Control[] { new FastBindConnectionControl() };
    try {
    ctx = new InitialLdapContext(env,connCtls);
    catch (NamingException e) {
    public int Authenticate(String username, String password, HttpServletRequest request, HttpServletResponse response) throws LDAPException{
    try {
    ctx.addToEnvironment(Context.SECURITY_PRINCIPAL,username);
    ctx.addToEnvironment(Context.SECURITY_CREDENTIALS,password);
    ctx.reconnect(connCtls);
    System.out.println(username + " is authenticated");
    return 0;
    catch (AuthenticationException e) {
    int index5= errMsg.indexOf("data 773");
    if(index5 != -1)
    try {
    pwdLastSet = 1;
    System.out.println("Password Last Set "+pwdLastSet);
    String j_username=request.getParameter("j_username");
    String j_password=request.getParameter("j_password");
    String new_password=request.getParameter("new_password");
    String change_password=request.getParameter("change_password");
    boolean isChanged = ctxFast.ChangePassword(j_username, j_password, new_password, request, response);
    } catch (IOException e1) {
    catch (NamingException e) {
    return 0;
    public boolean ChangePassword(String sUserName, String sOldPassword, String sNewPassword, HttpServletRequest request, HttpServletResponse response) throws UnsupportedEncodingException {
    try {
    ModificationItem[] mods = new ModificationItem[1];
    ModificationItem[] mods1 = new ModificationItem[1];
    String oldQuotedPassword = "\"" + sOldPassword + "\"";
    byte[] oldUnicodePassword = oldQuotedPassword.getBytes("UTF-16LE");
    String newQuotedPassword = "\"" + sNewPassword + "\"";
    byte[] newUnicodePassword = newQuotedPassword.getBytes("UTF-16LE");
    System.out.println("newUnicodePassword" + newUnicodePassword);
    System.out.println("printed before modify");
    mods[0] = new ModificationItem(LdapContext.REPLACE_ATTRIBUTE, new BasicAttribute("unicodePwd", newUnicodePassword));
    ctx.modifyAttributes("cn="+sUserName+",cn=Users,dc=tc,dc=com", mods);
    mods1[0] = new ModificationItem(LdapContext.REPLACE_ATTRIBUTE, new BasicAttribute("pwdLastSet", "-1"));
    System.out.println("pwdLastSet Replaced");
    /* mods[0] = new ModificationItem(DirContext.REMOVE_ATTRIBUTE, new BasicAttribute("unicodePwd", oldUnicodePassword));
    mods[1] = new ModificationItem(DirContext.ADD_ATTRIBUTE, new BasicAttribute("unicodePwd", newUnicodePassword));
    ctx.modifyAttributes("cn="+sUserName+",cn=Users,dc=tc,dc=com", mods1);
    ctx.close();
    return true;
    catch (AuthenticationException e) {
    if(index5 != -1)
    try {
    pwdLastSet = 1;
    System.out.println("Password Last Set "+pwdLastSet);
    String j_username=request.getParameter("j_username");
    String j_password=request.getParameter("j_password");
    String new_password=request.getParameter("new_password");
    String change_password=request.getParameter("change_password");
    boolean isChanged = ctxFast.ChangePassword(j_username, j_password, new_password, request, response);
    } catch (IOException e1) {
    // TODO Auto-generated catch block
    e1.printStackTrace();
    return false;
    catch (NamingException e) {
    return false;
    public void finito() {
    try {
    ctx.close();
    System.out.println("Context is closed");
    catch (NamingException e) {
    System.out.println("Context close failure " + e);
    public void bindClient(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
    String ldapurl = "ldaps://172.22.0.99:636";
    String keystore = "D:/j2sdk1.4.2_04/jre/lib/security/CACert.ks";
    System.setProperty("javax.net.ssl.trustStore",keystore);
    ctxFast = new ldapfastbind(ldapurl);
    try {
    IsAuthenticated = ctxFast.Authenticate(request.getParameter("j_username"),request.getParameter("j_password"), request, response);
    boolean isChangedNrml;
    if(pwdLastSet == 0)
    isChangedNrml = ctxFast.ChangePassword(j_username, j_password, new_password, request, response);
    System.out.println("b4 change");
    System.out.println("After change 1");
    } catch (LDAPException e) {
    System.out.println("LDAP Exception : " + e.getLDAPResultCode() + "LDAPMessage : " + e.getLDAPErrorMessage()+ "message : " + e.getMessage());
    e.printStackTrace();
    String errMsg = e.getMessage();
    System.out.println("error msa"+errMsg);
    ctxFast.finito();
    public ldapfastbind ctxFast = null;
    public int pwdLastSet = 0;
    }please suggest me solution
    Thanks in Advance..

    See my other reply concerning "user must change password" and the chicken & egg problem.
    In addition when using the LDAP Fast Bind control, it is only used to authenticate a user (verify credentials).
    If the user has the "user must change password" setting enabled, then the LDAP Fast Bind Connection Control will always fail the authentication attempt.
    Furthermore, the LDAP Fast Bind control does not create a Windows token, and even of the user had successfully authenticated, it does not permit the user to perform other operations againts the directory such as modify attribute values or change passwords.
    You must perform a full LDAP bind in order to allow a user to change their password or to modify other attribute values.

  • Display Item cleared when using 'Enter-Query'

    Hi all,
    i am going to develop a multilanguage application with very
    special heading texts using display items for these headings.
    BUT- if I press EnterQuery, they are cleared also.
    How can I restrict cleanup of these display items used as
    headings ?
    I was looking in the properties, but no idea.
    Thanks for help,
    udo

    I'm showing how to do it when switching modes. I'm
    not suggesting this is the best way to do a query.We need to look at this in the context of the original probelm in the thread linked to above. For most cases the when-timer-expired etc is just a huge detour around using the pre-query trigger but it's an interesting approach to the specific problem in the earlier thread. The OP there wanted to be able to type '>5000' into a number field in a non-database block, which we can do in a database block in enter-query mode, and use it as a query parameter in the database block. Perhaps if we enter this into a character field in the non-database block and populate the numeric field in the database block whilst in enter-query mode then we can do searches on ranges of data? Unfortunately it doesn't work - you get an ora-06502 error just like you do when using the pre-query trigger. For the situation in the original thread you would have to use a 'default where'.

  • Can you specify the columns that get written to a spreadsheet when using the query attribute of cfspreadsheet?

    Hello, I wanted to see if you can control which columns from a query get written to a excel spreadsheet. I have some items in my query that I do not want in the spreadsheet but need for my query, if that makes sense.
    Thanks.
    Steve

    There are no parameters in the cfSpreadsheet tag to choose specific columns, however you can use a query of queries (About Query of Queries - ColdFusion English Documentation - Adobe Learning Resources) to get a query object with a subset of columns to pass to the tag.

  • Help! Inaccessible iterator when using dynamic query

    Hi!
    I have a problem retreiving results from a dynamic query into sqlj iterator.
    I consulted the Oracle App Dev Guide and Oracle SQLJ Dev Guide and wrote the following code:
    <PRE>
    package pmServer;
    #sql iterator LocIterator (int id, String name);
    public class pmRISDImpl
    public int GetLocations(...)
    LocIterator locIt;
    String q = "select ID, NAME from PMADM.LOCATIONS";
    #sql
    BEGIN
    open :OUT locIt for :q;
    END;
    </PRE>
    When I try to compile it using tools provided by JDeveloper ver 3.2.2.(Build 915) for JDK 1.2.2 I get error for #sql statement:
    Inaccessible Java type for host item locIt (at position #1): pmServer.LocIterator
    and warning:
    Type pmServer.LocIterator of host item locIt (at position #1) is not permitted in JDBC. This will not be portable.
    Althow the code is identcal to those demonstrated in Oracle document "Oracle8 i
    SQLJ Developers Guide and Reference
    Release 3 (8.1.7)
    July 2000
    Part No. A83723-01" pp 12-67 (PL/SQL in SQLJ for Dynamic SQLDynamicDemo.sqlj). There it looks like
    <PRE>
    private static void dynamicSelectMany(String what_cond)
    throws SQLException {
    System.out.println("dynamic multi-row query on table emp");
    Employees empIter;
    // table/column names cannot be bind args in dynamic PL/SQL, so
    // build up query as Java string
    String query = "select ename, sal from emp " +
    (((what_cond == null) &#0124; &#0124; (what_cond.equals(""))) ? "" :
    (" where " + what_cond)) +
    "order by ename";
    #sql {
    begin
    open :OUT empIter for -- opening ref cursor with dynamic query
    :query;
    -- can have USING clause here if needed
    end;
    while (empIter.next()) {
    System.out.println("Employee " + empIter.ename() +
    " has salary " + empIter.sal() );
    empIter.close();
    </PRE>
    Please guide me what should I do to get it working.
    null

    In the CAST statement the SQLJ runtime must be able to produce an instance of you SQLJ iterator using Java reflection.
    This necessitates that the iterator class must be accessible by public.
    You have two options:
    (1) Declare the iterator public. This requires that you put it in its own file LocIterator.sqlj:
    #sql public iterator LocIterator (int id, String name);
    (2) Declare the iterator as an inner class. In this case you want to make it public static (that is it does not require an instance of the outer class in scope). You might write the following.
    package pmServer;
    public class pmRISDImpl
    #sql public static iterator LocIterator (int id, String name);
    (3) If you are using Oracle 9i you have another option. You can embed dynamic SQL fragments directly in your SQLJ code and do not need to use the CAST:
    public int GetLocations(...)
    LocIterator locIt;
    String q = "PMADM.LOCATIONS";
    #sql locIt = { select ID, NAME from :{q} }; // Note new syntax :{q} for embedding SQL source code
    }

  • #Multivalue Error on Webi when Using BEx Query

    Hi All,
    I have created a Webi Report on top of SAP BW BEx Query. I have created a variable in Webi on top of a dimension. When I add that variable in the report block some of the Measures are showing as #Multivalue. I know we can get rid of this by creating a universe and then changing the properties of the measure to sum. However we do not plan to have a universe and would want to make the changes in the BEx query or in the Webi Report whereever applicable.
    Kindly suggest the solution at the earliest.
    Regards,
    James

    HI James,
    Creat Variable =
    =sum(Tonumber([Dimension]))
    use this variable in report , it will help you
    Regards,
    Mahi

  • Column Aliases not working when using MS Query into Excel?

    I setup an Oracle ODBC connection from my desktop to an Oracle 9i DB, and created an MS Query sql:
    select sysdate as "Today" from dual;
    When I tried to run it and return it to Excel, it would ignore the column alias of 'Today' and keep putting in 'SYSDATE' as the column header.
    SYSDATE
    ==========================
    2007-04-18 11:55:54
    What I expected was:
    TODAY
    ==========================
    2007-04-18 11:55:54
    I've read some other reports out there on the web and tried changing a registry entry per the MSDN knowledge base, but that didn't help. Several of the existing threads in this forum only refer to exporting directly to an Excel file from Oracle, rather than pulling the information from the db into excel using an abstraction layer such as ODBC (ADO would be similar I'm sure).
    Just curious if other Oracle SQL guys have run into this same problem. I'm sure somebody's had to use a column alias in their Oracle->Excel results before..

    Are you using SQL plus? Have you tried Oracle's SQL
    developer? It is free, does not require an install
    on your computer (you can run it from a flash drive),
    and it exports pretty smoothly to excel.I'm not using SQL Plus -- this was purely excel / ODBC as the client and Oracle as the database layer.
    I had looked at SQL Developer, along with DB Visualizer (along the same lines , as a sql gui with some export capability to .csv and excel formats). However, I don't think it quite served my purpose in trying to have a workable data-source where I could pull from Excel and use VBScript or C# to do the manipulation and customized reporting/charting/pivot-tabling.
    My eventual workaround was to bypass MS Query altogether for creating the 'external data table' in Excel, and instead create the query through code.

  • Screen moving when using Execute query (F8)

    Hi i have a screen oracle form when i used the key F8 ( execute query) then the screen moved down a half. Could you please help me how to fix it.

    Try Using this in WHEN_NEW_FORM_INSTANCE
    SET_WINDOW_PROPERTY(FORMS_MDI_WINDOW, WINDOW_STATE, MAXIMIZE);

  • WebElements: HTML not rendering when using Bex Query as Source

    Hi all,
    Has anyone managed to use the WebElements when creating a report on a BW source (BEx) query. I have used WebElements quite a lot on non-SAP sources and works like a charm. Now I would like to use it on a SAP environment, but the controls are not displaying, only the HTML text.
    Can anyone provide some insight to whether the WebElements are compatible on a SAP environment in Crystal or s there something special that needs to be done here.
    Thanks
    Jacques

    Dear Jamie & Jacques,
    Is there any news regarding this issue? I'm having the same issue here. I'm using BW datasource. My BOE, Crystal Report 2008, and Integration Kit are all on SP3 (with no FP applied yet).
    All the WebElements components are shown as HTML tag.
    But actually when i tried to remove the Datasource, the WebElements also don't show up. I've followed up all the instructions on the WebElements guide, and on the SDN link below.
    I added WECalculator and WEBuilder using formula syntax below to the report. But they only show up as HTML tag.
    Formula @calc (component WECalculator)
    WECalculator ("number", "0", "Integer", "Enter an Integer value.")
    Formula @builder (component WEBuilder)
    stringvar allelements:= {@calc};
    WEBuilder(allelements, 1)
    I've done everything as per the guide and SDN link below:
    browser interpretation
    [Interpreting WebElements in the browser;
    1) ensure that Can Grow is not checked on for the formulae that contain any webelements.
    done
    2) ensure that the formula in the designer is only 1 line in height...these 2 are required to make pass through html work in the viewers
    done, i insert the 2 formulas to report and it appears as 1 single line.
    3) the web server should be restarted after making the change to the web.xml file
    done
    if the above don't work please provide some more info such as
    a) which version of business objects enterprise you are using
    BOE, Crystal Report, and Integration Kit all on SP3. Below are the installation files i used (downloaded from SAP Service Marketplace).
    Server
    1. BusinessObjects Enterprise XI 3.1 SP3 (ENTERPRISE03_0-10007443.EXE)
    2. SAP BusinessObjects Integration XI 3.1 SP3, version for SAP solutions (BOBJINTGRSAP03_0-51038935.ZIP) u2013 Server installation
    Client
    1. SAP BusinessObjects Integration XI 3.1 SP3, version for SAP solutions (BOBJINTGRSAP03_0-51038935.ZIP) u2013 Client installation
    2. Crystal Report 2008 v1 (SP3) Win Server on IA32 32bit Full Build (51038906.ZIP)
    b) what viewer are you using
    I ran the rpt file (saved without using .rpt extension) through InfoView.
    c) does the select menu show up in the crystal reports designer html preview mode
    It only shows up as HTML tag as well in the Crystal Report designer HTML preview mode.
    Please help me.
    Kind regards,
    aswin

  • Two Excel Web Query (IQY) features I am missing when using Power Query

    1. header labels
    In Excel Web Queries, I could specify the heading label
    2. format expressions
    In Excel Web Queries, I could specify a format string.
    I'm not too concerned about #1, but #2 is a real issue. Perhaps is just a lack of feature understanding on my part, but I don't see in the Query Editor any way to change the format for a column.  I can change the format in the worksheet but that change
    is lost when I refresh the data. Can formatting be done via "M"?  If so, then a feature request would be to add formatting to UI.
    Reading the docs, I see Number.ToText()
    http://office.microsoft.com/en-us/excel-help/number-totext-HA104110114.aspx
    But I don't get how I can use this in a Table.TransformColumns

    Ah, I did not understand "format" as "number format". As you've noticed, there's no notion of number format in Power Query itself, so you can only format the number by transforming it into another value. Number.ToText has a variety of options for transforming
    a number into a string. The following will format the "Column" column to have four places after the decimal point.
    = Table.TransformColumns(Data,{{"Column", each Number.ToText(_, "f4")}})
    Be aware, though, that this will cause the cell value in Excel to have a type of Text instead of Number.

  • How to override security for table access when using SAP Query?

    We have a number of infosets which use table join between PA0001 and CATSDB table. To execute a query based on such a query you would need access to table auth group PA through S_TABU_DIS. This was earlier not a problem as SAP query was earlier used by support staff and not end users. We do not want to give S_TABU_DIS with to end users as this amounts to givin them access to all PA tables.
    The generated code for the query checks for the condition
    "%rtmode-no_authchk = space"
    before going for the authorization check.
    Thus, ideally the authorization check for an InfoSet can be skipped if we can pass X for this variable from the InfoSet definition. Is there a way to do this?
    Would appreciste any inputs to help suppress the authorization check at this point. Thanks.....

    >
    Julius Bussche wrote:
    > Perhaps you could replace it with a class of your own (transaction SE24)?
    >
    > I have not tried to do this; it was just a thought.
    >
    > Kind regards,
    > Julius
    unfortunately this does not work. SAP saw fit to 'hard-code' the implementation of the interface in RSAQEXCE:
    (only parts of that abap displayed here).
    170 data: iref type ref to if_query_tab_access_authority.
    1107 *       FORM AUTHORITY_BEGIN
    1112 form authority_begin using p_auth_classname type AQS_CLSNA.
    1119   perform authority_init using p_auth_classname.
    1120   call method iref->access_authority_begin.
    well for my part (searching a solution for a query on LTAK, wanting L_LGNUM as an object) i'm out of ideas. i shall have to modify SAP-standard and disable the class and do my own coding in the info-set. no other possibility - i cannot allow S_TABU_DIS for group LA and even if i did, what help would it be - i would have to allow that to all companies in that client having WM - and that would be literally all - i need LGNUM here!

  • NULLReferenceException when using LINQ query with In clause

    Hi,
    I am not sure where my code is actually breaking. Kindly help as it's a production issue. It's not happening in SIT, but on production.
    NullReferenceException occurring when below method is called:
            internal bool IsFilingPartyWithActiveLAB(string docId)
                IBackEndMediator bckEndMd = null;
                List<DocCasePartyEntity> lstDCPWithLAB = null;
                try
                    if (!string.IsNullOrEmpty(docId))
                        bckEndMd = new BackEndMediatorImpl();
                        List<DocCasePartyEntity> lstDCP = bckEndMd.GetListDocCasePartyByDocId(docId);
                        lstDCPWithLAB = new List<DocCasePartyEntity>();
                        if (lstDCP != null && lstDCP.Count > 0)
                            lstDCPWithLAB = (from dcp in lstDCP
                                             where dcp.FilingInd
    == FilingPartyInd.Y &&
                                             dcp.HasLAC == YesNo.Y
                                             select dcp).ToList();
                        if (lstDCPWithLAB != null && lstDCPWithLAB.Count > 0)
                            foreach (DocCasePartyEntity dcp in lstDCPWithLAB)
                                DocCasePartyLACDetailEntity dcpLACDetailEntity = bckEndMd.GetDocCasePartyLACDetailByDCPId(dcp.DCPID);
                                if (dcpLACDetailEntity != null)
                                    if (dcpLACDetailEntity.LACRefStatus == LACRefStatus.A)
                                        return true;
                catch (Exception ex)
                    log.Error("Exception during IsFilingPartyWithActiveLAB()", ex);
                    throw;
                return false;
    Logged ERROR is:
    ERROR 2015-04-16 10:23:05,296 20 IELS.BackEnd.TaskList.Business.TaskListLABService -
    Exception during IsFilingPartyWithActiveLAB()
    System.NullReferenceException: Object reference not set to an instance of an object.
       at IELS.BackEnd.TaskList.Business.TaskListLABService.IsFilingPartyWithActiveLAB(String docId)
    DEBUG 2015-04-16 10:23:05,296 56 CrimsonLogic.Common.DMS.Utilities.SharePointHelper - :End GetSPFolder(http://URL, IELSFormXMLTemplates)
    ERROR 2015-04-16 10:23:05,296 20 IELS.BackEnd.TaskList.Presentation.TaskItemApprovalPage - TaskItemApproval: method-TaskItemApproval.BindWaiverFeeDetails, msg-System.NullReferenceException: Object reference not set to an instance of an object.
       at IELS.BackEnd.TaskList.Business.TaskListLABService.IsFilingPartyWithActiveLAB(String docId)
       at IELS.BackEnd.TaskList.Presentation.TaskItemApprovalPage.BindWaiverFeeDetails(List`1 feeListDTO)
    ERROR 2015-04-16 10:23:05,296 20 IELS.BackEnd.TaskList.Presentation.TaskItemApprovalPage - TaskListApprovalPageException occured at Page_Load
    System.NullReferenceException: Object reference not set to an instance of an object.
       at IELS.BackEnd.TaskList.Business.TaskListLABService.IsFilingPartyWithActiveLAB(String docId)
       at IELS.BackEnd.TaskList.Presentation.TaskItemApprovalPage.BindWaiverFeeDetails(List`1 feeListDTO)
       at IELS.BackEnd.TaskList.Presentation.TaskItemApprovalPage.Page_Load(Object sender, EventArgs e)
    ERROR 2015-04-16 10:23:05,296 20 CrimsonLogic.Legal.BootStrapper.BackEnd.ExceptionHandlerModule - Unhandled error occurred -
    System.NullReferenceException: Object reference not set to an instance of an object.
       at IELS.BackEnd.TaskList.Business.TaskListLABService.IsFilingPartyWithActiveLAB(String docId)
       at IELS.BackEnd.TaskList.Presentation.TaskItemApprovalPage.BindWaiverFeeDetails(List`1 feeListDTO)
       at IELS.BackEnd.TaskList.Presentation.TaskItemApprovalPage.Page_Load(Object sender, EventArgs e)
       at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
       at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
       at System.Web.UI.Control.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    ERROR 2015-04-16 10:23:05,296 20 CrimsonLogic.Legal.BootStrapper.BackEnd.BootStrapper - Unknown application error occurred.
    Thanks, SS

    I don't trust compilers.  Had issues over 30 years ago and never use a combined 'if' where one of the items is null.
    if (lstDCP != null)
    if(lstDCP.Count > 0)
    lstDCPWithLAB = (from dcp in lstDCP
    where dcp.FilingInd == FilingPartyInd.Y &&
    dcp.HasLAC == YesNo.Y
    select dcp).ToList();
    jdweng
    That will not happen becuase he is checking for null first then count:
    This is 
    List<string> lst = null;
    if ( lst != null && lst.Count > 0 )
    different than this: this will cause null ref error
    List<string> lst = null;
    if ( lst.Count > 0 && lst != null )
    Fouad Roumieh

  • How do I change the label of the search when using ADF Query?

    According to Fusion UI standards, the search label should say Advanced Search or Search depending on whether or not the search is advanced or basic. Can anyone point me to some code that accomplishes this or describe how this should be done.? Thanks, -Klaus

    Hi Lucas,
    You can use the 'set(int, String, Image)' method on ChoiceGroup or on List depending on where your Choice elements are.
    Check the Java doc of ChoiceGroup or List for this 'set' method. In short, the 'int' refers to the index within the entire list, the 'String' object refers to the new caption of the choice element and the 'Image' object refers to the icon that has to be set for the choice element (can be 'null').
    Good luck!
    Jasper

  • Query Designer crashes when using 0CALWEK

    Hi all
    I have come accross an error when using the query designer in BI 7.0.  If i try to restrict on 0CALWEEK the Query Designer first tells me there are errors but none show, then tells me there are no values for 0CALWEEK and finally crashes saying
    "An unhandled exception has occurred in your application."
    "Object reference not set to an instance of an object."
    After this the desiger freezes and must be exited.
    On occasions an RFC error shows on the botton of the design view suggesting a check of the RFC logs, however nothing appears in the RFC log.
    Any assistance would be very much appreciated.
    With Thanks
    Gareth

    Anil
    Generating in RSRT does not fix the problem.
    Checking the query designer shows no errors, however once we get the crash after attempting to restrict on 0CALWEEK it is not possible to use the check button (since the whole of query designer freezes).
    This is happenning on our development system (the only one on which we are currently creating queries) and on all PCs.
    The note, unfortunately, refers to an issue when using gui 7.X, however we are using 640 so it should not be a .net framework issue however i am asking my BASIS team to do some testing on that.
    Many thanks for your suggestion though.
    Any other ideas?
    Regards
    Gareth

Maybe you are looking for

  • My Iphone 5 won't connect to my PC

    My Iphone 5 won't connect to my PC. When I plug it in to my PC nothing happens at all. My cord chargers on the charger so I dont think the cord could be the problem. Also I updated all my PC software, as well as my Iphone and still nothing. I tried p

  • Best Practice for Start/Stop Xir31 jobserver by BODS (Batch or whatever)

    Dear all, i'm migrating XIr2 => XIr31 current version and just dealing with the interaction to BODS. In XIr2 we stopped the Jobserver at midnight and started by net start "Web Intelligence Job Server" by the end of the relevant BODI import Job. - Now

  • How do I make a radio button choice on a form stand out more?

    I have created a form with lots of square radio buttons. I would like the user's choices stand out more on the form. Right now all I get is a small square black dot in the middle of a white square. Is there a way to fill the whole square in, or bette

  • Traditional NI-DAQ windows 7 64 bits

    Hola, Tenemos varios programas con labviews 8.2 que han funiconado correctamente con Windows XP pero al instalar ahora en Windows 7 (64 bits) da error de nidaq32.dll. Solicita que se registre esa dll pero no podemos registrarla. El NIDMM esta actuali

  • Can't select layer mask, also some tools not working -- in CS2

    Photoshop 9.0.2 on WinXP Pro (3 GB RAM; Used space: 18.4GB; Free space: 214GB; Video card: 256MB ATI Radeon X1300PRO) Hi, I have a couple image layers (each created by merging several others) that each also have a mask attached. I cannot get the laye