Unable to set up networking with systemd-networkd

I'm trying to set up networking on a VPS I purchased.
When I boot off the arch install image, the networking set up is configured via DHCP and everything seems to work perfectly.
This is the configuration I see from the
ip addr
and
ip route
commands:
http://i.imgur.com/yeLFO6x.png
I proceeded to follow the instructions at the systemd-networkd page, and enabled the right services.
I also created an ethernet.network file in the correct directory.
You can see the contents of the file in the following screenshot, along with the ouput of some of the ip commands in the following screenshot.
http://i.imgur.com/hJNIZrJ.png
I'm unable to ping google, but somehow I'm able to curl successfully download the google.com page via curl.
I've demonstrated this in the following screenshot. I cannot fathom how this is possible.
http://i.imgur.com/YokAKog.png
I'll be happy to provide any other information that could be useful, and would really appreciate some help getting to the bottom of this.
Thanks a tonne.
-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --

That subnet is not only odd - it should not work.
A /32-subnet is perfect for localhost and the like. It basically means you can't reach any other IP than your own.
Also the gateway from your provider's DHCP-server (first screenshot) ist very far away from your own IP. I'm too lazy to calculate, but in order to reach that gateway with that IP, the netmask would have to be between 16 and 8.
In short: I can easily tell you why it wouldn't work - what I don't get is why it worked with curl in your setup or your provider's DHCP and/or what your provider did there.
In any case: talk to your provider - they might be able to give you the correct addresses/masks and maybe shed some light (I'm really very curious).
Last edited by PaterSiul (2015-04-19 18:40:57)

Similar Messages

  • Configure vps network with systemd-networkd

    I got a vps and installed archlinux on it, but I can't get the network working using systemd-networkd.
    The mail from the provider have the ip address and gateway (in the rest of the post are redacted respectively 1.2.3.4 and 5.6.7.8), and a note to run two commands after the network setup if configured manually:
    route add 5.6.7.8/32 dev eth0
    route add default gw 5.6.7.8
    I translated the network configuration via the ip utility with:
    ip addr add 1.2.3.4 dev ens3
    ip link set dev ens3 up
    ip route add 5.6.7.8/32 dev ens3
    ip route add default via 5.6.7.8
    With this configuration the network is running, without problems.
    The output for ip route is:
    default via 5.6.7.8 dev ens3
    5.6.7.8 dev ens3 scope link
    Now I'm trying to get the same configuration using systemd-networkd.
    I wrote the following config file:
    $ cat /etc/systemd/network/ens3.network
    [Match]
    Name=ens3
    [Address]
    Address=1.2.3.4/32
    [Route]
    Destination=5.6.7.8/32
    [Route]
    Gateway=5.6.7.8
    After starting systemd-networkd the output from ip addr is the same; the output from ip route is:
    5.6.7.8 dev ens3 proto static
    The network is working partially, I can only ping the gateway, but the rest of the internet is unreachable.
    I read the fine manual, systemd-network(5) and systemd-networkd(8), but I can't get what I'm missing in the network configuration.
    Any help?

    Tried this way, ip route output now is empty.
    On journalctl -xe it says:
    ens3: could not set route: Network is unreachable.
    The multiple [Route] way seems supported:
    http://www.freedesktop.org/software/sys … %20Options
    Specify several "[Route]" sections to configure several routes.

  • Unable to set Guest Network

    I have set up a Wifi Network using one Apple Airport Extreme.
    While me regular WiFi network is hidden and working fine, I am unable to set up the guest network.
    I have enabled the guest network option with a password. under the wireless tab in airport utility
    My internet connection is using DHCP.
    The Router Mode in Network is OFF (Bridge Mode)

    The Router Mode in Network is OFF (Bridge Mode)
    That.....is one of your problems, since the Guest Network option will not operate correctly when the AirPort Extreme is configured to operate in Bridge Mode.
    The other problem that you have.....is that Bridge Mode is actually the correct setting for the AirPort Extreme when you have another router "upstream" on your network......as you do.
    To confirm that you have a modem/router or gateway device on your network........and not a simple modem, which is the device that you really need to enable the Guest Network to operate correctly.....please post back with the make and model number of your existing modem/router or gateway device that is providing your regular Wi-Fi network at the present time.

  • Setting up network with newer and older AirPort Extremes

    Okay, I thought this was going to be so simple. I have a newer (like a year old - square) Airport Extreme that I have three computers wirelessly hooked up to in the house. Great... so now, I want to hook up the old iMac in my son's room that doesn't have a wireless card to the network. It is too far away to use the ethernet cable into the back of my newer Airport Extreme station so I figured I'd dust off the old saucer type base station, plug the ethernet cable into that in my son's room and then just easily get the old base station to network with the newer one wirelessly.
    Not so easy. The newer one has no reference how to make a network with other base stations whatsoever and the old book describes how to with the Airport Admin Utility which is not available to the newer version, just Airport Utility and it does not have the WDA options listed. I tried to extend the network and then Doh! The whole network disappeared.
    Is this a compatibility issue with the older and newer base stations? Would it just be easier to put in a wireless card to my very old iMac, if that's even possible? Has anyone successfully networked an old and new base station together? If so how?
    Thanks!

    Welcome to the discussions!
    When you have an older "g" device (the flying saucer) and a newer "n" device (the square one) in order for them to communicate using wireless only, you must configure both of them in what is known as WDS configuration.
    This is a quite tricky setup for most users. The best set of instructions that I've seen for this comes from expert user Tesserax in this thread:
    http://discussions.apple.com/thread.jspa?threadID=2355832&tstart=0
    If you elect to try this type of setup, you will probably need to hold down the option key on your Mac while you click on the Wireless Mode selection box to get the WDS option to appear. (My guess here is that Apple "hides" it because it slows down the network substantially). But, it's the only way to do what you want to accomplish with and old and new device.
    Other options would include the wireless card you mentioned for the iMac. Even better might be a pair of ethernet powerline adapters. One adapter goes near the AirPort Extreme and the other near the iMac. The AC wiring in your home transmits the ethernet signal of the powerline. Works great, almost no configuration required and better than wireless in many cases.

  • Managing WPA wireless with systemd-networkd ?

    Hi guys,
    I've moved to systemd-networkd to manage my wired interface.
    http://dabase.com/blog/Good_riddance_netctl/
    Has anyone successfully managed to get their /etc/wpa_supplicant.conf working through  systemd-networkd too?

    WonderWoofy wrote:
    Okay, so I'll walk you through this since there is really not a whole lot of documentation on the subject.  This assumes that your NIC is wlan0, your SSID is MyNetwork, and the password is SuperSecretPassphrase.
    You need to create a wpa_supplicant-wlan0.conf.  So use wpa_passphrase to generate one:
    # wpa_passphrase MyNetwork SuperSecretPassphrase > /etc/wpa_supplicant/wpa_supplicant-wlan0.conf
    Enable it so that it runs on boot:
    # systemctl enable [email protected]
    Now make a file at /etc/systemd/network/00-wireless-dhcp.network (it can really be named whatever you want):
    [Match]
    Name=wlan0
    [Network]
    DHCP=yes
    Now ensure that systemd-networkd.service is enabled.
    # systemctl enable systemd-networkd.service
    Reboot, and it should be working.
    Edit: cleanup
    Edit2: Okay, that is not working for me either...
    Edit3: Okay nevermind, I just made a typo and named my file 00-wireless-dhcp.ntwork
    Edit4: I forgot to mention that you also need to ensure that /etc/resolv.conf is a symlink to /run/systemd/network/resolv.conf.  As a hack (since I don't use systemd-networkd regularly) I have the following:
    $ cat /etc/systemd/system/systemd-networkd.service.d/resolv.conf
    [Service]
    ExecStartPost=/usr/bin/ln -sf /run/systemd/network/resolv.conf /etc/resolv.conf
    ExecStopPost=/usr/bin/rm /etc/resolv.conf
    ExecStopPost=/usr/bin/touch /etc/resolv.conf
    This needs to go to the wiki!

  • Unable to connect to network with Safari and Software Update

    A user I support has encountered a problem with networking. He is unable to connect to the network with Safari and Software Update, but IS able to connect and surf with Foxfire and some other programs. Another unusual symptom is that he actually can connect to one web site (which is in his Bookmarks Bar) with Safari, but can't connect to anything else. He's also unable to navigate off of that one site he connects to. When he runs Network Diagnostics, he gets all green lights (no problems). He has fixed permissions, deleted Safari Cache and .plist, rebooted - not fixed yet. He's using 10.4.8 on a PowerPC G4. Any ideas appreciated (this is the wierdest I've seen in a while!).

    Here's what he did. After reading your post, he created another location in his network preferences, entering EXACTLY the same info that was in his old location (he even used the old DNS addresses), except using a new location name. Then he chose the new location and "everything worked". It's one of life's great mysteries. Thanks for your help - it is appreciated.

  • [VPN] [GUIDE] Setting up nordvpn with systemd

    Since I haven't seen specific guide to setting up nordvpn for archlinux with systemd, I thought I should write them up what I have done. This might be useful for those unfamiliar with systemd. Simply connecting with provided *.ovpn file do not update the DNS correctly and the command
    sudo systemctl start [email protected] do not work.
    1. Follow nordvpn's connecting with shell instruction at https://nordvpn.com/tutorials/linux/linux-openvpn/ and make sure you can manually connect by typing:
    sudo openvpn vpn_at_nordvpn_tcp.ovpn
    2. Create unit systemd for a server
    sudo nano /etc/systemd/system/nordvpn.service
    [Unit]
    Description=OpenVPN connection to yourovpn.ovpn
    [Service]
    Type=forking
    ExecStart=/usr/bin/openvpn --cd /etc/openvpn --config /etc/openvpn/yourovpn.ovpn --daemon [email protected] --writepid /run/[email protected]
    PIDFile=/run/[email protected]
    [Install]
    WantedBy=multi-user.target
    replace yourovpn with the desired server.
    For whatever reason, the following modified /usr/lib/systemd/system/[email protected] do not work.
    [Unit]
    Description=OpenVPN connection to %i
    [Service]
    Type=forking
    #ExecStart=/usr/bin/openvpn --cd /etc/openvpn --config /etc/openvpn/%i.conf --daemon openvpn@%i --writepid /run/openvpn@%i.pid
    ExecStart=/usr/bin/openvpn --cd /etc/openvpn --config /etc/openvpn/%i.ovpn --daemon openvpn@%i --writepid /run/openvpn@%i.pid
    PIDFile=/run/openvpn@%i.pid
    [Install]
    WantedBy=multi-user.target
    3. The DNS was not updated. So use the guide from the wiki and add these to your .ovpn file
    # auto update /etc/resolv.conf
    script-security 2
    up /etc/openvpn/update-resolv-conf.sh
    down /etc/openvpn/update-resolv-conf.sh
    the shell script is found at https://raw.githubusercontent.com/maste … lv-conf.sh
    One issue I found is that you do not get that "Initialization Sequence Completed" to indicate a successful vpn connection. I had to either google my public ip address or type:
    ip addr show | grep tun0
    Any feedback or improvisations are appreciated.

    Since I haven't seen specific guide to setting up nordvpn for archlinux with systemd, I thought I should write them up what I have done. This might be useful for those unfamiliar with systemd. Simply connecting with provided *.ovpn file do not update the DNS correctly and the command
    sudo systemctl start [email protected] do not work.
    1. Follow nordvpn's connecting with shell instruction at https://nordvpn.com/tutorials/linux/linux-openvpn/ and make sure you can manually connect by typing:
    sudo openvpn vpn_at_nordvpn_tcp.ovpn
    2. Create unit systemd for a server
    sudo nano /etc/systemd/system/nordvpn.service
    [Unit]
    Description=OpenVPN connection to yourovpn.ovpn
    [Service]
    Type=forking
    ExecStart=/usr/bin/openvpn --cd /etc/openvpn --config /etc/openvpn/yourovpn.ovpn --daemon [email protected] --writepid /run/[email protected]
    PIDFile=/run/[email protected]
    [Install]
    WantedBy=multi-user.target
    replace yourovpn with the desired server.
    For whatever reason, the following modified /usr/lib/systemd/system/[email protected] do not work.
    [Unit]
    Description=OpenVPN connection to %i
    [Service]
    Type=forking
    #ExecStart=/usr/bin/openvpn --cd /etc/openvpn --config /etc/openvpn/%i.conf --daemon openvpn@%i --writepid /run/openvpn@%i.pid
    ExecStart=/usr/bin/openvpn --cd /etc/openvpn --config /etc/openvpn/%i.ovpn --daemon openvpn@%i --writepid /run/openvpn@%i.pid
    PIDFile=/run/openvpn@%i.pid
    [Install]
    WantedBy=multi-user.target
    3. The DNS was not updated. So use the guide from the wiki and add these to your .ovpn file
    # auto update /etc/resolv.conf
    script-security 2
    up /etc/openvpn/update-resolv-conf.sh
    down /etc/openvpn/update-resolv-conf.sh
    the shell script is found at https://raw.githubusercontent.com/maste … lv-conf.sh
    One issue I found is that you do not get that "Initialization Sequence Completed" to indicate a successful vpn connection. I had to either google my public ip address or type:
    ip addr show | grep tun0
    Any feedback or improvisations are appreciated.

  • Setting up network with ATT Uverse, Time Capsule, and Airport Extreme..HELP

    PLEASE HELP!
    I have ATT U-Verse which provides their own router. My Time Capsule is connected to the router (in the living room) via an Ethernet cable and has been working fine, and is set up like this:
    Wireless Mode: Join a wireless network (I joined the ATT network 2wire)
    Network name: 2wirexyz
    Wireless Security: WPA/WPA2 Personal
    Channel: 5
    Connect Using: Wireless Network
    When I try to add my Airport Extreme (for wireless printing in the office) by adding it to the same network (I've also tried to extend the network option) the Airport Utility thinks forever then comes up with an error and the Airport continues to flash amber. I've tried resetting the Extreme multiple times and configuring different ways but same result.
    What am I doing wrong?? Please help, my wife is giving me grief for not being able to print wirelessly from her MacBook!!
    Thank you in advance for any help you can give me!

    Thank you Tessarax....
    So does that mean I need to create a separate wireless network? I apologize, I'm not extremely familiar with how to complete what you've suggested. I know I've seen the bridge mentioned before in the Airport Utility when I've been trying different things. Would you mind giving me some more specific instructions please? Actually I just tried messing around with Airport Utility, let me know if I'm headed in the right direction:
    For TC wireless mode I want to "Participate in a WDS network"?
    Then where does my WDS remote come from? is that the Airport Extreme? I've plugged in the AEBS but it's not showing up in the Airport Utility...
    I'll mess around with it some more tomorrow morning. Thanks I'll let you know how it goes.
    Message was edited by: Jerimy75

  • Unable to connect to network with a new Laptop. ( WRT160n v3.0.02/3 and WRT54G2 v1.0.01)

    Hello, 
    I have never had problems with a Linksys router before until I recently got a new laptop. It was fine for the first few days, but then the connection started dropping and wouldn't come back unless I turned off the router and back on. This started increasing in frequency, so I decided to tweak with my router to find the problem and see if I could solve it.
    This was for a WRT160n v3.0.02 I looked up several suggestions online and decided to update the firmware to v3.0.03 This seemed to only make it worse as I could no longer connect, and when I turned the router off and back on it would allow me in for about a minute and drop me right away. I decided to do a factory reset and set up the network all over to see if this would fix it. Nothing.
    I started tweaking with the settings, and came across some posts here such as this one, started tweaking with the channel settings and everything. Nothing. If anything I somehow made it worse since now instead of dropping repeatedly it wouldn't connect at all except for about a minute after restarting router, then it would drop completely (I would either get the limited access notification or I simply couldn't connect and windows said to unplug the access point. (...again)
    Fed up, I recalled I had another Linksys router that I wasn't using in storage, a WRT54G2v 1.0.01 so I set that up, no problems... at first. All other devices picked it up right away, but once again, my new laptop decides it's too good for the freaking network and drops it repeatedly telling me there's a problem with the access point. 
    So at this point I'm thinking it might NOT be my network, but my wireless card or something, I uninstalled and reinstalled, updated drivers, (I use a Realtek RTL8723AE Wireless LAN 802.11n PCI-E NIC) I even came across this article and disabled browser service and NETBios (including all other devices on my network). It brought back the network on my laptop for a bit, only to smugly come crashing down again. 
    I've tried setting a static IP, I set my priority to highest on QoS, I've tried factory resetting both routers TWICE. I'm at my wits' end and I dunno what else to try, I'd greatly appreciate any help I can get.
    I have a cable connection, modem works just fine, signal is fine if I connect it directly to modem, also if I connect it through the router, no problems whatsoever, the only problem seems to be the wireless on my new device. OTL

    Hi roseyrosho,
    You may try this link below on how to determine the correct  MTU (Maximum Transmission Unit) size. I hope this will help.
    Determining and setting up the correct MTU size

  • Unable to Create Guest Network with Time Capsule

    Time Capsule version: 7.6.1, AirPort Utility: 6.0(600.92), Cabel Modem Ambit U10C018, iMac w/ Mac OS X (10.7.3)
    I have the Time Capsule installed as the only router. The Network settings, Router Mode is: DHCP and NAT. I am unable to find any tab or button for "Advanced" that will allow me to set up a guest network.  I am pretty sure that cable modem does not function as a router because when I changed the Time Capsule to Bridge I was unable to make any wireless connections. 
    Any help woudl be greatly appreciated, but I will be away from the computer for the next 3 hours.

    We will assume that your Time Capsule is not one of the 1st Generation models, which did not have Guest Network capability.
    But, if your Time Capsule is a few years old, or you purchased it from another user....you may have a single band version of the product....which cannot offer the Guest Network option.
    If your Time Capsule has the capability....here is how to set up the Guest Network
    Open AirPort Utility and click on the Time Capsule icon that appears
    Click Edit in the next window that appears
    Click the Wireless tab at the top of the window
    Enter a check mark next to Enable Guest Network
    Edit the name of the network as you wish
    Select Wireless Security...either WPA2 Personal or WPA/WPA2 Personal would be good
    Enter a password for the Guest Network and verify
    Click Update at the lower right

  • Unable to set wireless connection with imac and Canon MX860 printer ...

    I recently converted to a Mac and bought a Mac Book, iMac, Airport Extreme, and a Canon MX860 printer. i have installed the canon software numerous times on my iMac to set up the wireless connection. yes, the airport extreme recognizes the printer and i am able to connect to my private and guest networks. the signal strength is good. It's the next part that I'm always stuck at. The Printer settings does not display when i choose More Printers and select Canon IJ Network. I called Apple support and we tried changing my network settings to an unsecured network and it still has the same issue. It was recommended this may be Canon driver issue and advised me to contact Canon. I reset the Airport, changed my network name and password .. i think i tried everything and it still does not work. What was I thinking when i said i wanted to convert to Mac? I can't move forward and connect my macbook or pc yet until I successfully connect the imac. Yes, i installed the latest canon IJ Network tool. of course the USB connection is fine but that defeats the whole purpose if why i bought this printer. please advise how to fix. this is getting very frustrating.

    Some help at http://store.apple.com/us/product/TV352LL/A perhaps in the comments.
    And maybe at http://www.amazon.com/Canon-PIXMA-MX860-Wireless-Printer/product-reviews/B001R4C 5BK in the comments.
    "I ran into the same network installation issue that I've seen in other Canon printers. Canon's network setup forces you to connect by USB cable first. Only after you tell the program that you want to use the computer over the network can you remove the USB cable, move the printer if needed, and if you're using a wired connection, reconnect a network cable. The process isn't particularly difficult, but it's more cumbersome than what other printers let you do, which is simply put the printer where you want it, plug in an Ethernet cable, and install the software." source = http://shop.pcmag.com/shop/product/pcmag/84634068.aspx?SB=6&OB=1
    "MAC wireless network printer setup requires turning off firewall, and works fine if you leave firewall off (not recommended). If you set firewall at "essential connections only," wireless networked MX860 won't work. You must add MP navigator and solution apps to your firewall enabled list. Then it worked fine on the admin account, but still won't work on users account which required additional permission settings and selections. After 2 hours it worked fine, but I would've expected better instruction manual for MAC." source = http://cnet.nytimes.com/multifunction-devices/canon-pixma-mx860/4852-3181_7-3352 9769.html
    "The only trouble that I have had with this machine is setting up the wireless network. The manual instructions are impossible for me to understand and I ended up having to call for assistance. Which easily solved the problem. And again when I had to reconfigure my network settings it was impossible to follow the logarithm of instructions in the manual. Again I needed to call for assistance. If I need help after the year manufacture's warranty I will be charged for these calls." source = http://www.zimbio.com/InkjetPrinter+Reviews/articles/1932/Canon+PIXMA+MX860+Wireless+One+PhotoPrinter
    Even Windows people have trouble:
    "I NEED INTRUCTIONS ON HOW TO CONNECT MY HP LAPTOP TO THE CANON MX860 PRINTER."
    "I'm with you. I have my mx860 connected usb to my pc with the printer being shared but my wireless laptop can't find it no matter what I try."
    And, unhappy Vista person:
    "I had high hopes for this printer - it seemed to have it all. But the wireless feature never worked, it only worked on my gigabit network for about two weeks (only THREE print jobs including the test print), and never observed it to work via USB - Vista (x64 Ultimate) would throw an error saying it could not attach the device."

  • User unable to connect wireless network with errors APF-1-USER_ADD_FAILED

    there are many events logs related to user add failed today, can anyone please help to explain what is this error message about?
    Thanks.
    Sep 29 10:02:28.091 apf_ms.c:4776 APF-1-USER_ADD_FAILED: Unable to create username ASIA-PACIFIC\Surya_Dharamdass for mobile00:24:2b:a0:e2:49
    Sep 29 10:02:28.083 apf_ms.c:4776 APF-1-USER_ADD_FAILED: Unable to create username ASIA-PACIFIC\Hour_Sou_Cheng for mobile18:3d:a2:3b:6e:8c
    Sep 29 10:02:27.970 apf_ms.c:4776 APF-1-USER_ADD_FAILED: Unable to create username ASIA-PACIFIC\Sherene_Chan for mobile00:23:4d:1a:56:ac
    Sep 29 10:02:27.895 apf_ms.c:4776 APF-1-USER_ADD_FAILED: Unable to create username ASIA-PACIFIC\Kai_Choo_Wong for mobile18:3d:a2:25:e5:2c
    Sep 29 10:02:27.786 apf_ms.c:4776 APF-1-USER_ADD_FAILED: Unable to create username ASIA-PACIFIC\Madhura_Marippan for mobilef0:7b:cb:73:3d:4d

    This error indicates that the controller was unable to create a username entry internally for this mobile device, it could be a number of things that are causing this. \
    Is this a new issue or has this been happening for sometime?
    Is this a new network or has it been in production for some time?
    Is this happening to every client?
    What type of security on the SSID in question?

  • Unable to set thermostate schedule with home control

    Is anyone else having problems setting their thermostate schedule? I get an error message that the system was unavailable. I am getting really frustrated that I can't rely on this system. I have invested alot of money in everything, and it doesn't seem to be a very stable platform. Can anyone help me out?

    I had the same problem for 3 days in a row. Each day I re-programmed the thermostat at the start of the cold weather. The next day I would check and it was back to the original settings. On the 4th day the settings finally took.
    I called Verizon (as I have done about 50 times) and they had no solution other than to tell me they were doing some updates to the site and that might take care of it. My Energy Reader still doesn't give accurate readings about 1/2 the days. It seems to get signals mixed with the Appliance Switches I have. I've called Verizon on that as well and got the same reply so apparently it is their scripted answer. I also get the "server is currently busy, try again later" message frequently. Other than that things are working well.
    I have talked to the Manager and Developers and they are supposed to be getting back to me with solutions but it is going on 2 months and the problems still exist (except for the Thermostat which worked because of my persistence).
    This would be a nice system if they would resolve the bugs in it. I tried MiCasaVerde for a month and their system worked flawlessly but I couldn't use the cameras I bought from Verizon due to their coding them to prevent that. The manufacturer of the cameras said they should work unless the company changes the code in them which apparently Verizon does. Other than that I would have stayed with MiCasaVerde but decided to work with Verizon and hopefully get the thing working right. 
    They seem to spend more time on making the system proprietary than resolving customer issues. I've had the system for over 8 months now and have seen little improvement. My patience is running out. I won't even expound on new services that were supposed to be added and never have been.

  • Unable to set a variable with value of type number from SelectOneChoice

    Hi,
    I am getting javax.faces.el.EvaluationException: java.lang.IllegalArgumentException: argument type mismatch error in the below situation
    I have a select list <af:selectOneChoice value="#{bindings.vwCompanyName.inputValue}">
    <f:selectItems value="#{bindings.vwCompanyName.items}"/>
    </af:selectOneChoice>
    and on clicking Search button I pass this value in the actionlistener <af:setActionListener from="#{bindings.Company}"
    to="#{AgrmtSrch.company}"/>
    where AgrmtSrch is my java reference
    In the pageDef file, I have <variableIterator id="variables">
    <variable Name="Company" Type="java.lang.Integer"/>
    </variableIterator>
    <list id="vwCompanyName" IterBinding="variables"
    StaticList="false" ListOperMode="0" ListIter="vwCompanyIterator"
    NullValueFlag="1" NullValueId="vwCompanyName_null">
    <AttrNames>
    <Item Value="Company"/>
    </AttrNames>
    <ListAttrNames>
    <Item Value="Compcd"/>
    </ListAttrNames>
    <ListDisplayAttrNames>
    <Item Value="ShortName"/>
    </ListDisplayAttrNames>
    </list>
    In my Java file I have taken company of type Number(jbo), since the actual company code in DB is in Number. When I select any value and click search, i get the above error.
    I tried changing to <variable Name="Company" Type="java.lang.string"/> in the page def. But then when i select the unselected value in the list I get null pointer exception. How can i handle this.
    PLease help.
    Thanks

    Hi I am serious. This issue is occuring. Please can someone try it out and see if its occuring for you too.
    I have no solution for this. I am using JDeveloper 10.1.3 and my project is ADF BC JSF
    Test case: Have 2 to 3 selectOneChoice in a search page. All three should be populated by view objects. Let Vo_1 and Vo_2 have the key values as 1 and vo_3 can have key value as string. Each selectOneChoice should have "Include labelled Item" in "No Selection Item' in edit binding.
    First select a value on any one of the dropdowns such that the query returns no results. Now the The other dropdowns will still be default labelled item and the one that was selected is still set so. Now when I select an option in any other dropdown and search, it gives the below error
    500 Internal Server Error
    javax.faces.el.EvaluationException: java.lang.NullPointerException     at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:190)     at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:143)     at oracle.adf.view.faces.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:55)     at oracle.adf.view.faces.component.UIXComponentBase.getProperty(UIXComponentBase.java:1021)     at oracle.adf.view.faces.component.UIXValue.getValue(UIXValue.java:56)     at oracle.adf.view.faces.component.UIXEditableValue.validate(UIXEditableValue.java:212)     at oracle.adf.view.faces.component.UIXEditableValue._executeValidate(UIXEditableValue.java:522)     at oracle.adf.view.faces.component.UIXEditableValue.processValidators(UIXEditableValue.java:302)     at oracle.adf.view.faces.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:855)     at oracle.adf.view.faces.component.UIXComponentBase.validateChildren(UIXComponentBase.java:839)     at oracle.adf.view.faces.component.UIXComponentBase.processValidators(UIXComponentBase.java:689)     at oracle.adf.view.faces.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:855)     at oracle.adf.view.faces.component.UIXComponentBase.validateChildren(UIXComponentBase.java:839)     at oracle.adf.view.faces.component.UIXComponentBase.processValidators(UIXComponentBase.java:689)     at oracle.adf.view.faces.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:855)     at oracle.adf.view.faces.component.UIXComponentBase.validateChildren(UIXComponentBase.java:839)     at oracle.adf.view.faces.component.UIXComponentBase.processValidators(UIXComponentBase.java:689)     at oracle.adf.view.faces.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:855)     at oracle.adf.view.faces.component.UIXComponentBase.validateChildren(UIXComponentBase.java:839)     at oracle.adf.view.faces.component.UIXComponentBase.processValidators(UIXComponentBase.java:689)     at oracle.adf.view.faces.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:855)     at oracle.adf.view.faces.component.UIXComponentBase.validateChildren(UIXComponentBase.java:839)     at oracle.adf.view.faces.component.UIXComponentBase.processValidators(UIXComponentBase.java:689)     at oracle.adf.view.faces.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:855)     at oracle.adf.view.faces.component.UIXComponentBase.validateChildren(UIXComponentBase.java:839)     at oracle.adf.view.faces.component.UIXComponentBase.processValidators(UIXComponentBase.java:689)     at oracle.adf.view.faces.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:855)     at oracle.adf.view.faces.component.UIXComponentBase.validateChildren(UIXComponentBase.java:839)     at oracle.adf.view.faces.component.UIXComponentBase.processValidators(UIXComponentBase.java:689)     at oracle.adf.view.faces.component.UIXForm.processValidators(UIXForm.java:59)     at oracle.adf.view.faces.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:855)     at oracle.adf.view.faces.component.UIXComponentBase.validateChildren(UIXComponentBase.java:839)     at oracle.adf.view.faces.component.UIXComponentBase.processValidators(UIXComponentBase.java:689)     at oracle.adf.view.faces.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:855)     at oracle.adf.view.faces.component.UIXComponentBase.validateChildren(UIXComponentBase.java:839)     at oracle.adf.view.faces.component.UIXComponentBase.processValidators(UIXComponentBase.java:689)     at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:932)     at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:362)     at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:98)     at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)     at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)     at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)     at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)     at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)     at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)     at java.lang.Thread.run(Thread.java:595)Caused by: java.lang.NullPointerException     at oracle.jbo.domain.TypeFactory.getInstance(TypeFactory.java:85)     at oracle.jbo.uicli.binding.JUCtrlListBinding.matchTargetWithLov(JUCtrlListBinding.java:868)     at oracle.jbo.uicli.binding.JUCtrlListBinding.findListIndex(JUCtrlListBinding.java:1106)     at oracle.jbo.uicli.binding.JUCtrlListBinding.setValueAt(JUCtrlListBinding.java:1725)     at oracle.jbo.uicli.binding.JUCtrlListBinding.updateValuesFromRow(JUCtrlListBinding.java:1338)     at oracle.jbo.uicli.binding.JUCtrlListBinding.getSelectedIndex(JUCtrlListBinding.java:702)     at oracle.jbo.uicli.binding.JUCtrlListBinding.getInputValue(JUCtrlListBinding.java:1799)     at oracle.adfinternal.view.faces.model.binding.FacesCtrlListBinding.getInputValue(FacesCtrlListBinding.java:73)     at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGet(JUCtrlValueBinding.java:1691)     at oracle.jbo.uicli.binding.JUCtrlListBinding.internalGet(JUCtrlListBinding.java:1972)     at oracle.adfinternal.view.faces.model.binding.FacesCtrlListBinding.internalGet(FacesCtrlListBinding.java:89)     at oracle.adf.model.binding.DCControlBinding.get(DCControlBinding.java:649)     at com.sun.faces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:79)     at oracle.adfinternal.view.faces.model.FacesPropertyResolver.getValue(FacesPropertyResolver.java:92)     at com.sun.faces.el.impl.ArraySuffix.evaluate(ArraySuffix.java:187)     at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:171)     at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263)     at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:160)

  • I'm unable to join wifi network with talk talk

    I can join another network but not my home one keeps coming up unable to join network. I have updated soft wear but no good

    What security settings are configured on the talk talk WiFi network?
    Did you enter the correct WiFi username and password when connecting to the WiFi network?

Maybe you are looking for

  • Template creation for logged in user

    Is there a variable or other means to auto check the 'Document and Settings\<current logged in users>\My Documents' I can not find how to auto check the box for the current logged in user. It's not in the template editor. Also searching returned dead

  • Exchange password

    I changed my exchange password today on my laptop and iphone without a problem.  However, now when I turn on my ipad, it asks for my exchange password.  I type in my new password, and it says "password incorrect" and immediately pops up the keyboard

  • Error Description

    Hi All, Is there any documentation about different type of Error in XI.. like Application Error -restart not possible Application Error restart possible Application Error-After Automatic Restart. System Error -restart not possible System Error restar

  • Why can't i log into ebay

    I have an ebay.ca account but every time i try to log into my account with my info ebay log in page just keeps coming up.

  • Even if you're tired of the topic of blurry results, please read this

    To be clear from the outset about the equipment I am using and my end goal, below is the relevant information: Camera: Nikon digital SLR Camera Settings: Raw or JPEG Fine Image Quality: Vivid Television: 40” HDTV Viewers: Bluray and one pre-Bluray DV