Index: trunk/src/org/openstreetmap/josm/gui/mappaint/LineElemStyle.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/mappaint/LineElemStyle.java	(revision 7043)
+++ trunk/src/org/openstreetmap/josm/gui/mappaint/LineElemStyle.java	(revision 7045)
@@ -185,5 +185,5 @@
         color = new Color(color.getRed(), color.getGreen(), color.getBlue(), alpha);
 
-        float[] dashes = c.get(type.prefix + DASHES, null, float[].class);
+        float[] dashes = c.get(type.prefix + DASHES, null, float[].class, true);
         if (dashes != null) {
             boolean hasPositive = false;
