Hi All,
I am desperate. I keep receiving the following error message:
java.lang.IllegalArgumentException: Must not add role listener with role null at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass.registerRoleListener(DynamicRFCModelClass.java:1395) at com.sap.tc.webdynpro.progmodel.context.RelationElementList.<init>(ElementList.java:1871) at com.sap.tc.webdynpro.progmodel.context.DataNode.createRelationElementList(DataNode.java:201) at com.sap.tc.webdynpro.progmodel.context.DataNode.doSetElements(DataNode.java:180) at com.sap.tc.webdynpro.progmodel.context.Node.setElements(Node.java:318) ... 127 more
I have done 2 things since then:
1. I reimported the model
2. I refactor->renamed some methods
I guess it is the following line of code that causes the exception:
wdContext.currentZ_Read_Infoobject_InputElement().modelObject().execute();
Anyway, I have no clue where the comes from.
Any anybody give me a hint??
THANKS, Johannes