java.lang.NullPointerException: null

GitHub | mhankus | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    null

    at org.sonar.plugins.findbugs.resource.SmapParser.<init>()
  2. org.sonar.plugins
    ByteCodeResourceLocator.extractSmapLocation
    1. org.sonar.plugins.findbugs.resource.SmapParser.<init>(SmapParser.java:98)[na:na]
    2. org.sonar.plugins.findbugs.resource.ByteCodeResourceLocator.getJspLineNumberFromSmap(ByteCodeResourceLocator.java:181)[na:na]
    3. org.sonar.plugins.findbugs.resource.ByteCodeResourceLocator.extractSmapLocation(ByteCodeResourceLocator.java:150)[na:na]
    3 frames
  3. Sonar Findbugs plugin
    FindbugsSensor.execute
    1. org.sonar.plugins.findbugs.FindbugsSensor.execute(FindbugsSensor.java:142)[na:na]
    1 frame
  4. org.sonar.scanner
    ModuleScanContainer.doAfterStart
    1. org.sonar.scanner.sensor.SensorWrapper.analyse(SensorWrapper.java:53)[sonar-scanner-engine-shaded-6.0.jar:na]
    2. org.sonar.scanner.phases.SensorsExecutor.executeSensor(SensorsExecutor.java:57)[sonar-scanner-engine-shaded-6.0.jar:na]
    3. org.sonar.scanner.phases.SensorsExecutor.execute(SensorsExecutor.java:49)[sonar-scanner-engine-shaded-6.0.jar:na]
    4. org.sonar.scanner.phases.AbstractPhaseExecutor.execute(AbstractPhaseExecutor.java:78)[sonar-scanner-engine-shaded-6.0.jar:na]
    5. org.sonar.scanner.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:184)[sonar-scanner-engine-shaded-6.0.jar:na]
    5 frames
  5. org.sonar.core
    ComponentContainer.execute
    1. org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142)[sonar-scanner-engine-shaded-6.0.jar:na]
    2. org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)[sonar-scanner-engine-shaded-6.0.jar:na]
    2 frames
  6. org.sonar.scanner
    ProjectScanContainer.doAfterStart
    1. org.sonar.scanner.scan.ProjectScanContainer.scan(ProjectScanContainer.java:241)[sonar-scanner-engine-shaded-6.0.jar:na]
    2. org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:236)[sonar-scanner-engine-shaded-6.0.jar:na]
    3. org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:234)[sonar-scanner-engine-shaded-6.0.jar:na]
    4. org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:226)[sonar-scanner-engine-shaded-6.0.jar:na]
    4 frames
  7. org.sonar.core
    ComponentContainer.execute
    1. org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142)[sonar-scanner-engine-shaded-6.0.jar:na]
    2. org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)[sonar-scanner-engine-shaded-6.0.jar:na]
    2 frames
  8. org.sonar.scanner
    TaskContainer.doAfterStart
    1. org.sonar.scanner.task.ScanTask.execute(ScanTask.java:47)[sonar-scanner-engine-shaded-6.0.jar:na]
    2. org.sonar.scanner.task.TaskContainer.doAfterStart(TaskContainer.java:86)[sonar-scanner-engine-shaded-6.0.jar:na]
    2 frames
  9. org.sonar.core
    ComponentContainer.execute
    1. org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142)[sonar-scanner-engine-shaded-6.0.jar:na]
    2. org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)[sonar-scanner-engine-shaded-6.0.jar:na]
    2 frames
  10. org.sonar.scanner
    GlobalContainer.executeTask
    1. org.sonar.scanner.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:115)[sonar-scanner-engine-shaded-6.0.jar:na]
    1 frame
  11. SonarQube
    Batch.executeTask
    1. org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:118)[sonar-scanner-engine-shaded-6.0.jar:na]
    1 frame
  12. org.sonarsource.scanner
    BatchIsolatedLauncher.execute
    1. org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:62)[sonar-scanner-api-batch5142423077678209318.jar:na]
    1 frame
  13. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_77]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_77]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_77]
    4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_77]
    4 frames
  14. org.sonarsource.scanner
    IsolatedLauncherProxy.invoke
    1. org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)[sonar-scanner-api-2.6.jar:na]
    1 frame
  15. com.sun.proxy
    $Proxy130.execute
    1. com.sun.proxy.$Proxy130.execute(Unknown Source)[na:na]
    1 frame
  16. org.sonarsource.scanner
    SonarQubeMojo.execute
    1. org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:240)[sonar-scanner-api-2.6.jar:na]
    2. org.sonarsource.scanner.api.EmbeddedScanner.runAnalysis(EmbeddedScanner.java:151)[sonar-scanner-api-2.6.jar:na]
    3. org.sonarsource.scanner.maven.bootstrap.ScannerBootstrapper.execute(ScannerBootstrapper.java:78)[sonar-maven-plugin-3.0.2.jar:na]
    4. org.sonarsource.scanner.maven.SonarQubeMojo.execute(SonarQubeMojo.java:112)[sonar-maven-plugin-3.0.2.jar:na]
    4 frames
  17. Maven Plugin
    DefaultBuildPluginManager.executeMojo
    1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)[maven-core-3.3.9.jar:3.3.9]
    1 frame
  18. Maven Core
    DefaultMaven.execute
    1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)[maven-core-3.3.9.jar:3.3.9]
    2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)[maven-core-3.3.9.jar:3.3.9]
    3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)[maven-core-3.3.9.jar:3.3.9]
    4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)[maven-core-3.3.9.jar:3.3.9]
    5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)[maven-core-3.3.9.jar:3.3.9]
    6. org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)[maven-core-3.3.9.jar:3.3.9]
    7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)[maven-core-3.3.9.jar:3.3.9]
    8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)[maven-core-3.3.9.jar:3.3.9]
    9. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)[maven-core-3.3.9.jar:3.3.9]
    10. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)[maven-core-3.3.9.jar:3.3.9]
    10 frames
  19. M3 Interceptor
    Maven32Launcher.main
    1. org.jvnet.hudson.maven3.launcher.Maven32Launcher.main(Maven32Launcher.java:132)[maven32-interceptor-1.7.jar:na]
    1 frame
  20. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_77]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_77]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_77]
    4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_77]
    4 frames
  21. Plexus
    Launcher.launch
    1. org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330)[plexus-classworlds-2.5.2.jar:na]
    2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238)[plexus-classworlds-2.5.2.jar:na]
    2 frames
  22. jenkins.maven3.agent
    Maven32Main.launch
    1. jenkins.maven3.agent.Maven32Main.launch(Maven32Main.java:186)[maven32-agent-1.7.jar:na]
    1 frame
  23. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_77]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_77]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_77]
    4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_77]
    4 frames
  24. Hudson Maven Embedder
    Maven3Builder.call
    1. hudson.maven.Maven3Builder.call(Maven3Builder.java:136)[na:na]
    2. hudson.maven.Maven3Builder.call(Maven3Builder.java:71)[na:na]
    2 frames
  25. Hudson :: Remoting Layer
    InterceptingExecutorService$1.call
    1. hudson.remoting.UserRequest.perform(UserRequest.java:153)[remoting-2.62.jar:na]
    2. hudson.remoting.UserRequest.perform(UserRequest.java:50)[remoting-2.62.jar:na]
    3. hudson.remoting.Request$2.run(Request.java:332)[remoting-2.62.jar:na]
    4. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)[remoting-2.62.jar:na]
    4 frames
  26. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_77]
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_77]
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_77]
    4. java.lang.Thread.run(Thread.java:745)[na:1.8.0_77]
    4 frames