Calabash NPE when closed twice

Hi,

I have a case where I have a NullPointerException in XProcRuntime,
line 338 (in close().)  So it seems it has been already closed once
(since exFuncs seems to be null then, and that is the only place where
it is set to null.)

So I'd say it is an error of my program, but still, it would probably
be a good idea to prevent an NPE in case it is called twice, with "if
( exFuncs != null ) for (...)"

Regards,

-- 
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/

Received on Saturday, 19 December 2015 16:38:03 UTC