The code seems to get a error in initializing the boat using the server even on local host.
Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
at edu.cmu.ri.airboat.general.ProxyManager.createPhysicalBoatProxy(ProxyManager.java:57)
at edu.cmu.ri.airboat.general.ConfigureBoatsFrame.createPhysicalBActionPerformed(ConfigureBoatsFrame.java:415)
at edu.cmu.ri.airboat.general.ConfigureBoatsFrame.access$000(ConfigureBoatsFrame.java:38)
at edu.cmu.ri.airboat.general.ConfigureBoatsFrame$1.actionPerformed(ConfigureBoatsFrame.java:153)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
instance.createBoatProxy(name, CrwNetworkUtils.toInetSocketAddress(host), color);
This is occurs when running the /apps/enduser program.
Exception in thread "main" java.lang.ExceptionInInitializerError
at edu.cmu.ri.airboat.client.BoatConfig.main(BoatConfig.java:76)
Caused by: java.lang.RuntimeException: Could not find hostname field.
at edu.cmu.ri.crw.CrwNetworkUtils.<clinit>(CrwNetworkUtils.java:164)
... 1 more
Caused by: java.lang.NoSuchFieldException: hostName
at java.lang.Class.getDeclaredField(Class.java:1909)
at edu.cmu.ri.crw.CrwNetworkUtils.<clinit>(CrwNetworkUtils.java:161)
... 1 more
This occurs when running just the boat client in /client/ and trying to connect to local host. The error links to line 76 of BoatConfig
SocketAddress serverAddr = CrwNetworkUtils.toInetSocketAddress(ipAddrStr);