#79 NullPointerException when importing from Postgres database

open
nobody
None
5
21 hours ago
2012-03-26
No

When I use the "Import from Database" function and import from a PostgreSQL database, I get an error message "The error occurred by the plug-in. Reason: java.lang.NullPointerException". After that error, some tables are not displayed and some relation lines are end without being attached to any table. When moving some of the tables, I get the same kind of error messages again.

It does not happen with all databases. Find attached the DDL for creating a simple PostgreSQL database with which I can always reproduce the problem, using Eclipse 3.7 with ERMaster 1.0.0.v20120122-1548 and a Postgres 9.1 database.

Discussion

  • Postgres database schema dump for reproducing the problem

     
    Attachments
  • Just tried again using Eclipse 4.3 with ERMaster 1.0.0.v20140727-1950 and Postgres 9.3, could not reproduce this any more. I think you can close this ticket.