This is due to PH36842 which was introduced at 8.5.5.21 and 9.0.5.11. You can fix this by application of the interim fix for PH44602. You can also create the profile with the lower fixpack version.
https://www.ibm.com/support/pages/ph44602nullpointerexception-websphere-socket-factory-85521-and-90511
If we increase the profile log level, you will see the “NullPointerException” with the stack below in <WAS_ROOT>/logs/manageprofiles/ProfileName_create.log
<WAS_ROOT>/properties/wasprofile.properties(WS_WSPROFILE_LOG_LEVEL=7)
Caused by: [SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: java.lang.NullPointerException; targetException=java.lang.IllegalArgumentException: Error opening socket: java.lang.NullPointerException]
at org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.java:475)
at org.apache.soap.rpc.Call.WASinvoke(Call.java:510)
at com.ibm.ws.management.connector.soap.SOAPConnectorClient$4.run(SOAPConnectorClient.java:397)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
at com.ibm.ws.management.connector.soap.SOAPConnectorClient.reconnect(SOAPConnectorClient.java:382)
... 54 more
#Support#SupportMigration#WebSphereApplicationServer(WAS)