From: Aliza P. <ali...@gm...> - 2010-10-25 15:17:02
|
I saw a similar thing in 1856. I thought it was a Windws memory management problem at the time. On Sun, Oct 24, 2010 at 1:46 PM, Mark Hamzy <ha...@ya...> wrote: > 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/ > > > > > ------------------------------------------------------------------------------ > Nokia and AT&T present the 2010 Calling All Innovators-North America contest > Create new apps & games for the Nokia N8 for consumers in U.S. and Canada > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store > http://p.sf.net/sfu/nokia-dev2dev > _______________________________________________ > Rails-users mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-users > |