|
From: SourceForge.net <no...@so...> - 2006-01-18 11:16:46
|
Bugs item #1408948, was opened at 2006-01-18 06:16 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=754827&aid=1408948&group_id=143222 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Technical Group: All Platforms Status: Open Resolution: None Priority: 9 Submitted By: spaniard (wilson_adam) Assigned to: spaniard (wilson_adam) Summary: Error adding ships Initial Comment: When adding ships to a fleet, unless you have already loaded the model data (.3DS), then it will crash and you can't add more than one ship of that type. But that's bad too since you get a null model error when you create that... Here's the stack trace: apple.awt.EventQueueExceptionHandler Caught Throwable : java.lang.NullPointerException java.lang.NullPointerException at src.world.ship.Orientation.modelName(Orientation.java:347) at src.world.ship.Ship.getCopy(Ship.java:1161) at src.menus.pregame.FleetBuilderPanel.addWrappedShip (FleetBuilderPanel.java:510) at src.menus.pregame.FleetBuilderPanel.actionPerformed (FleetBuilderPanel.java:446) at javax.swing.AbstractButton.fireActionPerformed (AbstractButton.java:1819) at javax.swing.AbstractButton $ForwardActionEvents.actionPerformed(AbstractButton.java:1872) at javax.swing.DefaultButtonModel.fireActionPerformed (DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed (DefaultButtonModel.java:258) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased (BasicButtonListener.java:247) at java.awt.Component.processMouseEvent(Component.java: 5166) at java.awt.Component.processEvent(Component.java:4963) at java.awt.Container.processEvent(Container.java:1613) at java.awt.Component.dispatchEventImpl(Component.java:3681) at java.awt.Container.dispatchEventImpl(Container.java:1671) at java.awt.Component.dispatchEvent(Component.java:3543) at java.awt.LightweightDispatcher.retargetMouseEvent (Container.java:3527) at java.awt.LightweightDispatcher.processMouseEvent (Container.java:3242) at java.awt.LightweightDispatcher.dispatchEvent(Container.java: 3172) at java.awt.Container.dispatchEventImpl(Container.java:1657) at java.awt.Window.dispatchEventImpl(Window.java:1606) at java.awt.Component.dispatchEvent(Component.java:3543) at java.awt.EventQueue.dispatchEvent(EventQueue.java:480) at java.awt.EventDispatchThread.pumpOneEventForHierarchy (EventDispatchThread.java:234) at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:178) at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:170) at java.awt.EventDispatchThread.run(EventDispatchThread.java: 100) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=754827&aid=1408948&group_id=143222 |