JBoss List Archives
Sign In
Sign Up
Sign In
Sign Up
Manage this list
2025
January
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
List overview
Download
thread
[jboss-user] [jBPM] - Re: getProcess in ProcessInstanceImpl throws a NullPointerException
Sandra Renaud
Friday, 5 April 2013
Fri, 5 Apr '13
4:06 a.m.
Sandra Renaud [
https://community.jboss.org/people/joploya
] created the discussion "Re: getProcess in ProcessInstanceImpl throws a NullPointerException" To view the discussion, visit:
https://community.jboss.org/message/806635#806635
-------------------------------------------------------------- Thank you for your answer Marco. You are totally right ; I made a step by step debugging and I could see a call to jpm.dispose() so this may be linked to the closed transaction. But even if I debug several time I don't really understand what happens and why. What can I do to avoid the transaction to close? Bellow there are some screenshot of the debug :
https://community.jboss.org/servlet/JiveServlet/showImage/20563/debug_wpi...
https://community.jboss.org/servlet/JiveServlet/downloadImage/20563/debug...
then getProcess() is called 7 times :
https://community.jboss.org/servlet/JiveServlet/showImage/20564/debug_wpi...
https://community.jboss.org/servlet/JiveServlet/downloadImage/20564/debug...
And when it goes to the next step
https://community.jboss.org/servlet/JiveServlet/showImage/20565/debug_wpi...
https://community.jboss.org/servlet/JiveServlet/downloadImage/20565/debug...
all become null! :((
https://community.jboss.org/servlet/JiveServlet/showImage/20565/debug_wpi...
https://community.jboss.org/servlet/JiveServlet/downloadImage/20565/debug...
-------------------------------------------------------------- Reply to this message by going to Community [
https://community.jboss.org/message/806635#806635
] Start a new discussion in jBPM at Community [
https://community.jboss.org/choose-container!input.jspa?contentType=1&...
]
Attachments:
attachment.html
(text/html — 4.2 KB)
0
/
0
Reply
Back to the thread
Back to the list