Java build failed because a required Git submodule was missing
Error recorded 57 times in PanelAlpha Engine deploys on Java. The deploy log below is the recorded failure output.
TypeErrorAn error that occurred in the deployed application. It is not necessarily a PanelAlpha Engine error, but we keep working on improvements so you run into fewer of them.
Seen57 times · 2 variants
WhereJava
StatusObservedOur team will look into this soon, verify the cause and try to fix it in an upcoming release.
Why it happens
The repository’s server-ee submodule could not be cloned because Git had no credentials for code.onedev.io. Maven then ran with that directory missing and failed while processing the parent POM. A separate /root permission warning appeared during the build, but the missing module is the direct Maven error.
What the log looks like
Deploy log
Cloning into '/home/<account>/project/server-ee'...fatal: could not read Username for 'https://code.onedev.io': No such device or addressFailed to clone 'server-ee' a second time, aborting[ERROR] Child module /app/server-ee/pom.xml of /app/pom.xml does not exist[ERROR] The build could not read 1 project