Illegal value for attribute version....Got -1.

“Illegal value for attribute version…Got -1.”
I get this message when I try to load tiles into JOSM that I’ve created from Geofabrik’s US-West-latest.osm.pbf. PBF tiles were created using splitter r299. If I then convert the PBF tiles to OSM using either pbftoosm or osmosis I get the error above.
Suggestions for a fix would be appreciated.
Sample header follows:

<?xml version='1.0' encoding='UTF-8'?>
<osm version="0.6" generator="Osmosis 0.42-6-gf39a160-dirty">
  <bounds minlon="-113.02734" minlat="40.95703" maxlon="-112.01660" maxlat="41.96777" origin="0.42-6-gf39a160-dirty"/>
  <node id="82802830" version="-1" timestamp="1969-12-31T23:59:59Z" changeset="-1" lat="41.815953" lon="-112.4130714"/>

Maybe related to ??

I’m using the latest builds of splitter, osmosis, and pbftoosm, but I’m only using 32bit Java. Would using splitter with 32bit Java cause the problem?

The sizes of Java’s int and long are independent from the architecture, so I don’t think this causes the problem.

This error message occurs because nodes with positive ids must not have version numbers < 1. (And negative changeset ids are not accepted either.) I’m not sure why they end up in the file like this, though.