Skip to Content

Error starting HCP local runtime with instrumented code

Hi,

we are currently using

<groupId>com.sap.cloud</groupId>

<artifactId>neo-java-web-api</artifactId>

<version>1.111.13.1</version>

together with the jacoco maven plugin 0.7.2.201409121644 to instrument our code before starting the VM.

Everything works as expected until I am switching to a newer version of jacoco.

Where can I find supported Jacoco versions for the SDK?

I tried Jacoco 0.7.4.201502262128 and Jacoco 0.7.8

Both return:

2017-01-04 14:04:00,725 INFO  [main] com.sap.jpaas.infrastructure.console.ConsoleLogger: Arguments:   --wait-url http://localhost:9081/project --shutdown-port 9004 --location /var/lib/jenkins/jobs/sonar-report/workspace/ProjectTest/target/server
2017-01-04 14:04:03,173 INFO  [main] com.sap.jpaas.infrastructure.console.ConsoleLogger: Starting execution of command [start-local]
2017-01-04 14:04:03,179 INFO  [main] com.sap.jpaas.infrastructure.console.ConsoleLogger: Command [start-local] init() finished for [6] ms
2017-01-04 14:04:03,781 INFO  [main] com.sap.jpaas.infrastructure.console.ConsoleLogger: Command [start-local] cleanup() finished for [0] ms
2017-01-04 14:04:03,783 FATAL [main] com.sap.jpaas.infrastructure.console.ConsoleLogger: (!) ERROR: Process exits with code 1
com.sap.jpaas.infrastructure.console.exception.CommandException: Process exits with code 1
	at com.sap.core.sdk.cmd.LocalServerStartCommand.run(LocalServerStartCommand.java:76)
	at com.sap.jpaas.infrastructure.console.CommandManager.run(CommandManager.java:183)
	at com.sap.jpaas.infrastructure.console.CommandManager.run(CommandManager.java:144)
	at com.sap.jpaas.infrastructure.console.ConsoleClient.executeCommand(ConsoleClient.java:239)
	at com.sap.jpaas.infrastructure.console.ConsoleClient.run(ConsoleClient.java:185)
	at com.sap.jpaas.infrastructure.console.ConsoleClient.main(ConsoleClient.java:82)
Caused by: com.sap.jpaas.infrastructure.console.exception.CommandException: Process exits with code 1
	at com.sap.core.sdk.cmd.LocalServerStartCommand.startLocalServer(LocalServerStartCommand.java:146)
	at com.sap.core.sdk.cmd.LocalServerStartCommand.run(LocalServerStartCommand.java:71)
	... 5 more

Thanks!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jan 04, 2017 at 06:41 PM

    Btw:

    Problem is, jacoco 0.7.2 generates an incompatible coverage report binary which is no longer supported by any of the related tools (jenkins jacoco plugin, maven jacoco plugin, eclipse coverage plugins... )

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 04, 2017 at 10:08 PM

    After some testing I can confirm that:

    - instrumented code from jacoco will only work until jacoco 0.7.3.201502191951

    - using the latest release of the neo-java-web-sdk-1.118.11.zip does not fix that

    Add comment
    10|10000 characters needed characters exceeded