Advertisement
Guest User

Untitled

a guest
Oct 21st, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. def cols = row.select("td")
  2. def link = cols.get(4).select('ac|link')
  3. log.debug(link.size())
  4. for( int w = 0; w < link.size(); w++){
  5. def user = link[e].select('ri|user').attr('ri:userkey')
  6. e = e+1
  7. def q = userAccessor.getUserByKey(new UserKey(user))
  8. //subAssignee.add(q.name)
  9. log.debug(q.name)
  10. }
  11.  
  12. java.lang.NullPointerException: Cannot invoke method select() on null object
  13. at org.jsoup.nodes.Element$select.call(Unknown Source)
  14. at Script77.run(Script77.groovy:54)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement