#7227 closed defect (duplicate)
josm 4765 fails on ~/.josm/preferences.xml
Reported by: | glebius | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | Cc: |
Description
New josm fails to read ~/.josm/preferences.xml created by itself, as well as fails on absent preferences.xml file.
glebius@xxx:~/.josm:|>rm preferences.xml*
glebius@xxx:~/.josm:|>LANG=C java -jar ~/osm/josm/core/dist/josm-custom.jar
Build-Date: 2012-01-06 22:27:37
Revision: 4765
Is-Local-Build: true
Warning: Missing preference file '/home/glebius/.josm/preferences.xml'. Creating a default preference file.
ERROR:
java.lang.NullPointerException
at com.sun.org.apache.xerces.internal.jaxp.validation.StAXValidatorHelper.validate(StAXValidatorHelper.java:95)
at com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorImpl.validate(ValidatorImpl.java:114)
at javax.xml.validation.Validator.validate(Validator.java:127)
at org.openstreetmap.josm.data.Preferences.validateXML(Preferences.java:1436)
at org.openstreetmap.josm.data.Preferences.load(Preferences.java:580)
at org.openstreetmap.josm.data.Preferences.load(Preferences.java:542)
at org.openstreetmap.josm.data.Preferences.init(Preferences.java:678)
at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:192)
Attachments (0)
Change History (3)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
With existing file the messagebox test is different ("file had errors"), but trace is the same:
glebius@xxx:~/.josm:|>LANG=C java -jar ~/osm/josm/core/dist/josm-custom.jar
Build-Date: 2012-01-06 22:27:37
Revision: 4765
Is-Local-Build: true
ERROR:
java.lang.NullPointerException