If JacORB 3.4 final is inited with Property("OAAddress", "iiop://0.0.0.0:2014") there is an NPE. To reproduce: use the property with the hello demo: props.setProperty("OAAddress", "iiop://0.0.0.0:2014"); INFO Initialising ORB with ID: INFO oid: 00 33 4 <00334>C 46 16 15 3 <4616153>D 10 0C 10 06 30 46 38 14 14 1 <100630463814141>B 48 4C 1B .3LF..=....0F8...HL.object is activated INFO Using server ID (4703676094) for transient POA Exception in thread "main" java.lang.NullPointerException at org.jacorb.orb.iiop.IIOPAddress.write(IIOPAddress.java:538) at org.jacorb.orb.iiop.IIOPProfile.writeAddressProfile(IIOPProfile.java:456) at org.jacorb.orb.etf.ProfileBase.marshal(ProfileBase.java:145) at org.jacorb.orb.ORB.createIOR(ORB.java:963) at org.jacorb.orb.ORB.getReference(ORB.java:1199) at org.jacorb.poa.POA.getReference(POA.java:1308) at org.jacorb.poa.POA.servant_to_reference(POA.java:2015) at demo.hello.Server.main(Server.java:34)
A NullPointer can also be provoked by enabling SSL and passing -ORBListenEndpoints iiop://:45678 This should by corrected as well.
Fixed by https://github.com/JacORB/JacORB/pull/106