timabell / sqlHawk

Database management / migration tooling. Java / JDBC based.
http://timabell.github.com/sqlHawk/
GNU General Public License v3.0
8 stars 4 forks source link

Null Pointer Exception while Reading Functions #83

Open odelasp opened 7 years ago

odelasp commented 7 years ago

java.lang.NullPointerException at uk.co.timwise.sqlhawk.model.Function.(Function.java:42) at uk.co.timwise.sqlhawk.db.read.DbReader.initFunctions(DbReader.java:205) at uk.co.timwise.sqlhawk.db.read.DbReader.Read(DbReader.java:106) at uk.co.timwise.sqlhawk.controller.SchemaMapper.readDb(SchemaMapper.java:152) at uk.co.timwise.sqlhawk.controller.SchemaMapper.analyze(SchemaMapper.java:119) at uk.co.timwise.sqlhawk.controller.SchemaMapper.RunMapping(SchemaMapper.java:82) at uk.co.timwise.sqlhawk.console.Main.main(Main.java:50)

odelasp commented 7 years ago

Is there a way we can exclude functions from being read --procedure-exclusion-pattern but let it read the stored procedures?

timabell commented 7 years ago

Gosh, a user, hello :-) I haven't had occasion to look at this project for a long time now, I'm afraid I have no idea off the top of my head. Happy to look at pull requests if you want to contribute.