Error log

auto report would not send and it recommended to post the log here…

I was just opening a module to edit ad got an untrapped. Seems to have come out of nowhere and doesn’t effect linux Vassal v3.14, but both 3.14 and .15 in XP:

Its a shame I was supposed to be releasing it later this week… d’oh!

Sorry to double post, I think I’ve narrowed it down to one piece, which I edited in the build file removing all traits that had the invalid XML character and then it gave a different error and wouldn’t build.

So I’ll wait and see what someone who knows reckons…

Just realised I didn’t say please…

Please help, any pointers would be much appreciated :slight_smile:

Thus spake “danjaman”:

I’m burried at the moment, and then traveling from Thursday until Monday,
so the earliest I can look at it is next Tuesday. If nobody else has by
then, I will.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Where was the link to your module? We can’t debug modules by telepathy :confused:

B.

Thus spake “Brent Easton”:

I have that planned for 3.3.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Joel, you haven’t responded to my thought yet.

  • M.

Post generated using Mail2Forum (mail2forum.com)

I think the reason why no one has responded yet is that it’s a particularly difficult one to solve. You mention that you edited the buildfile. Errors resulting from doing stuff like that are pretty deadly.

As Brent mentioned, if you post the module, someone can take a look. Most likely, you need only post the buildfile.

That being said, it might be very difficult to solve.

  • M.

2009/5/19 danjaman <messages@forums.vassalengine.org (messages@forums.vassalengine.org)>

Post generated using Mail2Forum (mail2forum.com)

Yes, we are not really interested in investigating any errors that result from hand editing of the buildfile.

While there are instructions on the website on how to safely go about this procedure, it is prone to error and not supported - you are on your own. Make backups before commencing!

B.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

As I said, I tried the edit only as an attempt to fix the problem, the log above is from the original, and its pure Vassal…

By the way the notice that comes up after a bug is found in Vassal does not say to post a link to the module; but now I know this is needed I will post, thanks for your replies

mediafire.com/?sharekey=6cae … f6e8ebb871

and, Uckleman, if your busy your busy, mate :slight_smile: thanks for reply anyway

Thus spake “danjaman”:

Is this the version which caused the original problem, or the one containing
your edit?

J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

the original problem ;)

I know why the edited version doesn’t work, because it was edited incorrectly. This one however… I have no idea…

Suffice to say, I know not how to correct it…

Well the version you have a linked is saying invalid xml character:

20 May 2009 22:08:59.346 0 – Loading module VassalBowl
20 May 2009 22:08:59.362 0 C:\Program Files\Java\jre1.6.0_06\bin\java
-Xms256M -Xmx512M -DVASSAL.id=1 -cp lib\Vengine.jar;Vengine.jar
VASSAL.launch.Player
20 May 2009 22:09:02.221 1 [Fatal Error] :290:274: Character reference “&#0
is an invalid XML character.

There was a bug report on SF somewhere with exact same problem before but
I’ll be darned if I cant find it right now :slight_smile:

Post generated using Mail2Forum (mail2forum.com)

Strange. I must have uploaded the wrong one. However, all I did was delete that one line which effectively eliminated that one piece. I was not able to determine how the character could be inserted, however.

  • M.

2009/5/20 Tim McCarron <timothy.mccarron@sbcglobal.net (timothy.mccarron@sbcglobal.net)>

Post generated using Mail2Forum (mail2forum.com)

Well I edited out the bad characters and got it to load, so went to take a peek at the offending piece when this will pop up (below)

Eerily the same error type that I just sent off to Brent but on different module

This is with 3.1.5 btw,
However editing in 3.1.4 and that problem seems to go away and am able to view/edit the troublesome piece…

There isn’t anything particularly special here except that I do note an odd key command I’ve never seen before ( not your usual CTRL A, SHIFT UP etc…)

The key command is NUMBER_SIGN. Is that a keyboard type specific key? Might whatever that key is be interpreted to the character reference “&#0” ?

0 May 2009 22:53:02.034 0 C:Program FilesJavajre1.6.0_06binjava -Xms256M -Xmx512M -DVASSAL.id=2 -cp libVengine.jar;Vengine.jar VASSAL.launch.Editor
20 May 2009 22:53:06.565 2 – VassalBowl version 0.5rev
20 May 2009 22:53:06.565 2

20 May 2009 22:53:37.628 2 java.lang.StackOverflowError
at VASSAL.counters.BasicPiece.getProperty(BasicPiece.java:152)
at VASSAL.counters.Decorator.getProperty(Decorator.java:90)
at VASSAL.counters.DynamicProperty.getProperty(DynamicProperty.java:140)
at VASSAL.counters.Decorator.getProperty(Decorator.java:90)
at VASSAL.counters.Decorator.getProperty(Decorator.java:90)
at VASSAL.counters.Decorator.getProperty(Decorator.java:90)
at VASSAL.counters.Decorator.getProperty(Decorator.java:90)
at VASSAL.counters.Decorator.getProperty(Decorator.java:90)
at VASSAL.counters.Decorator.getProperty(Decorator.java:90)
at VASSAL.counters.Decorator.getProperty(Decorator.java:90)
at VASSAL.counters.Decorator.getProperty(Decorator.java:90)
at VASSAL.counters.Decorator.getProperty(Decorator.java:90)
at VASSAL.counters.Labeler.getProperty(Labeler.java:163)
at VASSAL.counters.Decorator.getProperty(Decorator.java:90)
at VASSAL.counters.Labeler.getProperty(Labeler.java:163)
at VASSAL.counters.Decorator.getProperty(Decorator.java:90)
at VASSAL.counters.Labeler.getProperty(Labeler.java:163)
at VASSAL.counters.Decorator.getProperty(Decorator.java:90)
at VASSAL.counters.Embellishment.getProperty(Embellishment.java:678)
at VASSAL.counters.Decorator.getProperty(Decorator.java:90)
at VASSAL.counters.Embellishment.getProperty(Embellishment.java:678)
at VASSAL.counters.Decorator.getProperty(Decorator.java:90)
at VASSAL.counters.Embellishment.getProperty(Embellishment.java:678)
at VASSAL.counters.Decorator.getProperty(Decorator.java:90)
at VASSAL.counters.Embellishment.getProperty(Embellishment.java:678)
at VASSAL.counters.Decorator.getProperty(Decorator.java:90)
at VASSAL.counters.Decorator.getProperty(Decorator.java:90)
at VASSAL.counters.Embellishment.getProperty(Embellishment.java:678)
at VASSAL.counters.Embellishment.checkPropertyLevel(Embellishment.java:409)
at VASSAL.counters.Embellishment.getName(Embellishment.java:284)
at VASSAL.counters.Embellishment.getLocalizedName(Embellishment.java:276)
at VASSAL.counters.Decorator.getLocalizedName(Decorator.java:323)
at VASSAL.counters.Embellishment.getName(Embellishment.java:305)
at VASSAL.counters.Embellishment.getLocalizedName(Embellishment.java:276)
at VASSAL.build.BadDataReport.(BadDataReport.java:68)
at VASSAL.counters.Decorator.reportDataError(Decorator.java:365)
at VASSAL.counters.Embellishment.checkPropertyLevel(Embellishment.java:419)
at VASSAL.counters.Embellishment.getName(Embellishment.java:284)
at VASSAL.counters.Embellishment.getLocalizedName(Embellishment.java:276)
at VASSAL.counters.Decorator.getLocalizedName(Decorator.java:323)
at VASSAL.counters.Embellishment.getName(Embellishment.java:305)
at VASSAL.counters.Embellishment.getLocalizedName(Embellishment.java:276)
at VASSAL.build.BadDataReport.(BadDataReport.java:68)
at VASSAL.counters.Decorator.reportDataError(Decorator.java:365)
at VASSAL.counters.Embellishment.checkPropertyLevel(Embellishment.java:419)
at VASSAL.counters.Embellishment.getName(Embellishment.java:284………

From: messages-bounces@forums.vassalengine.org [mailto:messages-bounces@forums.vassalengine.org] On Behalf Of Michael Kiefte
Sent: Wednesday, May 20, 2009 5:34 PM
To: VASSAL Engine Forums Mailing List
Subject: Re: [Technical Support & Bugs]Re: Error log

Strange. I must have uploaded the wrong one. However, all I did was delete that one line which effectively eliminated that one piece. I was not able to determine how the character could be inserted, however.

20 May 2009 22:08:59.346 0 – Loading module VassalBowl
20 May 2009 22:08:59.362 0 C:Program FilesJavajre1.6.0_06binjava
-Xms256M -Xmx512M -DVASSAL.id=1 -cp libVengine.jar;Vengine.jar

VASSAL.launch.Player
20 May 2009 22:09:02.221 1 [Fatal Error] :290:274: Character reference “&#0
is an invalid XML character.

There was a bug report on SF somewhere with exact same problem before but
I’ll be darned if I cant find it right now :slight_smile:

-----Original Message-----
From: messages-bounces@forums.vassalengine.org (messages-bounces@forums.vassalengine.org)
[mailto:messages-bounces@forums.vassalengine.org (messages-bounces@forums.vassalengine.org)] On Behalf Of danjaman
Sent: Wednesday, May 20, 2009 8:14 AM
To: messages@forums.vassalengine.org (messages@forums.vassalengine.org)
Subject: [Technical Support & Bugs]Re: Error log

the original problem ;)

I know why the edited version doesn’t work, because it was edited
incorrectly. This one however… I have no idea…

Suffice to say, I know not how to correct it…

Post generated using Mail2Forum (mail2forum.com)

You actually have to take out the entire line. I was unable to determine the real problem, but I was also struck by this.

  • M.

2009/5/20 Tim McCarron <timothy.mccarron@sbcglobal.net (timothy.mccarron@sbcglobal.net)>

Post generated using Mail2Forum (mail2forum.com)

Thanks for the insight. I obviously tried removing the property sheet traits which have the undefined character included; but it then could not build the piece. This was working fine not a week previously in pretty much the same form it is now…

Unfortunately deleting the entire entry ‘test piece’ would be quite annoying at this stage, as it was to be the template for all the pieces in the game…

The module worked fine under 3.14 (Ubuntu) but not linux 3.15; and with XP neither work…

What I will do is remove just the invalid characters, try open with .14 and then remove the traits altogether if possible. I think its due to undefined shortcuts for those property sheets.

Thanks again.

PS: is there a place I can download earlier Vassal versions…??

I would replace the all occurences off ‘&#0’ sequence (2 of them) with ‘XYZZY’ in the buildfile and you will then be able to edit it and track fix the strings to what they are supposed to be.

B.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

tried that, got this when accessing the piece. It did however load the module and is a different exception shown to if i delete the value and leave it blank…

None of this explains how the invalid character sequence got there in the first place.

I actually tried this, and it didn’t work. I have no idea why.

  • M.

Post generated using Mail2Forum (mail2forum.com)