Help "Error reading 'personName'"

(dixon samwel) #1

Hi Community,

I have an error that occurs in form entry tab, that makes is impossible to fill form.

Am using xforms and the openmrs version deployed is 2.0.6. It was upgraded to this version.

See this link to find tomcat logs

Thanks for your support

(Daniel Kayiwa) #2

Can you cross check if each of your users has a name as you can see here?

(dixon samwel) #3

Hi @dkayiwa,

Thanks for yor prompt responce, i have checked, there was one user with no family name only, i have updated that user, still the error appears in form entry tab.

(Daniel Kayiwa) #4

Try restart openmrs. Then share the current error log after reproducing the error.

(dixon samwel) #5

Hi @dkayiwa,

I have cleared the log, restarted tomcat, opened the system, and reproduced the error, here is the full log

(Daniel Kayiwa) #6

Can you share the database connection string as it appears in your runtime properties file?

(dixon samwel) #7

encryption.vector=m7wBhzFZGvl6A7KJvCyj3g== connection.url=jdbc:mysql://localhost:3306/openmrs2?autoReconnect=true&sess$ module.allow_web_admin=true connection.username= auto_update_database=false encryption.key= connection.password=

Here it the content, I just removed the credentials

(Daniel Kayiwa) #8

Can you append this to the connection url and restart openmrs &zeroDateTimeBehavior=convertToNull

(dixon samwel) #9

Hi @dkayiwa, that did the trick, it is working now, thanks for your support. Very much appreciate your support.

Am still seeing this error “Error during putting int i into concept c java.lang.NumberFormatException:” Should i worry about it?

(Daniel Kayiwa) #10

Can you share the full log?

(dixon samwel) #11

Here is full log. I cleared the existing log, restarted tomcat and repeated the process