ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » [SOLVED]FMC00122E Object is empty

Post new topic  Reply to topic
 [SOLVED]FMC00122E Object is empty « View previous topic :: View next topic » 
Author Message
chintu
PostPosted: Sat Apr 23, 2005 10:01 am    Post subject: [SOLVED]FMC00122E Object is empty Reply with quote

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.
Code:
item.checkout();


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
View user's profile Send private message
jmac
PostPosted: Sat Apr 23, 2005 10:21 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
chintu
PostPosted: Sat Apr 23, 2005 3:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
jmac
PostPosted: Sat Apr 23, 2005 3:47 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
chintu
PostPosted: Sun Apr 24, 2005 9:44 am    Post subject: Reply with quote

Acolyte

Joined: 27 Dec 2004
Posts: 64

I was using the item.persistentOidOfActivityInstance() instead of item.persistentOid().
Thanks a lot!!!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » [SOLVED]FMC00122E Object is empty
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.