java.lang.NullPointerException

null

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

  • via GitHub by mhankus
    ,
  • Stack trace

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

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.