You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we try to migrate from code-coverage to open-clover some tests start to fail.
The exception occurs when this code is executed:
I sent an email to support@ and @marek Parfianowicz answered me:
The $CLV_safeEval_grails_utils_Holder() is a helper method generated by OpenClover and added to the class. It is a wrapper for safe-eval operator- '?.'
According to the exception stack trace, the safeEval method takes two arguments:
(grails.utils.Holder, java.lang.Integer)
and the arguments passed to this method are:
(java.lang.Class, java.lang.Integer)
I suspect this is due to the fact that your declaration:
Holders?.config?.locale
refers to the Holders class (type java.lang.Class) and not a Holders instance (type grails.utils.Holders).
I followed the workaround suggested by Marek and it worked perfect: public static ConfigObject config = Holders.getConfig()
The text was updated successfully, but these errors were encountered:
Hi!
When we try to migrate from code-coverage to open-clover some tests start to fail.
![image](https://user-images.githubusercontent.com/11442782/73098694-a91f3f00-3ec8-11ea-81e4-b17355b21f32.png)
The exception occurs when this code is executed:
![image](https://user-images.githubusercontent.com/11442782/73098742-c5bb7700-3ec8-11ea-835d-6764a3d87394.png)
I sent an email to support@ and @marek Parfianowicz answered me:
I followed the workaround suggested by Marek and it worked perfect:
public static ConfigObject config = Holders.getConfig()
The text was updated successfully, but these errors were encountered: