If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > PostgreSQL > "java.lang.NullPointerException" error

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-24-11, 01:09
Rasputin6779 Rasputin6779 is offline
Registered User
 
Join Date: Aug 2011
Posts: 1
"java.lang.NullPointerException" error

Receiving this error when trying to hit third-party EMR application via HTTP; platform is Debian GNU/Linux, PostgreSQL is version 8.3, but have a previous instance of 8.2 on the machine that's not currently running. It has worked in the past for quite sometime, but I had to bounce the box and hop into single-user mode to reset root password, as we forgot it. As soon as I did that, and brought the server back up, this is the error we are all getting now.

What I've done to troubleshoot:

-Ensured that postgresql-8.3 and apache2 daemons were running via sysvconfig
-Ran this command under "postgres" user - "pg_ctl start -D /etc/postgresql/8.3/main -l postgres2011.log" (just created a new random log file, not sure if that was correct)
-Found what I believe are .jar files for current application, and tried to start "java -jar /absolute path of jar file" but received an error "Failed to load Main-Class manifest attribute"

This is simply a custom web app that has been written, and uses a PostgreSQL DB for the back end. Not too sure where to go from here, any help would be much appreciated, thank you much in advance.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On