You are not logged in.
I try to import data in TMDM usin TOS:
taccessInput------->TwriteXMLField--------->tMDMIput , but i have this message when running job:
Unable to get the key values in rootTag:Java .lang.nullPointException.
Can Someone please halp me?
Last edited by romyos (2010-02-16 08:17:59)
is there any idea please!
Can Some one help me !!!
tMDMInput or tMDMOutput? Please check it and upload a screeshot of xml tree.
i use TMDMOutput component.
and this is my xml tree
Arbre Xml Colone Associée Status du noeud Valeur par default
id id Element de boucle
And this is the error mesage ="Unable to get the key value for the item rootTag:Java .lang.nullPointerException:Null".
Sorry i can't find how to upload my screens
The root node is the entity name, is there a entity called rootTag? I think you have read the topic about how to use tMDMInput and tMDMOutput.
Could you please tell me how you fixed it?
I have got the same problem and I cannot fix it.
Thanks in advance!
I tried to use tmdmoutput component in order to import data in Talend Mdm.
I ve got this error :
Unable to get the key value for the item decharge
Table decharge( Tmysqlinput) ----> tWritexmlField ----> tmdmoutput
my xml tree : decharge :
Could you please help me !!
Thanks in advance
Could you please upload screen captures of the tMDMOutput component configuration, both for the "Basic" and "Advanced" settings ?
Which version of TOS are you using ?
Sorry , but i don t know how to upload screen shots , i tried using [img][/img] but i ve got no result. is there an other way to do it ?
When you post a reply, use the "Image Upload" feature :
I populated a sample data model "decharge" without the use of a "tWriteXMLField" transformation.
Decharge data model mapping example:
tRowGenerator_1 ----> tMDMOutput_1
tRowGenerator_1 (RowGenerator Editor):
Column Key Type
id X String
tMDMOutput_1 (Edit Schema):
tRowGenerator_1 (Input - Main) tMDMOutput_1 (Output)
Column Key Type Column Key Type
id X String id X String
valeur String valeur String
Configure Xml Tree:
Linker Source Linker Target
Schema List XML Tree Related Column Node Status
valeur id id loop element
Make sure to rename the "rootTag" to the name of your data model. In this example I renamed the "rootTag" to "decharge".
i try an other time!!
i tried your proposition, but i ve got the same error!
Can you please post the folowing two (2) screenshot from "tMDMOutput_1" :
1. Basic settings -> Edit schema ...
2. Advanced settings -> Configure Xml tree ...
i didn't specify that the entity "decharge" doesn't exist in talend mdm.
i tried ,using tos job, to create the entity and to populate it.
is is possible, i have doubts!!!
because i tried a lot of time without result!!
i tried two versions of TOS : TOS 3.2 (the 4 four screen shots i sent)
and TOS 4.0 ( using fonsw method)
I really need your help!!
Thanks in advance,
Your data model should have an entity named "decharge". That's the reason for the "Unable to get the key value for the item decharge:" error message.
The sample data model should look like this:
Last edited by fonsw (2010-03-30 17:29:01)
In my situation , i have a database containing 20 tables, each table have 30 columns, so i can't create entities one by one.
That's why , i used a tos job .
You said that i should create the entity, ok!
but is there an other way to create automatically entities in Talend MDM ,using Tosjob and tmdmoutput component???
I mean that you should create an entity "decharge" in the data model created within Talend MDM Studio. To load data into the data model you should create a TOS job.
Watch my previous post for a data model screenshot.