cancel
Showing results for 
Search instead for 
Did you mean: 

SAP CAP: Build of /bookshop/db failed

RB777
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Colleagues,

I am following the series MISSION: Build Your First Full-Stack App on SAP Cloud Platform. In between at the tutorial https://developers.sap.com/tutorials/cp-apm-03-add-database.html - Add a Database to your Business Application, at Step 1, when I build the db module, I get the below error and the build fails:

7:42:10 PM (Executor) Build command failed : Build failed: Failed during post build event: Failed to create JSON from build log: json: cannot unmarshal string into Go struct field BuilderLog.level of type int
7:42:10 PM (Executor) The "task for hdb build" process finished with code 1
7:42:10 PM (Executor) Build of /bookshop/db failed.

As suggested in tutorial, i have changed the plugin_version property in db/src/.hdiconfig file from 2.0.40.0 to 2.0.2.0. Still there the build fails.

Attaching the complete Log details.log-db-build-failed.txt

Attaching the screenshot of my Workspace including the .hdiconfig fileplugin version change.workspacetree.png

Can someone provide help?

Thanks in advance,

Mary Jose

gregorw
Active Contributor

I was able to replicate the issue based on the project I've shared at bookshop-java. I would think that must be caused by last weeks SAP CP upgrade. I've reported an issue here.

Accepted Solutions (0)

Answers (3)

Answers (3)

I am facing same issue any suggestions

former_member202510
Discoverer

Hi Mary,

Thanks for reporting this.

This is a known issue and we are working to solve this.

This error occurs because the builder fails to parse the error message in the build.

If the project is without errors it will run 🙂

former_member654653
Discoverer
0 Kudos

Hi avishai.klaiman, any news on this front? I'm having the same issue..

mary.jose have you perhaps found any success with this problem?