Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Japicmp SonarQube plugin: NullPointerException #285

Open
amedee opened this issue Mar 24, 2021 · 0 comments
Open

Japicmp SonarQube plugin: NullPointerException #285

amedee opened this issue Mar 24, 2021 · 0 comments

Comments

@amedee
Copy link

amedee commented Mar 24, 2021

Issue previously reported on the sonar-japicmp-plugin issue tracker but latest activity on that project is more than 3 years ago.

  • SonarQube 7.7
  • JApiCmp Plugin for SonarQube 0.1.0-RC1

This is the build log, if you need any other information, please leave a comment.

[2021-03-24T09:10:24.169Z] [INFO] 10:10:23.604 Sensor JApiCmpSensor [japicmp]
[2021-03-24T09:10:24.169Z] [DEBUG] 10:10:23.668 Computed change type: PATCH
[2021-03-24T09:10:24.169Z] [DEBUG] 10:10:23.668 Processing class: com.itextpdf.io.font.otf.lookuptype6.SubTableLookup6
[2021-03-24T09:10:24.169Z] [DEBUG] 10:10:23.670 Created new issue for rule japicmp:japicmp-source-incompatible-change with message METHOD_ABSTRACT_ADDED_IN_SUPERCLASS (com.itextpdf.io.font.otf.lookuptype6.SubTableLookup6) [source incompatible].
[2021-03-24T09:10:24.169Z] [INFO] ------------------------------------------------------------------------
[2021-03-24T09:10:24.169Z] [INFO] Reactor Summary for iText 7 7.1.15-SNAPSHOT:
[2021-03-24T09:10:24.169Z] [INFO] 
[2021-03-24T09:10:24.169Z] [INFO] iText 7 ............................................ FAILURE [03:50 min]
[2021-03-24T09:10:24.169Z] [INFO] iText 7 - pdftest .................................. SKIPPED
[2021-03-24T09:10:24.169Z] [INFO] iText 7 - io ....................................... SKIPPED
[2021-03-24T09:10:24.169Z] [INFO] iText 7 - Asian fonts .............................. SKIPPED
[2021-03-24T09:10:24.169Z] [INFO] iText 7 - kernel ................................... SKIPPED
[2021-03-24T09:10:24.169Z] [INFO] iText 7 - barcodes ................................. SKIPPED
[2021-03-24T09:10:24.169Z] [INFO] iText 7 - hyph ..................................... SKIPPED
[2021-03-24T09:10:24.169Z] [INFO] iText 7 - layout ................................... SKIPPED
[2021-03-24T09:10:24.169Z] [INFO] iText 7 - forms .................................... SKIPPED
[2021-03-24T09:10:24.169Z] [INFO] iText 7 - pdfa ..................................... SKIPPED
[2021-03-24T09:10:24.169Z] [INFO] iText 7 - sign ..................................... SKIPPED
[2021-03-24T09:10:24.169Z] [INFO] iText 7 - Styled XML Parser ........................ SKIPPED
[2021-03-24T09:10:24.169Z] [INFO] iText 7 - SVG ...................................... SKIPPED
[2021-03-24T09:10:24.169Z] [INFO] iText 7 Core ....................................... SKIPPED
[2021-03-24T09:10:24.169Z] [INFO] ------------------------------------------------------------------------
[2021-03-24T09:10:24.169Z] [INFO] BUILD FAILURE
[2021-03-24T09:10:24.169Z] [INFO] ------------------------------------------------------------------------
[2021-03-24T09:10:24.169Z] [INFO] Total time:  03:53 min
[2021-03-24T09:10:24.169Z] [INFO] Finished at: 2021-03-24T10:10:23+01:00
[2021-03-24T09:10:24.169Z] [INFO] ------------------------------------------------------------------------
[2021-03-24T09:10:24.169Z] [INFO] [jenkins-event-spy] Generated C:\Jenkins\workspace\7_Java_itextcore_bugfix_QA-11784@tmp\withMaven43091b25\maven-spy-20210324-100629-7732612944386454888580.log
[2021-03-24T09:10:24.169Z] [ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar (default-cli) on project root: null: MojoExecutionException: NullPointerException -> [Help 1]
[2021-03-24T09:10:24.169Z] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar (default-cli) on project root: null
[2021-03-24T09:10:24.169Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
[2021-03-24T09:10:24.169Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
[2021-03-24T09:10:24.169Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
[2021-03-24T09:10:24.169Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2021-03-24T09:10:24.169Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[2021-03-24T09:10:24.169Z]     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[2021-03-24T09:10:24.169Z]     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[2021-03-24T09:10:24.169Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
[2021-03-24T09:10:24.169Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[2021-03-24T09:10:24.169Z]     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[2021-03-24T09:10:24.169Z]     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
[2021-03-24T09:10:24.169Z]     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
[2021-03-24T09:10:24.169Z]     at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
[2021-03-24T09:10:24.169Z]     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2021-03-24T09:10:24.169Z]     at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2021-03-24T09:10:24.169Z]     at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2021-03-24T09:10:24.169Z]     at java.lang.reflect.Method.invoke (Method.java:498)
[2021-03-24T09:10:24.169Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
[2021-03-24T09:10:24.169Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
[2021-03-24T09:10:24.169Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
[2021-03-24T09:10:24.169Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[2021-03-24T09:10:24.169Z] Caused by: org.apache.maven.plugin.MojoExecutionException
[2021-03-24T09:10:24.169Z]     at org.sonarsource.scanner.maven.bootstrap.ScannerBootstrapper.execute (ScannerBootstrapper.java:67)
[2021-03-24T09:10:24.169Z]     at org.sonarsource.scanner.maven.SonarQubeMojo.execute (SonarQubeMojo.java:104)
[2021-03-24T09:10:24.169Z]     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
[2021-03-24T09:10:24.169Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
[2021-03-24T09:10:24.169Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
[2021-03-24T09:10:24.170Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
[2021-03-24T09:10:24.170Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2021-03-24T09:10:24.170Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[2021-03-24T09:10:24.170Z]     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[2021-03-24T09:10:24.170Z]     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[2021-03-24T09:10:24.170Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
[2021-03-24T09:10:24.170Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[2021-03-24T09:10:24.170Z]     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[2021-03-24T09:10:24.170Z]     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
[2021-03-24T09:10:24.170Z]     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
[2021-03-24T09:10:24.170Z]     at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
[2021-03-24T09:10:24.170Z]     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2021-03-24T09:10:24.170Z]     at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2021-03-24T09:10:24.170Z]     at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2021-03-24T09:10:24.170Z]     at java.lang.reflect.Method.invoke (Method.java:498)
[2021-03-24T09:10:24.170Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
[2021-03-24T09:10:24.170Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
[2021-03-24T09:10:24.170Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
[2021-03-24T09:10:24.170Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[2021-03-24T09:10:24.170Z] Caused by: java.lang.NullPointerException
[2021-03-24T09:10:24.170Z]     at japicmp.sonar.JApiCmpSensor.processCompatibilityChange (JApiCmpSensor.java:309)
[2021-03-24T09:10:24.170Z]     at japicmp.sonar.JApiCmpSensor.processClasses (JApiCmpSensor.java:130)
[2021-03-24T09:10:24.170Z]     at japicmp.sonar.JApiCmpSensor.execute (JApiCmpSensor.java:76)
[2021-03-24T09:10:24.170Z]     at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse (AbstractSensorWrapper.java:48)
[2021-03-24T09:10:24.170Z]     at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute (ModuleSensorsExecutor.java:85)
[2021-03-24T09:10:24.170Z]     at org.sonar.scanner.sensor.ModuleSensorsExecutor.lambda$execute$1 (ModuleSensorsExecutor.java:59)
[2021-03-24T09:10:24.170Z]     at org.sonar.scanner.sensor.ModuleSensorsExecutor.withModuleStrategy (ModuleSensorsExecutor.java:77)
[2021-03-24T09:10:24.170Z]     at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute (ModuleSensorsExecutor.java:59)
[2021-03-24T09:10:24.170Z]     at org.sonar.scanner.scan.ModuleScanContainer.doAfterStart (ModuleScanContainer.java:82)
[2021-03-24T09:10:24.170Z]     at org.sonar.core.platform.ComponentContainer.startComponents (ComponentContainer.java:136)
[2021-03-24T09:10:24.170Z]     at org.sonar.core.platform.ComponentContainer.execute (ComponentContainer.java:122)
[2021-03-24T09:10:24.170Z]     at org.sonar.scanner.scan.ProjectScanContainer.scan (ProjectScanContainer.java:359)
[2021-03-24T09:10:24.170Z]     at org.sonar.scanner.scan.ProjectScanContainer.scanRecursively (ProjectScanContainer.java:354)
[2021-03-24T09:10:24.170Z]     at org.sonar.scanner.scan.ProjectScanContainer.scanRecursively (ProjectScanContainer.java:351)
[2021-03-24T09:10:24.170Z]     at org.sonar.scanner.scan.ProjectScanContainer.doAfterStart (ProjectScanContainer.java:317)
[2021-03-24T09:10:24.170Z]     at org.sonar.core.platform.ComponentContainer.startComponents (ComponentContainer.java:136)
[2021-03-24T09:10:24.170Z]     at org.sonar.core.platform.ComponentContainer.execute (ComponentContainer.java:122)
[2021-03-24T09:10:24.170Z]     at org.sonar.scanner.bootstrap.GlobalContainer.doAfterStart (GlobalContainer.java:128)
[2021-03-24T09:10:24.170Z]     at org.sonar.core.platform.ComponentContainer.startComponents (ComponentContainer.java:136)
[2021-03-24T09:10:24.170Z]     at org.sonar.core.platform.ComponentContainer.execute (ComponentContainer.java:122)
[2021-03-24T09:10:24.170Z]     at org.sonar.batch.bootstrapper.Batch.doExecute (Batch.java:73)
[2021-03-24T09:10:24.170Z]     at org.sonar.batch.bootstrapper.Batch.execute (Batch.java:67)
[2021-03-24T09:10:24.170Z]     at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute (BatchIsolatedLauncher.java:46)
[2021-03-24T09:10:24.170Z]     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2021-03-24T09:10:24.170Z]     at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2021-03-24T09:10:24.170Z]     at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2021-03-24T09:10:24.170Z]     at java.lang.reflect.Method.invoke (Method.java:498)
[2021-03-24T09:10:24.170Z]     at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke (IsolatedLauncherProxy.java:60)
[2021-03-24T09:10:24.170Z]     at com.sun.proxy.$Proxy28.execute (Unknown Source)
[2021-03-24T09:10:24.170Z]     at org.sonarsource.scanner.api.EmbeddedScanner.doExecute (EmbeddedScanner.java:189)
[2021-03-24T09:10:24.170Z]     at org.sonarsource.scanner.api.EmbeddedScanner.execute (EmbeddedScanner.java:138)
[2021-03-24T09:10:24.170Z]     at org.sonarsource.scanner.maven.bootstrap.ScannerBootstrapper.execute (ScannerBootstrapper.java:65)
[2021-03-24T09:10:24.170Z]     at org.sonarsource.scanner.maven.SonarQubeMojo.execute (SonarQubeMojo.java:104)
[2021-03-24T09:10:24.170Z]     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
[2021-03-24T09:10:24.170Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
[2021-03-24T09:10:24.170Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
[2021-03-24T09:10:24.170Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
[2021-03-24T09:10:24.170Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
[2021-03-24T09:10:24.170Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
[2021-03-24T09:10:24.170Z]     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
[2021-03-24T09:10:24.170Z]     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
[2021-03-24T09:10:24.170Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
[2021-03-24T09:10:24.170Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
[2021-03-24T09:10:24.170Z]     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
[2021-03-24T09:10:24.171Z]     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
[2021-03-24T09:10:24.171Z]     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
[2021-03-24T09:10:24.171Z]     at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
[2021-03-24T09:10:24.171Z]     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
[2021-03-24T09:10:24.171Z]     at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
[2021-03-24T09:10:24.171Z]     at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[2021-03-24T09:10:24.171Z]     at java.lang.reflect.Method.invoke (Method.java:498)
[2021-03-24T09:10:24.171Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
[2021-03-24T09:10:24.171Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
[2021-03-24T09:10:24.171Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
[2021-03-24T09:10:24.171Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[2021-03-24T09:10:24.171Z] [ERROR] 
[2021-03-24T09:10:24.171Z] [ERROR] 
[2021-03-24T09:10:24.171Z] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[2021-03-24T09:10:24.171Z] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant