[jira] [Commented] (OFBIZ-10993) error while loading seeddata

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-10993) error while loading seeddata

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-10993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16828968#comment-16828968 ]

Deepak Nigam commented on OFBIZ-10993:
--------------------------------------

Hi [~Arshithakmanaf], it seems the entities and data you are referring, are your customized things. You will have to provide entity definitions and the data you are trying to load.
At first glance, it looks like you are not entering the value in the column 'HELLO_PERSON_ID'.

> error while loading seeddata
> ----------------------------
>
>                 Key: OFBIZ-10993
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10993
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework/webtools
>            Reporter: Arshitha k m
>            Priority: Major
>
> hi, 
> I am new to OFBiz .completed hello1and hello2 .currentlyfacing an issue to import the seed data .iam getting an error as shown below, 
> The Following Errors Occurred:
> ERROR: parsing file: ERROR parsing Entity Xml file: org.xml.sax.SAXException: A transaction error occurred reading data<br/>org.ofbiz.entity.GenericEntityException: org.ofbiz.entity.GenericEntityException: org.ofbiz.entity.GenericEntityException: Error while inserting: [GenericEntity:HelloHobby][createdStamp,2019-04-29 12:08:55.606(java.sql.Timestamp)][createdTxStamp,2019-04-29 12:08:55.154(java.sql.Timestamp)][description,Reading(java.lang.String)][helloHobbyId,READING(java.lang.String)][lastUpdatedStamp,2019-04-29 12:08:55.606(java.sql.Timestamp)][lastUpdatedTxStamp,2019-04-29 12:08:55.154(java.sql.Timestamp)] (SQL Exception while executing the following:INSERT INTO OFBIZ.HELLO_HOBBY (HELLO_HOBBY_ID, DESCRIPTION, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?) (Column 'HELLO_PERSON_ID' cannot accept a NULL value.)) 
> tried to load seed data to the HelloPerson ,and that was successfull,
> can you please help me to fix the trouble.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)