|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
[SOLVED]FMC00122E Object is empty |
« View previous topic :: View next topic » |
Author |
Message
|
chintu |
Posted: Sat Apr 23, 2005 10:01 am Post subject: [SOLVED]FMC00122E Object is empty |
|
|
 Acolyte
Joined: 27 Dec 2004 Posts: 64
|
Hello all,
I get this error when I try to issue a checkout of an item.
1) I am getting a list of workitems:
Code: |
service.queryWorkItems(filter, sort, new Integer(threshold)) |
2) I am looping thru the ItemList and storing the oid of each item in the session
Code: |
oid = workItem.persistentOidOfActivityInstance() |
3) On another page, I am getting the workitem using
Code: |
WorkItem item = service.persistentWorkItem(oid); |
I have checked that the oid does exist and is not null and has no special characters
4)FMC00122E Object is empty
when i try to issue a checkout against this item.
5)The oid from the same workItem is empty( string of length 0)
Code: |
item.persistentOidOfActivityInstance() |
Is there another way to get a workItem?
Thanks in advance.
Last edited by chintu on Sun Apr 24, 2005 9:44 am; edited 1 time in total |
|
Back to top |
|
 |
jmac |
Posted: Sat Apr 23, 2005 10:21 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Have you looked at the technotes, there is one that specifically relates to the 122. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
chintu |
Posted: Sat Apr 23, 2005 3:29 pm Post subject: |
|
|
 Acolyte
Joined: 27 Dec 2004 Posts: 64
|
John,
I am not passing the oid thru the request parameters.I am setting the oid in session. Should I still URL encode it(I guess not)? Also as I mentioned in my post, I did verify that there are no special characters(from the ascii values of the charecters) present in the OID. I am running this on tomcat 4.1. |
|
Back to top |
|
 |
jmac |
Posted: Sat Apr 23, 2005 3:47 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
I am a little confused in that you seem to be mixing the activityInstancePerstentOID with the workitem OID. Is this really what you want to do?
you cite: item.persistentOidOfActivityInstance()
Dont you mean item.persistentOid() _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
chintu |
Posted: Sun Apr 24, 2005 9:44 am Post subject: |
|
|
 Acolyte
Joined: 27 Dec 2004 Posts: 64
|
I was using the item.persistentOidOfActivityInstance() instead of item.persistentOid().
Thanks a lot!!! |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|