JAVA API Client : Null output when using findProcessArea(uri,nulll,null)
IProjectArea projectArea= (IProjectArea) processClient.findProcessArea(uri, null, null);
I am getting error Project are not found. Value of Project Area Is NULL. Please let me know why this error ? |
Accepted answer
Hello Ralph Schoon,
I was giving the uri as https://xxxxx:9443/jts rather /ccm I got it now .. Thanks .. Thanks Again Ralph Schoon selected this answer as the correct answer
|
One other answer
Ralph Schoon (63.7k●3●36●48)
| answered Mar 14 '16, 9:08 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Because it could not find a process area given the URI you specified in which case it returns null as specified in the interface:
Comments Hello Ralph Schoon,
Ralph Schoon
commented Mar 14 '16, 11:05 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
This is all not useful information, because what really would matter is the String that is passed to create the URI and the URI as string to check if there might be any funny pre or postfix values.
Ralph Schoon
commented Mar 14 '16, 11:12 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
And i believe you created the project areas and the like, but I also believe that you pass the wrong information to the code above, which results in a not found, because what you search for is not there and what is there you don't search for.
Girish Chandra P
commented Mar 14 '16, 11:14 a.m.
Hello Ralph Schoon,
Ralph Schoon
commented Mar 14 '16, 11:32 a.m.
| edited Mar 14 '16, 11:38 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Yes, the project areas are managed by the application and not JTS.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.