Some big projets have a compilation problem with sdk 8.1 but it's good with 7.4.3.
Executing task: monkeyc: Building For Device
java -Xms1g -Dfile.encoding=UTF-8 -Dapple.awt.UIElement=true -jar c:\Users\Parents\AppData\Roaming\Garmin\ConnectIQ\Sdks\connectiq-sdk-win-8.1.0-2025-03-04-7ae1ed1cb\bin\monkeybrains.jar -o bin\APP4PARAGLIDNEW.prg -f c:\Users\Parents\workspace\APP4PARAGLIDNEW\monkey.jungle -y C:\Users\Parents\workspace\developer_key\developer_key -d fenix7x_sim -w -l 0 -O 3 --debug-log-level 3 --debug-log-output c:\Users\Parents\workspace\APP4PARAGLIDNEW\bin\log.zip --warn --build-stats 0 --typecheck 3 --optimization 3p
ERROR: null
* The terminal process terminated with exit code: 100.
* Terminal will be reused by tasks, press any key to close it.
When I include some trace in compilation I have this in file Error.txt
Exceptions: 1
null
java.lang.NullPointerException
at com.garmin.monkeybrains.compiler2.ir.namespace.Namespace$ExcludedContext.update(Namespace.java:154)
at com.garmin.monkeybrains.compiler2.ir.namespace.Namespace.addExcluded(Namespace.java:1054)
at com.garmin.monkeybrains.compiler2.ir.visitors.ModuleVisitor.visitClassStatements(ModuleVisitor.java:1400)
at com.garmin.monkeybrains.compiler2.ir.visitors.ModuleVisitor.visitClassDefinition(ModuleVisitor.java:1569)
at com.garmin.monkeybrains.compiler2.ir.visitors.ModuleVisitor.visitModuleStatement(ModuleVisitor.java:1715)
at com.garmin.monkeybrains.compiler2.ir.visitors.ModuleVisitor.visitModuleStatements(ModuleVisitor.java:969)
at com.garmin.monkeybrains.compiler2.ir.visitors.ModuleVisitor.visitTopLevel(ModuleVisitor.java:1456)
at com.garmin.monkeybrains.compiler2.SemanticAnalyzer.runSemanticAnalysis(SemanticAnalyzer.java:366)
at com.garmin.monkeybrains.compiler2.project.ProjectBuilder.runSemanticAnalysis(ProjectBuilder.java:713)
at com.garmin.monkeybrains.compiler2.project.ProjectBuilder.runSemanticAnalysis(ProjectBuilder.java:613)
at com.garmin.monkeybrains.compiler2.Compiler2.build(Compiler2.java:1780)
at com.garmin.monkeybrains.compiler2.Compiler2.buildProject(Compiler2.java:979)
at com.garmin.monkeybrains.Monkeybrains.runCompiler2(Monkeybrains.java:1669)
at com.garmin.monkeybrains.Monkeybrains.compileApplication(Monkeybrains.java:1639)
at com.garmin.monkeybrains.Monkeybrains.run(Monkeybrains.java:2305)
at com.garmin.monkeybrains.Monkeybrains.simpleMain(Monkeybrains.java:295)
at com.garmin.monkeybrains.Monkeybrains.main(Monkeybrains.java:345)
Compiler Warnings: 17
WARNING: fenix7x: String ID 'WPLATS' undefined for language 'deu'.
WARNING: fenix7x: String ID 'fitUnitsLabel' undefined for language 'deu'.
WARNING: fenix7x: String ID 'fitDataLabel' undefined for language 'deu'.
WARNING: fenix7x: String ID 'OFFSETPlus' undefined for language 'deu'.
WARNING: fenix7x: String ID 'OFFSETMoins' undefined for language 'deu'.
WARNING: fenix7x: String ID 'VERSION' undefined for language 'deu'.
WARNING: fenix7x: String ID 'fitTitleLow' undefined for language 'deu'.
WARNING: fenix7x: String ID 'WPICAO' undefined for language 'deu'.
WARNING: fenix7x: String ID 'WPLONS' undefined for language 'deu'.
WARNING: fenix7x: String ID 'MsgFV0' undefined for language 'fre'.
WARNING: fenix7x: C:\Users\Parents\workspace\APP4PARAGLIDNEW\source\GenView.mc:3310,3: Local variable 'tStop' is not used.
WARNING: fenix7x: C:\Users\Parents\workspace\APP4PARAGLIDNEW\source\GenView.mc:5278,7: Local variable 'YStart' is not used.
WARNING: fenix7x: C:\Users\Parents\workspace\APP4PARAGLIDNEW\source\GenView.mc:5406,2: Local variable 'ampm' is not used.
WARNING: fenix7x: C:\Users\Parents\workspace\APP4PARAGLIDNEW\source\GenView.mc:5406,2: Local variable 'ampm2' is not used.
WARNING: fenix7x: c:\Users\Parents\workspace\APP4PARAGLIDNEW\monkey.jungle:91: Resource path 'C:\Users\Parents\workspace\APP4PARAGLIDNEW\resources-round-280x280\images\Paraglid\fonts.xml' already exists in the resource path. These resources will be overriden with higher precedence.
WARNING: fenix7x: c:\Users\Parents\workspace\APP4PARAGLIDNEW\monkey.jungle:91: Resource path 'C:\Users\Parents\workspace\APP4PARAGLIDNEW\resources-Applicatives\Paraglid\propertiesParaglid.xml' already exists in the resource path. These resources will be overriden with higher precedence.
WARNING: fenix7x: c:\Users\Parents\workspace\APP4PARAGLIDNEW\monkey.jungle:91: Resource path 'C:\Users\Parents\workspace\APP4PARAGLIDNEW\resources-Applicatives\Paraglid\stringApp4Trail.xml' already exists in the resource path. These resources will be overriden with higher precedence.
It's good for old device like Fenix 3 HR with perhaps less code , variables and perhaps exclusions.
Without any change, when I select SDK 743 all is good