ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepak Nigam (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-10993) error while loading seeddata
Date Mon, 29 Apr 2019 07:08:00 GMT

    [ 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,
(?, ?, ?, ?, ?, ?) (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

View raw message