{"action":"created","issue":{"url":"https://api.github.com/repos/acplt/open62541/issues/195","labels_url":"https://api.github.com/repos/acplt/open62541/issues/195/labels{/name}","comments_url":"https://api.github.com/repos/acplt/open62541/issues/195/comments","events_url":"https://api.github.com/repos/acplt/open62541/issues/195/events","html_url":"https://github.com/acplt/open62541/issues/195","id":59440207,"number":195,"title":"statusCode = 805E0000: The requested node id is already used by another node","user":{"login":"kadomcev","id":11058275,"avatar_url":"https://avatars.githubusercontent.com/u/11058275?v=3","gravatar_id":"","url":"https://api.github.com/users/kadomcev","html_url":"https://github.com/kadomcev","followers_url":"https://api.github.com/users/kadomcev/followers","following_url":"https://api.github.com/users/kadomcev/following{/other_user}","gists_url":"https://api.github.com/users/kadomcev/gists{/gist_id}","starred_url":"https://api.github.com/users/kadomcev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kadomcev/subscriptions","organizations_url":"https://api.github.com/users/kadomcev/orgs","repos_url":"https://api.github.com/users/kadomcev/repos","events_url":"https://api.github.com/users/kadomcev/events{/privacy}","received_events_url":"https://api.github.com/users/kadomcev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2015-03-02T05:26:07Z","updated_at":"2015-03-03T12:53:28Z","closed_at":null,"body":"Hi all.\r\nProblem with added node \"ADE7878.Uc\".\r\nAnother name node added ok. \"ADE7878.Ua\", \"ADE7878.Ub\", \"ADE7878.Uz\".\r\nnode with name \"ADE7878.Uc\" not added.\r\n\r\nUA_Int32 *myInteger = UA_Int32_new();\r\n*myInteger = 42;\r\nUA_NodeId ADE7878;\r\nUA_AddNodesResult res;\r\n\r\n/********************************************************************************************/\r\n/* Add Folder ADE7878 - TYPE:String */\r\nUA_ObjectNode *root = UA_ObjectNode_new();\r\nUA_QUALIFIEDNAME_STATIC(root->browseName, \"ADE7878\");\r\nUA_LOCALIZEDTEXT_STATIC(root->displayName, \"ADE7878\");\r\nUA_LOCALIZEDTEXT_STATIC(root->description, \"ADE7878\");\r\n\r\nroot->nodeClass = UA_NODECLASS_OBJECT;\r\nroot->nodeId.namespaceIndex = 0;\r\nroot->nodeId.identifierType = UA_NODEIDTYPE_STRING;\r\nroot->eventNotifier = UA_FALSE;\r\nUA_String_copycstring(\"ADE7878\", &root->nodeId.identifier.string);\r\nres = UA_Server_addNode(server, (UA_Node*)root,\r\n\t\t\t\t\t\t\t&UA_EXPANDEDNODEID_STATIC(0, UA_NS0ID_OBJECTSFOLDER),\r\n\t\t\t\t\t\t\t&UA_NODEID_STATIC(0, UA_NS0ID_ORGANIZES));\r\nADE7878 = res.addedNodeId;\r\nprintf(\"statusCode = %08X\\n\",res.statusCode);\r\nADDREFERENCE(ADE7878, UA_NODEID_STATIC(0, UA_NS0ID_HASTYPEDEFINITION),\r\n\t\t\t\t UA_EXPANDEDNODEID_STATIC(0, UA_NS0ID_FOLDERTYPE));\r\n\r\nUA_ExpandedNodeId parentNode;\r\nparentNode.nodeId = ADE7878;\r\nUA_VariableNode *rootNode;\r\n\r\n/********************************************************************************************/\r\n/* Add node 'Uc' in folder ADE7878 - TYPE:String */\r\nrootNode = UA_VariableNode_new();\r\nUA_QUALIFIEDNAME_STATIC(rootNode->browseName, \"Uc\");\r\nUA_LOCALIZEDTEXT_STATIC(rootNode->displayName, \"Uc\");\r\nUA_LOCALIZEDTEXT_STATIC(rootNode->description, \"Uc\");\r\nUA_String_copycstring(\"ADE7878.Uc\", &rootNode->nodeId.identifier.string);\r\nUA_Variant_setValue(&rootNode->value, myInteger, UA_TYPES_INT32);\r\n\r\nrootNode->nodeClass = UA_NODECLASS_VARIABLE;\r\nrootNode->nodeId.namespaceIndex = 0;\r\nrootNode->nodeId.identifierType = UA_NODEIDTYPE_STRING;\r\nrootNode->value.storageType = UA_VARIANT_DATASOURCE;\r\nrootNode->value.storage.data.arrayLength = 1;\r\nrootNode->value.storage.datasource = (UA_VariantDataSource)\r\n{.handle = UA_NULL,\r\n .read = readTimeData,\r\n .release = releaseTimeData,\r\n .write = writeTimeData};\r\nres = UA_Server_addNode(server, (UA_Node*)rootNode,\r\n\t\t\t\t\t\t\t&parentNode,\r\n\t\t\t\t\t\t\t&UA_NODEID_STATIC(0, UA_NS0ID_HASCOMPONENT));\r\nprintf(\"statusCode = %08X\\n\",res.statusCode);\r\n![1](https://cloud.githubusercontent.com/assets/11058275/6435788/7c1db69c-c0c6-11e4-862c-2225556fadce.PNG)\r\n![2](https://cloud.githubusercontent.com/assets/11058275/6435793/84f473be-c0c6-11e4-8889-0a5464cc4635.PNG)\r\n"},"comment":{"url":"https://api.github.com/repos/acplt/open62541/issues/comments/76939833","html_url":"https://github.com/acplt/open62541/issues/195#issuecomment-76939833","issue_url":"https://api.github.com/repos/acplt/open62541/issues/195","id":76939833,"user":{"login":"Stasik0","id":469170,"avatar_url":"https://avatars.githubusercontent.com/u/469170?v=3","gravatar_id":"","url":"https://api.github.com/users/Stasik0","html_url":"https://github.com/Stasik0","followers_url":"https://api.github.com/users/Stasik0/followers","following_url":"https://api.github.com/users/Stasik0/following{/other_user}","gists_url":"https://api.github.com/users/Stasik0/gists{/gist_id}","starred_url":"https://api.github.com/users/Stasik0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stasik0/subscriptions","organizations_url":"https://api.github.com/users/Stasik0/orgs","repos_url":"https://api.github.com/users/Stasik0/repos","events_url":"https://api.github.com/users/Stasik0/events{/privacy}","received_events_url":"https://api.github.com/users/Stasik0/received_events","type":"User","site_admin":false},"created_at":"2015-03-03T12:53:28Z","updated_at":"2015-03-03T12:53:28Z","body":"Cb being null like readCallback=UA_NULL\n\n> Am 03.03.2015 um 12:20 schrieb Julius Pfrommer <notifications@github.com>:\n> \n> We are talking about the arguments being null or the callback-function being null?\n> \n> —\n> Reply to this email directly or view it on GitHub.\n> \n"}}