Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

NULL in hstore breaks store writer #3892

Open
openstreetmap-trac opened this issue Jul 23, 2021 · 0 comments
Open

NULL in hstore breaks store writer #3892

openstreetmap-trac opened this issue Jul 23, 2021 · 0 comments

Comments

@openstreetmap-trac
Copy link

Reporter: ieskok
[Submitted to the original trac issue database at 12.51am, Wednesday, 6th July 2011]

osmosis(v0.39) breaks reading postgresql snapshot schema if tags(hstore) has keys with value NULL, throws exception:
java.lang.NullPointerException
at java.io.DataOutputStream.writeUTF(DataOutputStream.java:347)
at java.io.DataOutputStream.writeUTF(DataOutputStream.java:323)
at org.openstreetmap.osmosis.core.store.DataOutputStoreWriter.writeString(DataOutputStoreWriter.java:108)
at org.openstreetmap.osmosis.core.domain.v0_6.Tag.store(Tag.java:60)
at org.openstreetmap.osmosis.core.domain.v0_6.TagCollectionImpl.store(TagCollectionImpl.java:70)
at org.openstreetmap.osmosis.core.domain.v0_6.CommonEntityData.store(CommonEntityData.java:216)
at org.openstreetmap.osmosis.core.domain.v0_6.Entity.store(Entity.java:138)
at org.openstreetmap.osmosis.core.domain.v0_6.Way.store(Way.java:181)
at org.openstreetmap.osmosis.core.store.BaseObjectWriter.writeObject(BaseObjectWriter.java:63).......

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant