[josm-dev] josm-tested (r4667) bad preferences file

2011-12-29 Thread Richard Weait
Dear All,

How does one run josm tested?   r4667 complains of a errors in the
preferences file.

I have:
- removed .josm directory
- started josm-tested (complains of errors in the preferences file.
Should this say no preferences file found. creating new preferences
file ?)
- add my plugins
- close
- start josm-tested (complains of errors in the preferences file)

What next?

___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] josm-tested (r4667) bad preferences file

2011-12-29 Thread Richard Weait
Discussion on #osm-dev lead to this from josm with no ~/.josm directory.

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2011-12-19 02:32:42
Last Changed Author: Don-vip
Revision: 4667
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2011-12-19 00:02:30 +0100 (Mon, 19 Dec 2011)
Last Changed Rev: 4667

Warning: Missing preference file '/home/nerd/.josm/preferences.xml'.
Creating a default preference file.
ERROR:  ''
java.lang.NullPointerException
at 
com.sun.org.apache.xerces.internal.jaxp.validation.StAXValidatorHelper.validate(Unknown
Source)
at 
com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorImpl.validate(Unknown
Source)
at javax.xml.validation.Validator.validate(Unknown Source)
at 
org.openstreetmap.josm.data.Preferences.validateXML(Preferences.java:1436)


and a pointer to a similar error report in java Problem with
StAXValidatorHelper
http://www.java.net/node/666283

___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] josm-tested (r4667) bad preferences file: SOLVED

2011-12-29 Thread Richard Weait
On Thu, Dec 29, 2011 at 3:26 PM, Richard Weait rich...@weait.com wrote:

 and a pointer to a similar error report in java Problem with
 StAXValidatorHelper
 http://www.java.net/node/666283

That bug from 2008 pointed to my problem.  I was using an old jre.
Don't do that.  :-)

___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev