Peer to peer problems

Hi
When we use peer to peer and when we write in the chat,move a piece or roll a dice an error message appears. This is the error log. Any suggestion?
Thanks
– OS Windows XP
– Java version 1.6.0_03
– VASSAL version 3.0.17
– Great Battles of Alexander version 1.1
java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [LVASSAL.chat.Player;
at VASSAL.chat.peer2peer.P2PClient.sendToOthers(P2PClient.java:88)
at VASSAL.chat.peer2peer.P2PClient.sendToOthers(P2PClient.java:75)
at VASSAL.chat.HybridClient.sendToOthers(HybridClient.java:73)
at VASSAL.build.GameModule.sendAndLog(GameModule.java:642)
at VASSAL.build.module.Chatter.send(Chatter.java:221)
at VASSAL.build.module.Chatter$2.actionPerformed(Chatter.java:99)
at javax.swing.JTextField.fireActionPerformed(Unknown Source)
at javax.swing.JTextField.postActionEvent(Unknown Source)
at javax.swing.JTextField$NotifyAction.actionPerformed(Unknown Source)
at javax.swing.SwingUtilities.notifyAction(Unknown Source)
at javax.swing.JComponent.processKeyBinding(Unknown Source)
at javax.swing.JComponent.processKeyBindings(Unknown Source)
at javax.swing.JComponent.processKeyEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [LVASSAL.chat.Player;
at VASSAL.chat.peer2peer.P2PClient.sendToOthers(P2PClient.java:88)
at VASSAL.chat.peer2peer.P2PClient.sendToOthers(P2PClient.java:75)
at VASSAL.chat.HybridClient.sendToOthers(HybridClient.java:73)
at VASSAL.build.GameModule.sendAndLog(GameModule.java:642)
at VASSAL.build.module.DiceButton.DR(DiceButton.java:166)
at VASSAL.build.module.DiceButton$1.actionPerformed(DiceButton.java:109)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at VASSAL.tools.LaunchButton.fireActionPerformed(LaunchButton.java:87)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [LVASSAL.chat.Player;
at VASSAL.chat.peer2peer.P2PClient.sendToOthers(P2PClient.java:88)
at VASSAL.chat.peer2peer.P2PClient.sendToOthers(P2PClient.java:75)
at VASSAL.chat.HybridClient.sendToOthers(HybridClient.java:73)
at VASSAL.build.GameModule.sendAndLog(GameModule.java:642)
at VASSAL.build.module.DiceButton.DR(DiceButton.java:166)
at VASSAL.build.module.DiceButton$1.actionPerformed(DiceButton.java:109)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at VASSAL.tools.LaunchButton.fireActionPerformed(LaunchButton.java:87)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Peer-to-peer has a bug that prevents it from working in v3.0. It will be fixed in the next version.

rk

Post generated using Mail2Forum (mail2forum.com)