Donate Share

OpenPMS

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

db errors

You are viewing a single message from this topic. View all messages.

  1. 2005-03-20 01:46:52 UTC
    running the program, I get this error when trying to add appts or patients:

    C:\dev\vet\openPMS>java -classpath C:\dev\vet\openPMS com.leewardsoft.openPMS.ApplicationMain
    Unable to find file: home/kurt/LeewardMedical/com/leewardsoft/openPMS/db/db.conf
    java.lang.NullPointerException
    at com.leewardsoft.openPMS.util.DataManager.getConnection(DataManager.java:166)
    at com.leewardsoft.openPMS.util.GenericDBManager.getEmploymentTypes(GenericDBManager.java:425)
    at com.leewardsoft.openPMS.modules.Patients.classes.AddModifyPatient.buildPatientInfo(AddModifyPatient.java:960)
    at com.leewardsoft.openPMS.modules.Patients.classes.AddModifyPatient.buildTabTwo(AddModifyPatient.java:402)
    at com.leewardsoft.openPMS.modules.Patients.classes.AddModifyPatient.<init>(AddModifyPatient.java:120)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at java.lang.Class.newInstance0(Class.java:308)
    at java.lang.Class.newInstance(Class.java:261)
    at com.leewardsoft.openPMS.gui.GUIMain$PanelLoader.run(GUIMain.java:234)
    at java.lang.Thread.run(Thread.java:534).

    Looking in the DataManager class, I see:
    String url = "jdbc:mckoi:local://home/kurt/LeewardMedical/com/leewardsoft/openPMS/db/db.conf";
    args.put("jdbc.URL", url);


    I suspect that this hard coded location could be the problem.
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.