I was just adding a new employee into the following page:
https://demo.hotwaxmedia.com/humanres/control/createEmployee

got this nice error: 
The Following Errors Occurred:

Error:Error:Error:ERROR: Could not complete the Create Contact Mechanism 
[file:/demo/deployments/demo.hotwaxmedia.com/applications/party/script/org/ofbiz/party/contact/ContactMechServices.xml#createContactMech]
 process [problem creating the newValue value: Error while inserting: 
[GenericEntity:ContactMech][contactMechTypeId,POSTAL_ADDRESS(java.lang.String)][createdStamp,2008-12-31
 03:46:06.696(java.sql.Timestamp)][createdTxStamp,2008-12-31 
03:46:06.658(java.sql.Timestamp)][lastUpdatedStamp,2008-12-31 
03:46:06.696(java.sql.Timestamp)][lastUpdatedTxStamp,2008-12-31 
03:46:06.658(java.sql.Timestamp)] (SQL Exception while executing the 
following:INSERT INTO OFBIZ.CONTACT_MECH (CONTACT_MECH_ID, 
CONTACT_MECH_TYPE_ID, INFO_STRING, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, 
CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?) (Column 
'CONTACT_MECH_ID' cannot accept a NULL value.))] calling service 
createContactMech in createPostalAddress calling service createPostalAddress in 
createPartyPostalAddress calling service createPartyPostalAddress in 
createPartyContactMechs

Checked and i dont think there was anything strange in the data i was trying to 
submit. 

Cheers
Sam

Reply via email to