Running maven scanner throwning Unhandled exception

  • ALM used (Maven command from local Machine, but have Bitbucket Cloud subscription)
  • CI system used (Team City)
  • Scanner command used when applicable (mvn verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=XXX)
  • Languages of the repository: Java
  • Error observed
Quality profile for css: Sonar way
[INFO] Quality profile for java: Sonar way
[INFO] Quality profile for js: Sonar way
[INFO] Quality profile for jsp: Sonar way
[INFO] Quality profile for web: Sonar way
[INFO] Quality profile for xml: Sonar way
[INFO] ------------- Run sensors on module XXX
[INFO] Load metrics repository
[INFO] Load metrics repository (done) | time=101ms
[INFO] Sensor cache enabled
[INFO] Load sensor cache
[INFO] Load sensor cache (404) | time=247ms
Unhandled exception
Type=Segmentation error vmState=0x000503ff
Windows_ExceptionCode=c0000005 J9Generic_Signal=00000004 ExceptionAddress=0000000075871832 ContextFlags=0010005f
Handler1=00000000757E7E40 Handler2=00007FFAC39FEF10 InaccessibleReadAddress=0000000000000000
RDI=0000000000000001 RSI=00007FF447DD1DA0 RAX=000000DF284F61E0 RBX=0000000000000000
RCX=0000000000000002 RDX=000000DF284F61B0 R8=0000000000000002 R9=00007FF447DD2890
R10=0000000000000000 R11=000000DF284F4B80 R12=0000000000000002 R13=00007FF447DD2890
R14=0000000000000000 R15=00000000760A8A50
RIP=0000000075871832 RSP=000000DF284F3BA0 RBP=0000000000000001 GS=002B
FS=0053 ES=002B DS=002B
XMM0 0000000000000000 (f: 0.000000, d: 0.000000e+00)
XMM1 0000000000000000 (f: 0.000000, d: 0.000000e+00)
XMM2 2f6d62692f6d6f63 (f: 795701120.000000, d: 3.097763e-80)
XMM3 2929292929292929 (f: 690563392.000000, d: 2.092453e-110)
XMM4 0000000000000000 (f: 0.000000, d: 0.000000e+00)
XMM5 0000000000000000 (f: 0.000000, d: 0.000000e+00)
XMM6 0000000000000000 (f: 0.000000, d: 0.000000e+00)
XMM7 0000000000000000 (f: 0.000000, d: 0.000000e+00)
XMM8 0000000000000000 (f: 0.000000, d: 0.000000e+00)
XMM9 0000000000000000 (f: 0.000000, d: 0.000000e+00)
XMM10 0000000000000000 (f: 0.000000, d: 0.000000e+00)
XMM11 0000000000000000 (f: 0.000000, d: 0.000000e+00)
XMM12 0000000000000000 (f: 0.000000, d: 0.000000e+00)
XMM13 0000000000000000 (f: 0.000000, d: 0.000000e+00)
XMM14 0000000000000000 (f: 0.000000, d: 0.000000e+00)
XMM15 0000000000000000 (f: 0.000000, d: 0.000000e+00)
Module=C:\Program Files (x86)\Java\jdk_11.0.3_7\bin\compressedrefs\j9jit29.dll
Module_base_address=0000000075760000 Offset_in_DLL=0000000000111832

Method_being_compiled=org/sonar/java/SonarComponents$$Lambda$390/00000000C0781C10.apply(Ljava/lang/Object;)Ljava/lang/Object;
Target=2_90_20190417_198 (Windows 10 10.0 build 10240)

Any hint what the root cause is?.

Hey there.

Java 11.0.3_7 is pretty old at this point – with the latest version being 11.0.18. Can you try a newer version of Java and see if the issue persists?

Hi
Changing to 11.0.18 solve the issue.
Thanks.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.