I'm 100% sure I didn't add layout files to this non-ui project.
I got the error again today, I went to check the src path. So:
And this folder is just empty. It looks like B4J just wipes the folder and didn't wrote the new source, thus erroring on the lay-out folder (it just doesn't exist)
I tried building the project, so in release mode, and the error slightly changes:
So this times the main.java file isn't found. Obviously because the folder \example just doesn't exist.
The previous step in the proces (Building folders structure) just silently fails. I still consider this a bug. As something in the build process clearly goes wrong. At this moment, I see no clear indication of when/why this happens.
After restarting and rerunning the project multiple times, the source get's effectivily written and the error dissapears.