Index: /applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/edigeo/EdigeoFileVEC.java
===================================================================
--- /applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/edigeo/EdigeoFileVEC.java	(revision 34629)
+++ /applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/edigeo/EdigeoFileVEC.java	(revision 34630)
@@ -11,4 +11,5 @@
 import java.util.Map;
 import java.util.Objects;
+import java.util.Optional;
 import java.util.function.BiConsumer;
 import java.util.function.BiPredicate;
@@ -661,6 +662,13 @@
                 EastNorth en = ab.points.get(ab.nPoints - 1);
                 Stream<ArcBlock> stream = arcs.stream().filter(a -> a.points.get(0).equalsEpsilon(en, EPSILON));
-                assert stream.count() == 1;
-                newArcs.add(stream.findAny().get());
+                Optional<ArcBlock> x = stream.findAny();
+                if (!x.isPresent()) {
+                    // Problem observed with 31248000AO01. Choose the nearest node
+                    Logging.warn("Degraded mode for " + obj + " around " + en);
+                    stream = arcs.stream()
+                                 .sorted((o1, o2) -> Double.compare(en.distance(o1.points.get(0)), en.distance(o2.points.get(0))));
+                    x = stream.findFirst();
+                }
+                newArcs.add(x.get());
             }
             assert newArcs.size() == arcs.size();
Index: /applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/edigeo/pci/EdigeoPciReader.java
===================================================================
--- /applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/edigeo/pci/EdigeoPciReader.java	(revision 34629)
+++ /applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/edigeo/pci/EdigeoPciReader.java	(revision 34630)
@@ -276,4 +276,5 @@
             throw e;
         } catch (Exception | AssertionError e) {
+            Logging.error(e);
             throw new IOException(e);
         }
