java.lang.StackOverflowError

JIRA | Douglas Faglioni Boleta | 1 year ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    I have got a StackOverflow Error when a database has at least two schemas with tables with same name and each one has an index. The script to simulate: CREATE SCHEMA dummy1; CREATE SCHEMA dummy2; CREATE TABLE dummy1.dummy ( id numeric(10,0) NOT NULL); CREATE UNIQUE INDEX idxvalue ON dummy1.dummy (id); CREATE TABLE dummy2.dummy ( id numeric(10,0) NOT NULL); CREATE UNIQUE INDEX idxvalue ON dummy2.dummy (id); The command to perform the error is: liquibase.bat --driver=org.postgresql.Driver --url=jdbc:postgresql://localhost:5432/postgres --username=postgres --password=123 --logLevel=debug --logFile=log.txt snapshot --schemas="dummy1,dummy2" And the log was: DEBUG 30/11/15 14:00: liquibase: Connected to postgres@jdbc:postgresql://localhost:5432/postgres DEBUG 30/11/15 14:00: liquibase: Setting auto commit to false from true DEBUG 30/11/15 14:00: liquibase: Computed checksum for 1448899233741 as 34b16eb903226560db75e64bad3900f2 DEBUG 30/11/15 14:00: liquibase: Executing QUERY database command: SELECT relname AS SEQUENCE_NAME FROM pg_class, pg_namespace WHERE relkind='S' AND pg_class.relnamespace = pg_namespace.oid AND nspname = 'dummy1' DEBUG 30/11/15 14:00: liquibase: Executing QUERY database command: SELECT relname AS SEQUENCE_NAME FROM pg_class, pg_namespace WHERE relkind='S' AND pg_class.relnamespace = pg_namespace.oid AND nspname = 'dummy2' SEVERE 30/11/15 14:00: liquibase: Unknown Reason java.lang.StackOverflowError at java.util.regex.Pattern.sequence(Unknown Source) at java.util.regex.Pattern.expr(Unknown Source) at java.util.regex.Pattern.compile(Unknown Source) at java.util.regex.Pattern.<init>(Unknown Source) at java.util.regex.Pattern.compile(Unknown Source) at java.lang.String.replaceAll(Unknown Source) at liquibase.snapshot.jvm.JdbcSnapshotGenerator.cleanNameFromDatabase(JdbcSnapshotGenerator.java:122) at liquibase.snapshot.jvm.TableSnapshotGenerator.readTable(TableSnapshotGenerator.java:84) at liquibase.snapshot.jvm.TableSnapshotGenerator.snapshotObject(TableSnapshotGenerator.java:36) at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:60) at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:50) at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:63) at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:50) at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:63) at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:50) at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:63) at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:50) at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:63) at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:50) at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:63) at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:50) at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:63) at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:50) at liquibase.snapshot.DatabaseSnapshot.include(DatabaseSnapshot.java:194) at liquibase.snapshot.DatabaseSnapshot.replaceObject(DatabaseSnapshot.java:272) at liquibase.snapshot.DatabaseSnapshot.includeNestedObjects(DatabaseSnapshot.java:234) at liquibase.snapshot.DatabaseSnapshot.include(DatabaseSnapshot.java:208) at liquibase.snapshot.DatabaseSnapshot.replaceObject(DatabaseSnapshot.java:292) at liquibase.snapshot.DatabaseSnapshot.includeNestedObjects(DatabaseSnapshot.java:234) at liquibase.snapshot.DatabaseSnapshot.include(DatabaseSnapshot.java:208) at liquibase.snapshot.DatabaseSnapshot.replaceObject(DatabaseSnapshot.java:292)

    JIRA | 1 year ago | Douglas Faglioni Boleta
    java.lang.StackOverflowError
  2. 0

    I have got a StackOverflow Error when a database has at least two schemas with tables with same name and each one has an index. The script to simulate: CREATE SCHEMA dummy1; CREATE SCHEMA dummy2; CREATE TABLE dummy1.dummy ( id numeric(10,0) NOT NULL); CREATE UNIQUE INDEX idxvalue ON dummy1.dummy (id); CREATE TABLE dummy2.dummy ( id numeric(10,0) NOT NULL); CREATE UNIQUE INDEX idxvalue ON dummy2.dummy (id); The command to perform the error is: liquibase.bat --driver=org.postgresql.Driver --url=jdbc:postgresql://localhost:5432/postgres --username=postgres --password=123 --logLevel=debug --logFile=log.txt snapshot --schemas="dummy1,dummy2" And the log was: DEBUG 30/11/15 14:00: liquibase: Connected to postgres@jdbc:postgresql://localhost:5432/postgres DEBUG 30/11/15 14:00: liquibase: Setting auto commit to false from true DEBUG 30/11/15 14:00: liquibase: Computed checksum for 1448899233741 as 34b16eb903226560db75e64bad3900f2 DEBUG 30/11/15 14:00: liquibase: Executing QUERY database command: SELECT relname AS SEQUENCE_NAME FROM pg_class, pg_namespace WHERE relkind='S' AND pg_class.relnamespace = pg_namespace.oid AND nspname = 'dummy1' DEBUG 30/11/15 14:00: liquibase: Executing QUERY database command: SELECT relname AS SEQUENCE_NAME FROM pg_class, pg_namespace WHERE relkind='S' AND pg_class.relnamespace = pg_namespace.oid AND nspname = 'dummy2' SEVERE 30/11/15 14:00: liquibase: Unknown Reason java.lang.StackOverflowError at java.util.regex.Pattern.sequence(Unknown Source) at java.util.regex.Pattern.expr(Unknown Source) at java.util.regex.Pattern.compile(Unknown Source) at java.util.regex.Pattern.<init>(Unknown Source) at java.util.regex.Pattern.compile(Unknown Source) at java.lang.String.replaceAll(Unknown Source) at liquibase.snapshot.jvm.JdbcSnapshotGenerator.cleanNameFromDatabase(JdbcSnapshotGenerator.java:122) at liquibase.snapshot.jvm.TableSnapshotGenerator.readTable(TableSnapshotGenerator.java:84) at liquibase.snapshot.jvm.TableSnapshotGenerator.snapshotObject(TableSnapshotGenerator.java:36) at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:60) at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:50) at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:63) at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:50) at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:63) at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:50) at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:63) at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:50) at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:63) at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:50) at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:63) at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:50) at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:63) at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:50) at liquibase.snapshot.DatabaseSnapshot.include(DatabaseSnapshot.java:194) at liquibase.snapshot.DatabaseSnapshot.replaceObject(DatabaseSnapshot.java:272) at liquibase.snapshot.DatabaseSnapshot.includeNestedObjects(DatabaseSnapshot.java:234) at liquibase.snapshot.DatabaseSnapshot.include(DatabaseSnapshot.java:208) at liquibase.snapshot.DatabaseSnapshot.replaceObject(DatabaseSnapshot.java:292) at liquibase.snapshot.DatabaseSnapshot.includeNestedObjects(DatabaseSnapshot.java:234) at liquibase.snapshot.DatabaseSnapshot.include(DatabaseSnapshot.java:208) at liquibase.snapshot.DatabaseSnapshot.replaceObject(DatabaseSnapshot.java:292)

    JIRA | 1 year ago | Douglas Faglioni Boleta
    java.lang.StackOverflowError
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Error in Coldfusion-out.log

    Google Groups | 3 years ago | Jo Corless
    java.lang.StackOverflowError
  5. 0

    Library does not support @JsonIgnoreProperties on a field

    GitHub | 10 months ago | luizkowalski
    org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.StackOverflowError

    Root Cause Analysis

    1. java.lang.StackOverflowError

      No message provided

      at java.util.regex.Pattern.sequence()
    2. Java RT
      String.replaceAll
      1. java.util.regex.Pattern.sequence(Unknown Source)
      2. java.util.regex.Pattern.expr(Unknown Source)
      3. java.util.regex.Pattern.compile(Unknown Source)
      4. java.util.regex.Pattern.<init>(Unknown Source)
      5. java.util.regex.Pattern.compile(Unknown Source)
      6. java.lang.String.replaceAll(Unknown Source)
      6 frames
    3. Liquibase Core
      DatabaseSnapshot.replaceObject
      1. liquibase.snapshot.jvm.JdbcSnapshotGenerator.cleanNameFromDatabase(JdbcSnapshotGenerator.java:122)
      2. liquibase.snapshot.jvm.TableSnapshotGenerator.readTable(TableSnapshotGenerator.java:84)
      3. liquibase.snapshot.jvm.TableSnapshotGenerator.snapshotObject(TableSnapshotGenerator.java:36)
      4. liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:60)
      5. liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:50)
      6. liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:63)
      7. liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:50)
      8. liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:63)
      9. liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:50)
      10. liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:63)
      11. liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:50)
      12. liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:63)
      13. liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:50)
      14. liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:63)
      15. liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:50)
      16. liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:63)
      17. liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:50)
      18. liquibase.snapshot.DatabaseSnapshot.include(DatabaseSnapshot.java:194)
      19. liquibase.snapshot.DatabaseSnapshot.replaceObject(DatabaseSnapshot.java:272)
      20. liquibase.snapshot.DatabaseSnapshot.includeNestedObjects(DatabaseSnapshot.java:234)
      21. liquibase.snapshot.DatabaseSnapshot.include(DatabaseSnapshot.java:208)
      22. liquibase.snapshot.DatabaseSnapshot.replaceObject(DatabaseSnapshot.java:292)
      23. liquibase.snapshot.DatabaseSnapshot.includeNestedObjects(DatabaseSnapshot.java:234)
      24. liquibase.snapshot.DatabaseSnapshot.include(DatabaseSnapshot.java:208)
      25. liquibase.snapshot.DatabaseSnapshot.replaceObject(DatabaseSnapshot.java:292)
      25 frames