Repository navigation
Replies: 5 comments 1 reply
|
Android build fails consistently inside Executor.delTree (Executor.java:3749), called from AndroidGradleBuilder.build:5986. Reproduces with both build.cn1Version=master and 7.0.279, targeting SDK 36 inside cn1-build-base:latest. Please identify the directory passed at line 5986 and log its absolute path and the reason listing it fails. The current NPE hides that information. |
|
Android cloud build fails with CN1 7.0.279; succeeds with 7.0.280 After the recent server update, our Android build targeting SDK 36 fails when using build.cn1Version=7.0.279. Using 7.0.280, with the correct Firebase configuration, builds successfully. Failure occurs before Gradle runs: java.lang.NullPointerException: Please inspect the directory passed to delTree at line 5986. The equivalent public implementation iterates over File.list() without checking for null. Logging the absolute path, existence, permissions and listing failure would expose the underlying cause. Could this be a compatibility regression between the updated builder/container and the 7.0.279 artifacts? |
|
Thanks for the headsup. We pushed a fix. |
|
this a hot fix or I need to wait to next friday to continue using veresion 7.0.279? |

Uh oh!
There was an error while loading. Please reload this page.
check this
Effective build tools version = 33
Target SDK 36 detected. Building inside container localhost/cn1-build-base:latest
Using bootstrap Android target android-14 for project creation.
Creating Android Studio project from bundled template
Precise location is not button-only because of class com/codename1/maps/Coord
Play Services Location Enabled
Native themes not used by this build, not shipped: [androidTheme, AndroidMaterialTheme] (set android.nativeThemes.keepAll=true to keep every native theme)
surfaces.json declares no widget kinds; only live activities are available
Exception: java.lang.NullPointerException: Cannot read the array length because "" is null
com.codename1.build.daemon.Executor.delTree(Executor.java:3749)
com.codename1.build.daemon.Executor.delTree(Executor.java:3743)
com.codename1.build.daemon.AndroidGradleBuilder.build(AndroidGradleBuilder.java:5986)
com.codename1.build.daemon.AndroidBuilder.build(AndroidBuilder.java:210)
com.codename1.build.daemon.Executor$8.run(Executor.java:3965)
All reactions