Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2158

Java+Spark+Mongodb+web app+heroku

      I am making a web application with java and mongodb on Heroku. But I keep getting error like this:
      1:38:42 AM web.1 | Exception in thread "main"
      1:38:42 AM web.1 | java.lang.NullPointerException
      1:38:42 AM web.1 | at com.mongodb.MongoClientURI.<init>(MongoClientURI.java:174…
      1:38:42 AM web.1 | at com.mongodb.MongoClientURI.<init>(MongoClientURI.java:159…
      1:38:42 AM web.1 | at Main.main(Main.java:32)
      I have searching and trying for more than ten hours. Please help me with this issue.

        1. Main.java
          1 kB
        2. pom.xml
          4 kB

            Assignee:
            Unassigned Unassigned
            Reporter:
            zhugerock@gmail.com Junwei Zhuge
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: