NullPointerException thrown by JavaPlugin#installDDL();

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: None
    • None
    • Environment:

      Operating System: Windows 10 Home Edition.
      Java JDK: Java JDK 1.8.0_74
      Spigot API version: 1.9-R0.1-SNAPSHOT

      Hi, I'm trying to make a plugin database using the built in persistence method, and the problem I'm running into is that, in the try block, getDatabase().find(MyClass.class).findRowCount(); is throwing a NullPointerException. When I add that to the caught exceptions, a NullPointerException is thrown in JavaPlugin at line 445

            Assignee:
            Unassigned
            Reporter:
            Rhys Kenwell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: