org.gradle.internal.typeconversion.UnsupportedNotationException: Cannot convert the provided notation to a File or URI:

Hi all,

I have problem when doing coverage test, this is the stack trace:

[Gradle failure report] FAILURE: Build failed with an exception.
[17:54:52][Gradle failure report]
[17:54:52][Gradle failure report] * What went wrong:
[17:54:52][Gradle failure report] Execution failed for task ‘:app:testDevDebugUnitTestCoverage’.
[17:54:52]> Cannot convert the provided notation to a File or URI: [/data/BuildAgent/work/543a8cf96ef7ad/app/build/tmp/kotlin-classes/devDebug/com/ptbc/smartapp/mobilebanking/feature/splashscreen/presenter/SplashScreenPresenterImpl.class, /data/BuildAgent/work/543a8cf96ef7ad/app/build/tmp/kotlin-classes/devDebug/com/ptbc/smartapp/mobilebanking/feature/navigationbar/presenter/NavigationBarPresenterImpl.class, /data/BuildAgent/work/543a8cf96ef7ad/app/build/tmp/kotlin-classes/devDebug/com/ptbc/smartapp/mobilebanking/feature/onboarding/signature/presenter/SignaturePresenterImpl.class, /data/BuildAgent/work/543a8cf96ef7ad/app/build/tmp/kotlin-classes/devDebug/com/ptbc/smartapp/mobilebanking/feature/onboarding/personalinfo/presenter/PersonalInfoPresenterImpl.class, /data/BuildAgent/work/543a8cf96ef7ad/app/build/tmp/kotlin-classes/devDebug/com/ptbc/smartapp/mobilebanking/feature/onboarding/customerstatement/presenter/CustomerStatatementPresenterImpl.class, /data/BuildAgent/work/543a8cf96ef7ad/app/build/tmp/kotlin-classes/devDebug/com/ptbc/smartapp/mobilebanking/feature/onboarding/pep/presenter/PepPresenterImpl.class, /data/BuildAgent/work/543a8cf96ef7ad/app/build/tmp/kotlin-classes/devDebug/com/ptbc/smartapp/mobilebanking/feature/onboarding/correspondenceaddress/presenter/CorrespondenceAddressPresenterImpl.class, /data/BuildAgent/work/543a8cf96ef7ad/app/build/tmp/kotlin-classes/devDebug/com/ptbc/smartapp/mobilebanking/feature/onboarding/otpcashflow/presenter/OtpCashflowPresenterImpl.class, /data/BuildAgent/work/543a8cf96ef7ad/app/build/tmp/kotlin-classes/devDebug/com/ptbc/smartapp/mobilebanking/feature/onboarding/preparedocument/presenter/PrepareDocumentPresenterImpl.class, /data/BuildAgent/work/543a8cf96ef7ad/app/build/tmp/kotlin-classes/devDebug/com/ptbc/smartapp/mobilebanking/feature/onboarding/cifcreation/presenter/CifCreationPresenterImpl.class, /data/BuildAgent/work/543a8cf96ef7ad/app/build/tmp/kotlin-classes/devDebug/com/ptbc/smartapp/mobilebanking/feature/onboarding/scandocument/ktp/presenter/KTPScanPresenterImpl.class, /…ork/543a8cf96ef7ad/app/build/tmp/kotlin-classes/devDebug/com/ptbc/smartapp/mobilebanking/feature/expense/presenter/ExpensePresenterImpl.class, /data/BuildAgent/work/543a8cf96ef7ad/app/build/tmp/kotlin-classes/devDebug/com/ptbc/smartapp/mobilebanking/feature/forgotusername/presenter/ForgotUsernamePresenterImpl.class, /data/BuildAgent/work/543a8cf96ef7ad/app/build/tmp/kotlin-classes/devDebug/com/ptbc/smartapp/mobilebanking/feature/changepassword/presenter/ChangePasswordPresenterImpl.class, /data/BuildAgent/work/543a8cf96ef7ad/app/build/tmp/kotlin-classes/devDebug/com/ptbc/smartapp/mobilebanking/feature/landingpage/presenter/LandingPagePresenterImpl.class, /data/BuildAgent/work/543a8cf96ef7ad/app/build/tmp/kotlin-classes/devDebug/com/ptbc/smartapp/mobilebanking/feature/validatepassword/presenter/ValidatePasswordPresenterImpl.class, /data/BuildAgent/work/543a8cf96ef7ad/app/build/tmp/kotlin-classes/devDebug/com/ptbc/smartapp/mobilebanking/feature/signup/presenter/SignUpPresenterImpl.class, /data/BuildAgent/work/543a8cf96ef7ad/app/build/tmp/kotlin-classes/devDebug/com/ptbc/smartapp/mobilebanking/feature/cards/createpin/presenter/CreatePinPresenterImpl.class, /data/BuildAgent/work/543a8cf96ef7ad/app/build/tmp/kotlin-classes/devDebug/com/ptbc/smartapp/mobilebanking/feature/cards/cardlist/presenter/CardListPresenterImpl.class, /data/BuildAgent/work/543a8cf96ef7ad/app/build/tmp/kotlin-classes/devDebug/com/ptbc/smartapp/mobilebanking/feature/cards/confirmpin/presenter/ConfirmPinPresenterImpl.class, /data/BuildAgent/work/543a8cf96ef7ad/app/build/tmp/kotlin-classes/devDebug/com/ptbc/smartapp/mobilebanking/feature/transaction/receipt/presenter/ReceiptPresenterImpl.class, /data/BuildAgent/work/543a8cf96ef7ad/app/build/tmp/kotlin-classes/devDebug/com/ptbc/smartapp/mobilebanking/feature/transaction/history/presenter/TransactionListPresenterImpl.class, /data/BuildAgent/work/543a8cf96ef7ad/app/build/tmp/kotlin-classes/devDebug/com/ptbc/smartapp/mobilebanking/feature/transaction/data/presenter/TransactionDataPresenterImpl.class].
[17:54:52][Gradle failure report] The following types/formats are supported:
[17:54:52][Gradle failure report] - A String or CharSequence path, for example ‘src/main/java’ or ‘/usr/include’.
[17:54:52][Gradle failure report] - A String or CharSequence URI, for example ‘file:/usr/include’.
[17:54:52][Gradle failure report] - A File instance.
[17:54:52][Gradle failure report] - A Path instance.
[17:54:52][Gradle failure report] - A Directory instance.
[17:54:52][Gradle failure report] - A RegularFile instance.
[17:54:52][Gradle failure report] - A URI or URL instance.

Any advice for this??

According to the error:
> Cannot convert the provided notation to a File or URI:

There’s an issue in the Gradle build script.
Add ‘-s’ to the command line parameters when executing the task to get the stack trace, which should give you the line number where the problem is.