Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- List Routes
- ===========
- Exception in thread "main" java.lang.NullPointerException: Cannot invoke "java.sql.Statement.executeQuery(String)" because "daos.SQLDAO.stmt" is null
- at daos.SQLDAO.getRoutes(SQLDAO.java:38)
- at repositories.Repository.getItems(Repository.java:19)
- at controllers.Controller.listRoutesToConsole(Controller.java:52)
- at controllers.Controller.run(Controller.java:45)
- at app.CyclingRoutesApp.run(CyclingRoutesApp.java:20)
- at app.CyclingRoutesApp.main(CyclingRoutesApp.java:28)
- hristinakazakova@hristinas-MacBook-Pro CyclingRoutesAppStarter %
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement