org.openstreetmap.osmosis.core.OsmosisRuntimeException: Unable to insert user with id 3642735 into the database.

GitHub | hanchao | 2 months ago
  1. 0

    GitHub comment 282#247947133

    GitHub | 2 months ago | hanchao
    org.openstreetmap.osmosis.core.OsmosisRuntimeException: Unable to insert user with id 3642735 into the database.
  2. 0

    GitHub comment 130#207135409

    GitHub | 8 months ago | mojodna
    org.openstreetmap.osmosis.core.OsmosisRuntimeException: Unable to insert user with id 1708958 into the database.
  3. 0

    geonetwork: error updating local user

    GitHub | 3 years ago | fvanderbiest
    org.postgresql.util.PSQLException: ERROR: value too long for type character varying(16)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    geonetwork: phone field too short in user table

    GitHub | 3 years ago | fvanderbiest
    org.postgresql.util.PSQLException: ERROR: value too long for type character varying(16)
  6. 0

    PGSQL JDBC BLOB Update giving error

    Stack Overflow | 3 years ago | Rocky Inde
    org.postgresql.util.PSQLException: ERROR: syntax error at or near "," Position: 143
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.postgresql.util.PSQLException

    ERROR: duplicate key value violates unique constraint "users_display_name_idx" 详细:Key (display_name)=(Nodes&Roads) already exists.

    at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse()
  2. PostgreSQL JDBC Driver
    AbstractJdbc2Statement.executeUpdate
    1. org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2103)
    2. org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1836)
    3. org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
    4. org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:512)
    5. org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:388)
    6. org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:334)
    6 frames
  3. org.openstreetmap.osmosis
    ApidbWriter.process
    1. org.openstreetmap.osmosis.apidb.v0_6.impl.UserManager.insertUser(UserManager.java:140)
    2. org.openstreetmap.osmosis.apidb.v0_6.impl.UserManager.addOrUpdateUser(UserManager.java:191)
    3. org.openstreetmap.osmosis.apidb.v0_6.ApidbWriter.process(ApidbWriter.java:1098)
    3 frames
  4. crosby.binary.osmosis
    OsmosisBinaryParser.parseDense
    1. crosby.binary.osmosis.OsmosisBinaryParser.parseDense(OsmosisBinaryParser.java:138)
    1 frame
  5. osmosis-osm-binary
    BlockInputStream.process
    1. org.openstreetmap.osmosis.osmbinary.BinaryParser.parse(BinaryParser.java:124)
    2. org.openstreetmap.osmosis.osmbinary.BinaryParser.handleBlock(BinaryParser.java:68)
    3. org.openstreetmap.osmosis.osmbinary.file.FileBlock.process(FileBlock.java:135)
    4. org.openstreetmap.osmosis.osmbinary.file.BlockInputStream.process(BlockInputStream.java:34)
    4 frames
  6. crosby.binary.osmosis
    OsmosisReader.run
    1. crosby.binary.osmosis.OsmosisReader.run(OsmosisReader.java:45)
    1 frame
  7. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame