Receiving the below error when trying to run Gatling Simulation via maven:
06:39:04.928 [main][ERROR][ZincCompiler.scala:142] i.g.c.ZincCompiler$ - ## Exception when compiling 4 sources to C:\Users\devadmin\IdeaProjects\Gatling2\target\test-classes
06:39:04.942 [main][ERROR][ZincCompiler.scala:268] i.g.c.ZincCompiler$ - Compilation crashed
scala.reflect.internal.FatalError:
bad constant pool index: 0 at pos: 48445
while compiling:
during phase: globalPhase=, enteringPhase=
library version: version 2.13.6
compiler version: version 2.13.6
I have not faced compilation errors previously. Does anyone what could be the probable reason? Any help would be much appreciated.
This simulation is working fine via Intellij. But failing while using mvn comman via command prompt. So can anyone tell me what could be the possible rootcause?
The same POM file without the scala plugin worked perfectly in my local. Hence I am puzzled as to why it’s not working in the VM. However I will give it a try
I have tried my best not to be rude here, but this is the limit. All the projects worked perfectly well with maven in my system with the previous versions, and I have gone on to add some case blocks in scala for scenario selection and Injection profile selection. Clearly this is not about the lack of skill or knowledge of scala. I am trying to set up gatling project in a new server and have been facing issues ever since with maven execution due to scala files compilation errors. It workes from IDE though.
Also for the record , I tried the POM file with the latest version. Facing a different set of errors. I will figure this out with the help from my colleagues, but might I add here that gatling has a very bad community support! I regret posting my question here
I have tried my best not to be rude here, but this is the limit.
That’s sad that things are turning up this way, but this is exactly what I feel on my side too.
Community support is something that is built together. Users requesting help must do their best to provide valuable information and make the best use of the time and effort they are given for free.