Re: [josm-dev] josm-tested (r4667) bad preferences file: SOLVED
2011/12/29 Richard Weait rich...@weait.com That bug from 2008 pointed to my problem. I was using an old jre. Don't do that. :-) Maybe we can do something about it in JOSM. First I have updated this wiki page: http://josm.openstreetmap.de/wiki/Help/SystemRequirements To point out the more recent bugs caused by an old JRE version. Next, I propose to update the Main.checkJava6() to issue a warning when JOSM runs with an old JRE 6. We'd just have to define what old is. It must be at least 14 (the update fixing this issue), but we have the following versions of openjdk-6-jre in Debian/Ubuntu: - Debian stable: 18 - Ubuntu stable: 23 So, I'd suggest 18, to start with ? ___ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev
[josm-dev] josm-tested (r4667) bad preferences file
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
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
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