Is this maybe a gradle dependency issue? https://stackoverflow.com/questions/77587376/cannot-invoke-string-length-because-parameter1-is-null
-Josh From: Adriano Araujo <[email protected]> Sent: Monday, January 6, 2025 8:44 AM To: [email protected] Subject: Gradle error using FOP. ⚠ EXTERNAL MESSAGE – Think Before You Click I just updated the version of FOP to 2. 10 and it's started throwing an error. Could you guys please provide further information? Here's the log: deva00s@ deva00s-Aspire-A515-51: ~/Downloads/main$ flutter run -d PB1S244S70453 Launching lib/main. dart ZjQcmQRYFpfptBannerStart This Message Is From an Unknown or New Sender You have not previously corresponded with this sender. Senders are verified following multiple days of correspondence. This Fiserv Warning Tag will automatically be removed when responding to external parties. ZjQcmQRYFpfptBannerEnd I just updated the version of FOP to 2.10 and it's started throwing an error. Could you guys please provide further information? Here's the log: deva00s@deva00s-Aspire-A515-51:~/Downloads/main$ flutter run -d PB1S244S70453 Launching lib/main.dart on P2 A11 in debug mode... ERROR:/home/deva00s/.gradle/caches/transforms-3/cbc4cf0cb6642efe5849238aee5f020f/transformed/jetified-commons-logging-1.3.0.jar: D8: java.lang.NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is null e: file:///home/deva00s/Downloads/main/android/app/src/main/kotlin/com/example/pdv_bin/MainActivity.kt:767:65 Type mismatch: inferred type is Any but String was expected FAILURE: Build completed with 2 failures. 1: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':app:mergeExtDexDebug'. > Could not resolve all files for configuration ':app:debugRuntimeClasspath'. > Failed to transform commons-logging-1.3.0.jar (commons-logging:commons-logging:1.3.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=22, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}. > Execution failed for DexingWithClasspathTransform: /home/deva00s/.gradle/caches/transforms-3/cbc4cf0cb6642efe5849238aee5f020f/transformed/jetified-commons-logging-1.3.0.jar. > Error while dexing. * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. > Get more help at https://urldefense.com/v3/__https://help.gradle.org__;!!P9vvK-4S!hh_WgNEw5_thPQk-g2ZCoJnaWn2onxGGpNV4Ydn0X_sZgfsZ844hd-dObwSevZa6n8IaaTvIRTc3Yzlopm1FZdjtan9x0M_ERw$<https://urldefense.com/v3/__https:/help.gradle.org__;!!P9vvK-4S!hh_WgNEw5_thPQk-g2ZCoJnaWn2onxGGpNV4Ydn0X_sZgfsZ844hd-dObwSevZa6n8IaaTvIRTc3Yzlopm1FZdjtan9x0M_ERw$>.
