Index: applications/editors/josm/plugins/reverter/src/reverter/MultiOsmReader.java
===================================================================
--- applications/editors/josm/plugins/reverter/src/reverter/MultiOsmReader.java	(revision 35080)
+++ applications/editors/josm/plugins/reverter/src/reverter/MultiOsmReader.java	(revision 35082)
@@ -44,6 +44,6 @@
     protected Node parseNode() throws XMLStreamException  {
         Node node = super.parseNode();
-        if (callback != null) {
-            callback.primitiveParsed(node.getPrimitiveId());
+        if (callback != null && node != null) {
+            callback.primitiveParsed(node);
         }
         return node;
@@ -52,6 +52,6 @@
     protected Way parseWay() throws XMLStreamException  {
         Way way = super.parseWay();
-        if (callback != null) {
-            callback.primitiveParsed(way.getPrimitiveId());
+        if (callback != null && way != null) {
+            callback.primitiveParsed(way);
         }
         return way;
@@ -60,6 +60,6 @@
     protected Relation parseRelation() throws XMLStreamException  {
         Relation relation = super.parseRelation();
-        if (callback != null) {
-            callback.primitiveParsed(relation.getPrimitiveId());
+        if (callback != null && relation != null) {
+            callback.primitiveParsed(relation);
         }
         return relation;
