com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Column 'NM' cannot be null Error Code: 1048 Call: UPDATE KRMS_TERM_SPEC_T SET NM = ?, TYP = ?, DESC_TXT = ?, VER_NBR = ? WHERE ((TERM_SPEC_ID = ?) AND (VER_NBR = ?)) bind => [6 parameters bound] Query: UpdateObjectQuery(org.kuali.rice.krms.impl.repository.TermSpecificationBo@632037f9)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Kuali JIRA by Erik Meade, 1 year ago
Column 'NM' cannot be null Error Code: 1048 Call: UPDATE KRMS_TERM_SPEC_T SET NM = ?, TYP = ?, DESC_TXT = ?, VER_NBR = ? WHERE ((TERM_SPEC_ID = ?) AND (VER_NBR = ?)) bind => [6 parameters bound] Query: UpdateObjectQuery(org.kuali.rice.krms.impl.repository.TermSpecificationBo@632037f9)
via Kuali JIRA by Christopher Wade, 1 year ago
Column 'NMSPC_CD' cannot be null Error Code: 1048 Call: UPDATE KRMS_TERM_SPEC_T SET NMSPC_CD = ?, VER_NBR = ? WHERE ((TERM_SPEC_ID = ?) AND (VER_NBR = ?)) bind => [4 parameters bound] Query: UpdateObjectQuery(org.kuali.rice.krms.impl.repository.TermSpecificationBo@41f774db)
via Stack Overflow by Akino
, 1 year ago
Column 'Adresse' cannot be null Error Code: 1048 Call: INSERT INTO AGENT (ADRESSE, ADMIN, CDDE, CDD, RIGHT, FONCTION, CDS, EMAIL, ETAT, LOGIN, NAME, PASSWORD, LASTNAME, TEL) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) bind => [null, false, null, null, null, null, null, null, null, null, null, null, null, null] Query: InsertObjectQuery(model.Agent@1520e06)
via Stack Overflow by Andrea T
, 2 years ago
Cannot delete or update a parent row: a foreign key constraint fails (`control`.`children`, CONSTRAINT `FK_CHILDREN_COUNTRY_ID` FOREIGN KEY (`COUNTRY_ID`) REFERENCES `countries` (`ID`)) Error Code: 1451 Call: DELETE FROM PARENT WHERE (ID = ?) bind => [1 parameter bound] Query: DeleteObjectQuery(com.frys.model.Country[ id=2 ])
via Stack Overflow by user1794974
, 2 years ago
Duplicate entry '1-1-1-1' for key 'logging_unique' Error Code: 1062 Call: INSERT INTO MY_LOGGING (CUSTOMERS_ID, EMPLOYEES_EMPLOYEE_NO, PROJECTS_ID, TASKS_ID) VALUES (?, ?, ?, ?) bind => [4 parameters bound] Query: InsertObjectQuery(za.co.company.entity.Logging[ id=null ])
com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Column 'NM' cannot be null Error Code: 1048 Call: UPDATE KRMS_TERM_SPEC_T SET NM = ?, TYP = ?, DESC_TXT = ?, VER_NBR = ? WHERE ((TERM_SPEC_ID = ?) AND (VER_NBR = ?)) bind => [6 parameters bound] Query: UpdateObjectQuery(org.kuali.rice.krms.impl.repository.TermSpecificationBo@632037f9)
at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl$1.handleException(EntityManagerSetupImpl.java:696)
at org.eclipse.persistence.transaction.AbstractSynchronizationListener.handleException(AbstractSynchronizationListener.java:275)
at org.eclipse.persistence.transaction.AbstractSynchronizationListener.beforeCompletion(AbstractSynchronizationListener.java:170)
at org.objectweb.jotm.SubCoordinator.doBeforeCompletion(SubCoordinator.java:1463)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.