Resolution: On Mac OS X, when users start BE Studio, if the following error is reported, then the accessing project and project artifacts in Studio will result in errors:
"java.net.UnknownHostException: <hostname>: <hostname>: nodename nor servname provided, or not known"
The complete error stack is :
java.net.UnknownHostException: <HOSTNAME>: <HOSTNAME>: nodename nor servname provided, or not known
at java.net.InetAddress.getLocalHost(InetAddress.java:1473)
at org.eclipse.rse.core.RSECorePlugin.getLocalMachineName(RSECorePlugin.java:265)
at org.eclipse.rse.core.RSEPreferencesManager.getDefaultPrivateSystemProfileName(RSEPreferencesManager.java:358)
at org.eclipse.rse.internal.core.model.SystemProfileManager.ensureDefaultPrivateProfile(SystemProfileManager.java:477)
at org.eclipse.rse.internal.core.model.SystemProfileManager.getDefaultPrivateSystemProfile(SystemProfileManager.java:416)
at org.eclipse.rse.internal.core.RSEInitJob.run(RSEInitJob.java:207)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.net.UnknownHostException: <HOSTNAME>: nodename nor servname provided, or not known
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:901)
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1293)
at java.net.InetAddress.getLocalHost(InetAddress.java:1469)
... 6 more
To resolve the issue, you need to update the /private/etc/hosts file to include your machine name.