From: Mark H. <ha...@ya...> - 2010-10-24 20:46:56
|
I am seeing an issue with the map not displaying the whole 1830 map on rails 1.4. I can reproduce this problem both on Windows [Windows XP 2.14, Java(TM) SE Runtime Environment (build 1.6.0_22-b04)] and Linux [RHEL 5.5, OpenJDK Server VM (build 1.6.0-b09, mixed mode)]. If I play my turn via the command line rails.bat/sh and pass in the saved rails file, then I see the problem. If I, instead, load the saved rails file from the "New Game" dialog, then I do not see the problem. The problem that I am seeing is that I only see half of the 1830 map. I can force parts of the unseen map to redraw. But I cannot lay a tile. I see the following exception: Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at rails.ui.swing.hexmap.GUITile.<init>(GUITile.java:54) at rails.ui.swing.hexmap.GUIHex.dropTile(GUIHex.java:766) at rails.ui.swing.ORUIManager.tileSelected(ORUIManager.java:704) at rails.ui.swing.UpgradesPanel.mouseClicked(UpgradesPanel.java:417) at java.awt.AWTEventMulticaster.mouseClicked(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) Any ideas what might be wrong? -- Mark ----- http://audio.hamzy.info/MandatoryBlackVelvetQualye.mp3 You must be the change you wish to see in the world. -- Mahatma Gandhi Worrying is praying for that you do not wish to happen. Home Page: http://www.hamzy.info/ Work Project: http://linux-ha.org/ http://omniprint.sourceforge.net/ |