From: Martin B. <dr....@t-...> - 2013-11-24 18:29:06
Attachments:
signature.asc
|
Hi Guys, please have a look at the specific_1880 branch. Its now switched to rails2.0. No compile error but on runtime it bails because it doesnt find the Class OperatingRoundControl_1880... Perhaps someone out there can tell me what goes wrong :) Regards, Martin |
From: Stefan F. <ste...@we...> - 2013-11-26 17:43:43
|
Martin: can you please send me an example save file? Most likely due to the changed creation of Round objects. Stefan On 11/24/2013 07:28 PM, Martin Brumm wrote: > Hi Guys, > > please have a look at the specific_1880 branch. Its now switched to > rails2.0. No compile error but on runtime it bails because it doesnt > find the Class OperatingRoundControl_1880... > > Perhaps someone out there can tell me what goes wrong :) > > Regards, > Martin > > > > ------------------------------------------------------------------------------ > Shape the Mobile Experience: Free Subscription > Software experts and developers: Be at the forefront of tech innovation. > Intel(R) Software Adrenaline delivers strategic insight and game-changing > conversations that shape the rapidly evolving mobile landscape. Sign up now. > http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk > > > > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > |
From: Stefan F. <ste...@we...> - 2013-11-27 11:45:04
|
Martin: OK if no save file is possible, could you please forward your 18xx.log? If I start an 1880 game, it starts with a StockRound, however no commands are highlighted in for the first player. During setup of the game there is an error raised during creation of the private company JO, related to issues by creation of BuildingPermit objects. This exception is due to the fact that the constructor of BuildingPermit is protected only, it has to be public. However there are follow-up errors in the creation of Building Permit. I cannot see any exception related to OperatingRoundControl_1880. Where and when is this class created? Most likely I will have to re-read the 1880 rules now ;-) Stefan On 11/26/2013 06:43 PM, Stefan Frey wrote: > Martin: can you please send me an example save file? > Most likely due to the changed creation of Round objects. > Stefan > > > On 11/24/2013 07:28 PM, Martin Brumm wrote: >> Hi Guys, >> >> please have a look at the specific_1880 branch. Its now switched to >> rails2.0. No compile error but on runtime it bails because it doesnt >> find the Class OperatingRoundControl_1880... >> >> Perhaps someone out there can tell me what goes wrong :) >> >> Regards, >> Martin >> >> >> >> ------------------------------------------------------------------------------ >> Shape the Mobile Experience: Free Subscription >> Software experts and developers: Be at the forefront of tech innovation. >> Intel(R) Software Adrenaline delivers strategic insight and game-changing >> conversations that shape the rapidly evolving mobile landscape. Sign up now. >> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk >> >> >> >> _______________________________________________ >> Rails-devel mailing list >> Rai...@li... >> https://lists.sourceforge.net/lists/listinfo/rails-devel >> > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > |
From: Martin B. <dr....@t-...> - 2013-11-27 19:19:19
Attachments:
signature.asc
|
Am 27.11.2013 12:44, schrieb Stefan Frey: > Martin: > OK if no save file is possible, could you please forward your 18xx.log? > If I start an 1880 game, it starts with a StockRound, however no > commands are highlighted in for the first player. > > During setup of the game there is an error raised during creation of the > private company JO, related to issues by creation of BuildingPermit > objects. This exception is due to the fact that the constructor of > BuildingPermit is protected only, it has to be public. However there are > follow-up errors in the creation of Building Permit. > > I cannot see any exception related to OperatingRoundControl_1880. > > Where and when is this class created? > > Most likely I will have to re-read the 1880 rules now ;-) > > Stefan > > Hi Stefan, the problem raises its head in ChangeSet.addChange at the attempt to Add the new Special Property with the key/value Pair :key "/CompanyManager/Private/JO/SpecialProperty_1" (id=83) newValue AddBuildingPermit (id=53) into the HashMapState{uri=/items}... And yes i admit that there might be a number of other bugs coming up... Kind Regards, Martin |
From: Martin B. <dr....@t-...> - 2013-11-27 19:32:28
Attachments:
signature.asc
|
Am 27.11.2013 20:19, schrieb Martin Brumm: > Am 27.11.2013 12:44, schrieb Stefan Frey: >> Martin: >> OK if no save file is possible, could you please forward your 18xx.log? >> If I start an 1880 game, it starts with a StockRound, however no >> commands are highlighted in for the first player. >> >> During setup of the game there is an error raised during creation of the >> private company JO, related to issues by creation of BuildingPermit >> objects. This exception is due to the fact that the constructor of >> BuildingPermit is protected only, it has to be public. However there are >> follow-up errors in the creation of Building Permit. >> >> I cannot see any exception related to OperatingRoundControl_1880. >> >> Where and when is this class created? >> >> Most likely I will have to re-read the 1880 rules now ;-) >> >> Stefan >> >> > Hi Stefan, > > the problem raises its head in ChangeSet.addChange at the attempt to Add > the new Special Property with > the key/value Pair :key > "/CompanyManager/Private/JO/SpecialProperty_1" (id=83) newValue > AddBuildingPermit (id=53) > > into the HashMapState{uri=/items}... > > > And yes i admit that there might be a number of other bugs coming up... > > Kind Regards, > Martin > > > > Hi Stefan, the problem was that the new class used a not yet defined value in its toString()-method. Apparently this method was declared but not used directly anywhere so far (at least i havent found the use). But of course a non existing reference lead to a null pointer exception. Guess we have to check all of our new classes for the fact that now at creation the toString() method is called :) Regards, Martin |
From: Martin B. <dr....@t-...> - 2013-11-27 21:18:11
Attachments:
signature.asc
|
Ok, got the Startup fixed. StartRound is now displaying correctly. But the StatusWindow is showing some interesting Strings instead of the expected empty fields :) On for some more debugging there. Regards, Martin |
From: Stefan F. <ste...@we...> - 2013-11-27 22:27:15
|
Martin: one important change (also relates to the issue of the exceptions in the toString() method mentioned in a previous mail) in Rails 2.0 is the following: All (Rails)Items use the method toText() for the text to be shown in UI display. The default implementation is to show the id of the object. toString() usually should not be overwritten, as it is only used for debugging in 18xx.log and the default implementation works fine. This allows to have different text for logging and UI display, which made reading the logging sometimes difficult in Rails 1.x. So if you have overwritten toString() in 1880 specific classes, simply change that into overwriting toText() instead both exceptions and displayed text should work correctly again. Stefan On 11/27/2013 10:17 PM, Martin Brumm wrote: > Ok, > > got the Startup fixed. StartRound is now displaying correctly. But the > StatusWindow is showing some interesting Strings instead of the expected > empty fields :) > > On for some more debugging there. > > Regards, > Martin > > > > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk > > > > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > |