[jboss-user] [JBoss jBPM] - Re: How logging me in as a user in JBPM (swimlane)

antitrust1982 do-not-reply at jboss.com
Tue Sep 12 09:29:50 EDT 2006


hello,

when I wrote this :
 
  |       	  System.out.println("test pour voir tasks");
  |       	 Collection tasks= (Collection) swimlane.getTasks();
  |       	Iterator ittasks= tasks.iterator();   
  |       	while(ittasks.hasNext()){
  |       		TaskInstance task=(TaskInstance)ittasks.next();
  |       		System.out.println("tache de ernie: "+task.getName());
  |       	}

I have a nullpointeur error (particularly on swimlane.getTasks())

have you some ideas why?
have i forgotten anything ??

thanks

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971005#3971005

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971005



More information about the jboss-user mailing list