DBUS_SESSION_BUS_ADDRESS set to the "wrong" value

Hi all,
this is related to systemctl --user stuff but only remotely. I had systemctl --user up and running for some time, but it stopped working at some point with a message  "Failed to issue method call: Process /bin/false exited with status 1". After searching a bit I figured it had something to do with dbus, so I added the following unit files:
/etc/systemd/user/dbus.service
[Unit]
Description=D-Bus Message Bus
Requires=dbus.socket
[Service]
ExecStart=/usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation
ExecReload=/usr/bin/dbus-send --print-reply --session --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig
/etc/systemd/user/dbus.socket
[Unit]
Description=D-Bus Message Bus Socket
Before=sockets.target
[Socket]
ListenStream=/run/user/%U/dbus/user_bus_socket
[Install]
WantedBy=default.target
which basically gives me a user-session dbus socket in /run/user/1000/dbus/user_bus_socket. So far so good.
What's troubling me is that DBUS_SESSION_BUS_ADDRESS is set to a non-existing socket:
max@failenovo:~/ $ echo $DBUS_SESSION_BUS_ADDRESS
unix:abstract=/tmp/dbus-st1aYMhS1t,guid=bdc7f9102f85b8318ba74ffe52ebc3dd
max@failenovo:~/ $ file /tmp/dbus-st1aYMhS1t
/tmp/dbus-st1aYMhS1t: cannot open `/tmp/dbus-st1aYMhS1t' (No such file or directory)
So, invoking systemd --user gives me: "Failed to issue method call: Process org.freedesktop.systemd1 exited with status 1". If I manually export DBUS_SESSION_BUS_ADDRESS to the correct value from the dbus.socket unit, it works:
max@failenovo:~/ $ systemctl --user
Failed to issue method call: Process org.freedesktop.systemd1 exited with status 1
max@failenovo:~/ $ DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/dbus/user_bus_socket systemctl --user
max@failenovo:~/ $ echo $?
0
My two questions:
How would I confiugure dbus-daemon (launched by gnome-session, I guess) to _actually write_ out the dbus socket in /tmp?
OR: Where's the best place to manually set the DBUS_SESSION_BUS_ADDRESS to a value, so that it doesn't get overwritten by garbage?
Cheers,
Max

have you tried this? https://bbs.archlinux.org/viewtopic.php?id=173501
Since version 207, systemd uses a different PAM module for [email protected], and includes an incorrect default PAM config. Fix it with: # sed -i s/system-auth/system-login/g /etc/pam.d/systemd-user (or replace all occurrences of system-auth in that file with system-login).
system-login needs to start pam_systemd: it should contain -session optional pam_systemd.so; check if a .pacnew file exists.

Similar Messages

  • Entering a Value and Tabbing out of af:inputListOfValues displays the wrong value

    Good morning. I am having an issue with the autosubmit and tabbing out of af:inputListOfValues in my code.
    Problem: When I type in a valid value and tab out of the field, it ignores the value I entered and displays whatever the first list in the query result instead regardless of the value I typed.
    My code snippet. What it does is simply an LoV search of Employee No attached to an entity attribute and depending on selection, it will display the Employee Name within the page. (it also retrieves a table view depending what employee number was entered)
    <af:inputListOfValues id="empNoId"
                 popupTitle="Search and Select: #{bindings.EmpNo.hints.label}"
                  value="#{bindings.EmpNo.inputValue}"
                  label="#{bindings.EmpNo.hints.label}"
                  model="#{bindings.EmpNo.listOfValuesModel}"
                  required="#{bindings.EmpNo.hints.mandatory}"
                  columns="#{bindings.EmpNo.hints.displayWidth}"
                 shortDesc="#{bindings.EmpNo.hints.tooltip}"
                   binding="#{workLocationBean.txtEmpNo}"
                  partialTriggers="id1"
                 valueChangeListener="{bean.onEmpNoChange}"    
                 autoSubmit="true">
            <f:validator binding="#{bindings.EmpNo.validator}"/>
      </af:inputListOfValues>
    Other things to note:
    When I enter a valid employee number and click anywhere in the page (not TAB), it behaves correctly.
    I have been trying to figure this out for days. Even my valueChangeListener gets the wrong value (when I do System.out) when I tab out so I am not sure where to catch it and replace it with the correct value.
    Thank you.

    This usually happens when primary key is not set in view object used by LOV.
    Dario

  • How to make the LV front panel controls the current value through the program is set as the default value when the next time you open?

    How to make the LV front panel controls the current value through the programis set as the default value when the next time you open?
    1110340051 

    Try this: Re: How to make a VI remember the latest control value?
    Jim
    You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice

  • Methods returning the wrong values...

    Hi,
    I've managed to get my hands on vb6 (though, it would be really nice if there was vb .net support.. I thougt this was coming in 1.5?) and have run into a rather odd problem. get Methods seem to return values from the wrong methods! For example, let's pretend my activex control stores values about a person. getName would return their age, while getAge might return null! Something is also going wrong with my method that accepts input and returns a value (okay, it is a money conversion program!)... it is returning null!
    I have verified that all these methods work perfectly by running the code in JBuilder with a Main class.
    Any idea what to do?
    (or how to make it work in .net!!!)
    Thanks!

    Wow!! I think the key was using the CreateObject command. I was adding it as a control, like I would a textbox. Things are working perfectly as far as I can tell! I wonder how I am supposed to test it in the vb6 testbox then.. Hrm.. Odd.
    This is great, though!! Thanks so much. :)

  • Dynamic setting of the dimension values.

    Summary:
    How can I programmatically control the dimension values displayed in ‘Selected’ window of ‘Edit worksheet’ wizard. of Oracle BI Discoverer plus for OLAP 10.12.48
    My objective is to dynamically set the dimension values for a particular dimension based on some criteria.
    Requirement:
    1.The user should be able to select one of the pre-defined options.
    2.Based on the option selected by the user, the necessary business logics need to be applied and then resets the dimension values. The ‘Selected’ window of ‘Edit Worksheet’ should be refreshed.
    3.Based on the option the short description & long description should be changed
    Existing Application Implementation:
    We already implemented this logic in oracle express 6.3.4 as follows.
    1.Radio buttons are provided to select the display option
    2.Whenever the option is changed, a program is executed in the Express objects. This program evaluates the option, applies the necessary business logics and displays the dimension values based on the option chosen. View is then refreshed to reflect the new dimension values. Note that this process does not affect the total “available dimension” values. The total number of “available dimension” values remains the same. It just manipulates the values in the ‘Selection’ object.
    3.The formula of the short description and long description is modified. This formula checks the option and based on it changes the description
    Issues I faced to Implement this logic in Oracle BI Discoverer plus for OLAP 10.1.2.48
    1. No provision to add radio buttons, hence were trying to implement the functionality with a dimension.
    2. No options available for applying business rule and setting the desired dimension values.
    3. No ‘event’ available to refresh the views
    How can I achieve this in Oracle 10g discoverer plus for olap 10.1.2.48
    Thanks,
    Natarajan

    I think this is not possible.
    When you give this settings while creating the SMARTForm, SMARTForm will generate a FM based on that settings. And it is not possible to change those settings at runtime.
    We have some constriants like this for dynamic paradigm in SMARTForm. Like, we can provide shading or Box color for the cell.
    Regards,
    Naimesh Patel

  • Trying to insert values into a table inserts the wrong values

    Hi, I'm sure this is quite simple but I don't know why it is happened (Spent about 2 hours debugging my program only to find the error is actually in the SQL insert statement not working properly hehe)
    I have a simple Payment table with the following columns:
    int - ID (primary key)
    int - Amount
    int - Paid
    varchar - Notes
    I try to place a new record into the table as follows:
    insert into payment values (1010,50,1,'Hello')
    but the ID i choose is not added to the record, rather the database assigns a ID instead automatically (it seems to add 1 to the last ID)
    On further inspection this happens for another of my tables too, however for another table, this does not happen and I can assign an ID as I would like.
    When creating my tables I thought I set them all up the same, however I guess not
    Does anyone know the problem?
    Thanks

    Hi,
    Are you are using this INSERT statement in any form??? if so, please check your pre-insert trigger.
    If not, then you may verify it by inserting it through iSQLPlus. If it doesn't insert your data, then check the database triggers associated with INSERT for your table.
    Regards,
    Zaaf

  • Unable to set up the default value in custom object 10,related item section

    Hi,
    Please help me out for the below issue
    Custom Object 10 we renamed to Quarterly Broker Review .In Quarterly Broker Review there is a related item section 'Activity'.
    In Quarterly Broker Review ,Activity related Section ,After clicking on The 'New Task' button 'Account Name' field in Quarterly Broker Review(Parent ) should be prefilled in the Activity Section(Related Item Section) in Account Name Field
    'Account Name' field is a Picklist Read Only field.
    Since it is a picklist read only field i couldn't write the expression in the 'Activity' Related section under 'Account Name' field
    you can also help me by reaching at '[email protected]'
    Thanks,
    Srinivas Merugu

    Hi Srinivas,
    As you know, you can refer to a field in a different object by using JoinFieldValue function. But this function is not available for all the object references. If you refer online help for JoinFieldValue function you would notice that from activity only CustomObjects 1,2 an 3 can be referenced using this function.
    If this is possible for the activity and CustomObject 10 then you go to the field named Account Id in Activity object and set a default value. I guess in the parent object "CustomObject10" Account Id will also be stored in "Account: Integration ID". So this field value can be copied into the Account Id field of Activity.
    Instead you could write a web service program to achieve this.
    Thanks
    Naren

  • My iPhone was set to the wrong ICloud account; how can i reset it so it is on the same one as my iPad and MAC?

    My new  iPhone was mistakenly setup with a new account diferent from theone on my iPad and MAC, iTunes and Mobile Me.  I finally got Lion and moved my MobileMe to iCloud.  I then found out this mistake when my iPhone was not synching with my iPad and MAC.  the onloy way I can see to fix this is reset the account my iPhone iCloud if set to, but see not way to do that or any instruction to do this resetting.  Does anyone know how to do this?

    Go to Settings>Mail, etc.>iCloud and delete the account. Then add in a new account with the details you want.

  • I need an urgent help to set manually the context value of es ProxyService.

    I have a proxyservice that has this context structucture:
    xmlns:ns20="http://skat.dk/etil/2011/02/11/">
    <ns:Kontekst>
    <!--You may enter ANY elements at this point-->
    <AnyElement/>
    </ns:Kontekst>
    waht have to do is that when the proxyservice that has this context is called I want to create the following
    xmlns:ns20="http://skat.dk/etil/2011/02/11/">
    <ns:Kontekst>
    <TransaktionsID>2008-00-00_00000000</TransaktionsID>
    <TransaktionsTid>2008-01-01T00:00:00.000+00:00</TransaktionsTid>
    </ns:Kontekst>
    where the date and transaction id is randomly generated on the esb.
    is there a way to do this for example xquery if so an example will be very welcomed.
    or if in java way example will be welcomed

    This one does not have any validation error, but I don't get any data in my response
    <ns:Kontekst xmlns:ns20="http://skat.dk/etil/2011/02/11/">
    <TransaktionsID>fn-bea: uuid()</TransaktionsID>
    <TransaktionsTid>fn:current-dateTime()</TransaktionsTid>
    </ns:Kontekst>
    The response from proxyservice call.
    Message Context Changes
    added $resp
         <ns:Kontekst      xmlns:ns20="http://skat.dk/etil/2011/02/11/" xmlns:ns="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/03/18/">
         <TransaktionsID>fn-bea: uuid()</TransaktionsID>
         <TransaktionsTid>fn:current-dateTime()</TransaktionsTid>
         </ns:Kontekst>

  • Captivate 7 module sending the wrong interaction data to the LMS

    Here's an interesting one: (I hope!)
    I have a test created using Captivate 7 that is sending the wrong interaction data to the LMS (tested in Moodle and in SCORM Cloud).
    The test module was based on a previous module by using File, Save As to create a copy which was then modified.
    When the interaction data in the logs and reports is analysed it contains the questions and answers from that previous module. Even though the current module has totally different Qs and As (and a different number of them).
    I'm starting to think that File, Save As was not a good move...
    Very grateful for any pointers on this
    Regards Simon

    thanks
    Unfortunately the cmi.interactions in the log are still set to the wrong values. I wonder if I turned off reporting, republished, then turned reporting on again... mm...
    Ok - that didn't work
    Now I'm getting parser errors in the imsmanifest.xml file
    hmmm...

  • Setting the value of a textbox to be the display value of a selected item

    I have two seperate regions on the same page. In the top region I have a select list with submit and in the bottom region I have a textbox. I can get the value of the textbox to be set to the RETURN value of the select list, but it is merely a number. I would like for the value of the textbox to be set to the DISPLAY value of what the user has selected from the select list. How can I accomplish this?
    Thanks,
    BoilerUP

    Hi BoilerUP,
    Can’t you create an item based on a select, that returns the value you want?
    select text from mytable where id = :myselectlist_id;
    Regards Pete

  • How to set the default values of the field of the context.

    Hi Experts ,
    I want to set the default value of the field of the context.
    Where and how this declaration should be done.
    Thanks in Advance.

    In the context tab of the view. Select the attribute for which you want to set the default value.it will show the properties at the bottom. set the Default value property to the value which you want to set as the default value.
    Regards
    Naresh

  • Why would my cube show the wrong master data when it is correct in the MD

    I have an odd situation.  When I go to display company code, which I have set up as an attribute of cost center, it displays the wrong value.  However when I go to cost coetner and look at the company code it is right there.  We tried re-loading the master data and that didn't help.  I don't wnat to reload the cube if possible.  Also racn checks on the cube and master data an no errors occurred?  Is there a way to see if the wrong SID is attached?
    thanks

    Please run the program RSDMD_CHECKPRG_ALL for your master data object.
    -Vikram

  • Color picker on Illustrator CC 2014 shows wrong values

    See the image above . The selected area filled color is e6e6e6 ( 230, 230, 230 ) but the color picker shows the wrong value 4d4d4d. Its happens only on Illustrator , What is this actually is there any problem with the color mode settings ? Please help me 

    You misunderstand me, so don’t be too quick to judge.
    I said that the Color panel was more efficient than the Color Picker. It has sliders so that you can adjust colours precisely as you wish first time, rather than just groping somewhere on a big area of colour in the Picker and then having to make fine numerical adjustments afterwards (plus an OK when you’re done).
    The Color panel is particularly useful when you are working in CMYK because it ensures that you get clean mixtures when you want them (which the Picker does not, without fine tweaking afterwards).
    And if you want to get shades of the same colour, you simply hold down Shift as you drag one of the sliders.
    In conjunction with the Swatches panel, I would go for the Color panel any time, but if you prefer the Picker that’s quite all right by me.

  • How to check wrong values in isChangedByClient

    Hi,
    I had two issues with a validation code.
    First let me describe the scenario.
    We need to update the Vendor Master.
    There should one primary contact against one Vendor Number.
    There are multiple Secondary contact against one primary contact.
    There are 4 fields for both primary and secondary contact.
    Primary Contact:
    First Name (Read Only, Mandatory).
    Last Name (Read Only, Mandatrory).
    Mobile Number (Mandatory).
    Telephone (Optional).
    Secondary Contact:
    First Name (Mandatory).
    Last Name (Mandatory).
    Mobile Number (Mandatory).
    Telephone (Optional).
    So, I need to check two validations by Java Regular Expressions,
    Name should be alphabets with ,. and space.
    Telephone Number and Mobile Number would be Numbers only.
    Now, the issue client wants the Sceondary Contacts table rows
    can be modified without selecting them.
    So, I used isChangedByClient.
    That's working fine.
    But the user gives First Name as Kaushik45 in first row of the secondary contact table
    and also types First Name as Subho67 in third row.
    The first wrong value get printed (by wdComponentAPI.getMessageManager) but
    the control goes to the last wrong value.
    This might be solved by using setLeadSelectionAt(i).
    Now, when the user types values wrongly in First Name field for Row 1 and Row 3;
    the user gets stuck in First Row.
    He modifies and then click the update again.
    This time update runs and update the wrong value at row 3.
    So, solution might be storing all wrong values of the isChangedByClient in an array and then comparing one by one.
    Please suggest.
    Regards
    Kaushik Banerjee

    Hi Ilan,
    I am pasting the code below.
    public void onActionconf(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionconf(ServerEvent)
         MessageManager msgmanager=(MessageManager)wdThis.wdGetAPI().getComponent().getMessageManager();
         IPrivateMainView.IP_personNode testNodeP = wdContext.nodeP_person();
              //IPrivateMainView.IS_personNode testNodeS = wdContext.nodeS_person();
              IPrivateMainView.IS_personNode S_personNode = wdContext.nodeS_person();
             IPrivateMainView.IS_personNode spersonNode = wdContext.nodeVendorDetails().nodeS_person();
              IPrivateMainView.IP_personElement testElementP = testNodeP.currentP_personElement();
         if(testNodeP.size()!=0){
              /*If else for tesElementP Namev null value check */          
                        if(testElementP.getNamev()!=null)
                   /*Start of if-else for testElementP Mob Number */          
                                  if(testElementP.getMob_Number()!=null){
                                       String Mob_num = testElementP.getMob_Number();
                                      String regStrforPriMob=  "[0-9]*";
                                       CharSequence chSeqForMob = Mob_num;
                                       Pattern patternForPriMob = Pattern.compile(regStrforPriMob);
                                      Matcher matcherForPriMob = null;
                                       matcherForPriMob = patternForPriMob.matcher(chSeqForMob);
                                       /* Start of matcher if-else*/
                                       if(matcherForPriMob.matches()==true){
                                            if(testElementP.getTel_Number()!=null) {
                                             String tel_num = testElementP.getTel_Number();
                                             String regStrforPriTel = "[0-9]*";
                                             CharSequence chSeqForTel = tel_num;
                                             Pattern patternForPriTel = Pattern.compile(regStrforPriTel);
                                             Matcher matcherForPriTel = null;
                                             matcherForPriTel = patternForPriTel.matcher(chSeqForTel);
                                  wdComponentAPI.getMessageManager().reportSuccess("The Telephone Number of Primary Number is matching");            
                        if(matcherForPriTel.matches()==true){
                        if(S_personNode.size()!=0){
                        //IPrivateMainView.IS_personElement S_personElement = S_personNode.currentS_personElement();
                                          //  for(int i=0;i<wdContext.nodeS_person().size();i++) {
                                                      /*Start of Secondary Contact Mob Number and Tel Number if-else */     
                                                      for(int i=0;i<wdContext.nodeS_person().size();i++){
                                                        if(wdContext.nodeS_person().getS_personElementAt(i).isChangedByClient()==true){
                                                           IPrivateMainView.IS_personElement S_personElement = (IPrivateMainView.IS_personElement)S_personNode.getElementAt(i);
                                                           String fName = wdContext.nodeS_person().getElementAt(i).getAttributeAsText("Namev");
                                                           wdComponentAPI.getMessageManager().reportSuccess("The First Name for the Secondary Contact is :"+fName);                                                                                                                        
                                                           String regStrforSecfName = "[a-zA-Z-øØæÆåÅ,. ]*";
                                                           CharSequence chSeqforSecFname = fName;
                                                           Pattern patternForSecfName = Pattern.compile(regStrforSecfName);
                                                           Matcher matcherForSecfName = null;
                                                           matcherForSecfName =  patternForSecfName.matcher(chSeqforSecFname);
                                                                                                                  //String lName = S_personElement.getName1();
                                                           String lName = wdContext.nodeS_person().getElementAt(i).getAttributeAsText("Name1");
                                                           String regStrforSeclName = "[a-zA-Z-øØæÆåÅ,. ]*";
                                                           CharSequence chSeqForSecLname = lName;
                                                           Pattern patternForSeclName = Pattern.compile(regStrforSeclName);
                                                           Matcher matcherForSeclName = null;
                                                           matcherForSeclName = patternForSeclName.matcher(chSeqForSecLname);
                                                                                                                  //String Mob_NumSec = S_personElement.getMob_Number();
                                                          String Mob_NumSec = wdContext.nodeS_person().getElementAt(i).getAttributeAsText("Mob_Number");
                                                           String regStrforSecMob ="[0-9]*";
                                                           CharSequence chSeqForMobSec = Mob_NumSec;
                                                           Pattern patternForSecMob = Pattern.compile(regStrforSecMob);
                                                           Matcher matcherForSecMob = null;
                                                           matcherForSecMob = patternForSecMob.matcher(chSeqForMobSec);
                                                        if(S_personElement.getMob_Number()!=null&&S_personElement.getNamev()!=null&&S_personElement.getName1()!=null){
                                                           //String fName = S_personElement.getNamev();
                                                                                    /* Start of matcher if-else*/
                                                           if(matcherForSecfName.matches()==true&&matcherForSeclName.matches()==true&&matcherForSecMob.matches()==true){
                                                           /* Start of City if-else */
                                                           if(S_personElement.getTel_Number()!=null){
                                                             String Tel_NumSec = wdContext.nodeS_person().getElementAt(i).getAttributeAsText("Tel_Number");
                                                             String regStrforSecTel = "[0-9]*";
                                                             CharSequence chSeqForTelSec = Tel_NumSec;
                                                             Pattern patternForSecTel = Pattern.compile(regStrforSecTel);
                                                             Matcher matcherForSecTel = null;
                                                             matcherForSecTel = patternForSecTel.matcher(chSeqForTelSec);
                                                           /* Start of matcher if-else */
                                                           if(matcherForSecTel.matches()==true&&matcherForSecfName.matches()==true&&matcherForSeclName.matches()==true&&matcherForSecMob.matches()==true){
                                                 wdComponentAPI.getMessageManager().reportSuccess("The First Name matches the pattern: "+matcherForSecfName.matches());               
                                                                                               if(wdContext.currentCheckboxckElement().getCorrespondence()==true){
             wdComponentAPI.getMessageManager().reportSuccess("Entering the if statement for executing the RFC");
                                                                                              wdThis.wdGetVdapplicationController().updVendorDetails();
                                                                                              wdThis.wdFirePlugToFinal();
                                                                                              //break;
                                                                                              else
                                                                                              {   IWDAttributeInfo atinfo = wdContext.nodeCheckboxck().getNodeInfo().getAttribute("Correspondence");
                                                                                              msgmanager.reportContextAttributeMessage(wdContext.nodeCheckboxck().getCurrentElement(),atinfo,IMessageVdapplication.KEY4,new Object[]{},true);
                                                                                              //wdComponentAPI.getMessageManager().reportException("Kryss av for korrekt informasjon før lagring",true);
                                                                                              } /* End of check box if else*/
                                                           } /* End of Secondary Contact Telephone Number matching */
                                                           else {
                                                                wdComponentAPI.getMessageManager().raiseException("The Secondary Contact Telephone Number is not matching",true);
                                                                } /* End of Secondary Telephone Number if */     
                                                             /* End of matcher if-else*/
                                                             else {
                                                                //wdComponentAPI.getMessageManager.re("The Mobile Number is not in the correct format for Secondary contact",true);
                                                    wdComponentAPI.getMessageManager().reportSuccess("The First Name was : "+wdContext.nodeS_person().getElementAt(i).getAttributeValue("Namev"));
                                                    //Object[] firName = new Object<i>;
                                                   // firName<i> = wdContext.nodeS_person().getElementAt(i).getAttributeValue("Namev");
                                                    wdContext.nodeS_person().setLeadSelection(i);      
    //                                                for(int j=0;j<firName.length;j++)
                                                      /*  try {
                                                                          String fuName = wdContext.nodeS_person().getElementAt(i).getAttributeValue("Namev").toString();
                                                                          wdComponentAPI.getMessageManager().reportSuccess("The Value of fuName: "+fuName);
                                                                                                                                           //String fName = S_personElement.getNamev();
                                                                          String regStrforFuName = "[a-zA-Z-øØæÆåÅ,. ]*";
                                                                          CharSequence chSeqforFuName = fuName;
                                                                          wdComponentAPI.getMessageManager().reportSuccess("The Value of CharSequence "+chSeqforFuName);
                                                                          Pattern patternForSecFuName = Pattern.compile(regStrforFuName);
                                                                          Matcher matcherForSecFuName = null;
                                                                          matcherForSecFuName =  patternForSecFuName.matcher(chSeqforFuName);
                                                                          wdComponentAPI.getMessageManager().reportSuccess("The matcherForSecFuName is "+matcherForSecFuName);
                                                                          if(matcherForSecFuName.matches()==false){
                                                                          wdComponentAPI.getMessageManager().reportException("Error in the First Name",true);
                                                         catch(ArrayIndexOutOfBoundsException ae){
                                                              ae.printStackTrace();
                                                         catch(Exception e){
                                                              e.printStackTrace();
                                                   //String fuName = wdContext.nodeS_person().getElementAt(i).getAttributeValue("Namev");
                                                                wdComponentAPI.getMessageManager().reportException("The First Name, Last Name or Mobile Number is not in the correct format for Secondary contact",true);
                          //     break;
                                                        else {
                                                                                                               wdComponentAPI.getMessageManager().raiseException("First Name, Last Name, Mobile Number is blank",true);
                                               else {
                                                    wdComponentAPI.getMessageManager().raiseException("The Telephone Number of the Primary Contact is in the Correct format",true);
                                            } /* Telephone Number element null*/
                                            //else{}
                        /*Start of Secondary Contact Size if-else */                    
                                  /* End of if-else for Secondary Contact Size */
    //                 else {
    //                      wdComponentAPI.getMessageManager().reportException("The Mobile No of the Primary Contact is not in the correct format",true);                            
                        /* End of matcher if-else for Primary Contact*/
                        else{
                             wdComponentAPI.getMessageManager().reportException("Primary Contact Mobile Nunber is not in the correct format",true);
                   /* if for testElementP Mob Number */
                   else {
                        wdComponentAPI.getMessageManager().reportException("No Primary Contact Mobile Number",true);
              } /* End of If else for tesElementP Namev null value check */     
                        else {
                             wdComponentAPI.getMessageManager().reportException("There is no First Name for Primary Contact",true);          
        }// else if for testNodeP size closed
        else{
             wdComponentAPI.getMessageManager().reportException("There is no element in Primary Contact",true);
        //@@end
    Regards
    Kaushik Banerjee

Maybe you are looking for

  • How can I batch change the view options of multiple playlists?

    I would like to select multiple playlists and batch change their view options; seems like an obvious feature that should be there, but it does not seem to be there. I know of Assimilate View Options v2.2 in Doug's AppleScripts, but this is not what I

  • Multiple use of properties file

    Is there a way to use a properties file for multiple languages? ie. en_EN points to the en_EN properties file I want en_US to also point to that, is this possible? (it now points to default language if not present) And anyone got a good tutorial / ov

  • FLEXCUBE 12.0.3 and SLES 11 SP2/SP3

    Hello, Does anybody knows if there are some issues when running FLEXCUBE 12.0.3.0.0 on Linux SLES 11 SP2/SP3 with kernel 3.0.x There is nothing mentioned in the pre-requisites about kernel version. https://docs.oracle.com/cd/E53392_01/PDF/Installatio

  • * In order one activity price is showing Zero what it is the proble?

    Dear All, I have give cost center out planing all the activities its appear in Cost estimation and When Going intio the routing its showing as we given in , But not appearing when i confirmed and display order wise also its not apper please give me s

  • Error during sending sales idoc

    hi all,   i m getting error during sending idoc for sales................. Error:Check value field assignment for Condition PN10..... How to solve this...? Regards, Imran