From: Stefan F. <ste...@we...> - 2012-02-08 14:10:31
|
Bill & Frederick, on my system the error does not occur. Neither with the attached file, nor any other save file and not after creating a new game. I even setup a new default configuration profile that should be identical to the on that Bill uses (or do you have any changes to your configuration active?). However I believe the error is real and most likely the fix below seems to be reasonable, so if Frederick confirms that it has no side-effects I would release 1.6.4 hot-fix with that and the 1835 bug adressed. Stefan > > Frederik and Stefan, > > I am still seeing the problem. Looking at it in the debugger, when the exception is thrown it is not because getBorderInsets returns null, it is because innerBorder (and thus nativeInnerBorder) is null. > > Digging further, this happens when GridPanel.addField is called to add a Spinner, which has a null border, and so passes in a null value to the constructor. > > I can make this problem go away by adding the following test to the FieldBorder constructor, just above line 257 where I get the exception: > > if (innerBorder == null) return; > > Once I do this, the interface works as expected, but I do not know what side effects are likely to occur as a result. > > I've attached a savegame, but as far as I can tell the problem is completely generic. This happens when I create new games and when I load existing games. > > Bill > > > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > > > > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel |