java.lang.NullPointerException

SpringSource Issue Tracker | Radhika Madala (c) | 7 years ago
  1. 0

    I tried of deploying a par artifact which is having two budle artifacts and a configuration file.I am getting NPE in the dump when the installation is failed. Getting the below eventlog messages and the stack trace in the dump. [2009-10-12 12:17:50.279] fs-watcher <HD0001I> Processing 'CREATED' event for file 'appA.par'. [2009-10-12 12:17:50.366] fs-watcher <DE0056I> Installing par 'appA' version '1.0.0'. [2009-10-12 12:17:50.375] fs-watcher <DE0056I> Installing bundle 'bundleA' version '1.0.0'. [2009-10-12 12:17:50.383] fs-watcher <DE0056I> Installing bundle 'bundleB' version '1.0.0'. [2009-10-12 12:17:50.391] fs-watcher <DE0056I> Installing bundle 'foo.properties' version '0.0.0'. [2009-10-12 12:17:53.122] fs-watcher <ME0003I> Dump 'serviceability/dump/200910121217428' generated [2009-10-12 12:17:53.131] fs-watcher <DE0058E> Install failed for par 'appA' version '1.0.0'. [2009-10-12 12:17:53.140] fs-watcher <DE0058E> Install failed for bundle 'bundleA' version '1.0.0'. [2009-10-12 12:17:53.148] fs-watcher <DE0058E> Install failed for bundle 'bundleB' version '1.0.0'. [2009-10-12 12:17:53.165] fs-watcher <DE0058E> Install failed for bundle 'foo.properties' version '0.0.0'. [2009-10-12 12:17:53.175] fs-watcher <HD0002E> Hot deploy failed for resource '/Users/rmadala/system-verification-tests/com.springsource.server.svt/target/test-expanded/springsource-dm-server/pickup/appA.par'. java.lang.NullPointerException at com.springsource.kernel.install.artifact.internal.ServiceScoper.findConfigFiles(ServiceScoper.java:107) at com.springsource.kernel.install.artifact.internal.ServiceScoper.findConfigFiles(ServiceScoper.java:99) at com.springsource.kernel.install.artifact.internal.ServiceScoper.scope(ServiceScoper.java:91) at com.springsource.kernel.install.artifact.internal.PlanScoper.scope(PlanScoper.java:150) at com.springsource.kernel.install.artifact.internal.AbstractPlanInstallArtifact.scope(AbstractPlanInstallArtifact.java:168) at com.springsource.kernel.install.pipeline.stage.transform.internal.ScopingTransformer.processScopedPlanInstallArtifact(ScopingTransformer.java:59) at com.springsource.kernel.install.pipeline.stage.transform.internal.ScopedPlanIdentifyingTreeVisitor.visit(ScopedPlanIdentifyingTreeVisitor.java:39) at com.springsource.kernel.install.pipeline.stage.transform.internal.ScopingTransformer.transform(ScopingTransformer.java:50) at com.springsource.kernel.install.pipeline.stage.transform.internal.TransformationStage.doProcessTree(TransformationStage.java:64) at com.springsource.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:50) at com.springsource.kernel.install.pipeline.internal.StandardPipeline.doProcessTree(StandardPipeline.java:71) at com.springsource.kernel.install.pipeline.internal.CompensatingPipeline.doProcessTree(CompensatingPipeline.java:80) at com.springsource.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:50) at com.springsource.kernel.install.pipeline.internal.StandardPipeline.doProcessTree(StandardPipeline.java:71) at com.springsource.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:50) at com.springsource.kernel.deployer.core.internal.PipelinedApplicationDeployer.performInstall(PipelinedApplicationDeployer.java:247) at com.springsource.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(PipelinedApplicationDeployer.java:167) at com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener.deploy(HotDeploymentFileSystemListener.java:192) at com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener.onChange(HotDeploymentFileSystemListener.java:89) at com.springsource.util.io.FileSystemChecker.notifyListeners(FileSystemChecker.java:182) at com.springsource.util.io.FileSystemChecker.check(FileSystemChecker.java:145) at com.springsource.kernel.deployer.hot.WatchTask.run(WatchTask.java:69) at java.lang.Thread.run(Thread.java:637)

    SpringSource Issue Tracker | 7 years ago | Radhika Madala (c)
    java.lang.NullPointerException
  2. 0

    I tried of deploying a par artifact which is having two budle artifacts and a configuration file.I am getting NPE in the dump when the installation is failed. Getting the below eventlog messages and the stack trace in the dump. [2009-10-12 12:17:50.279] fs-watcher <HD0001I> Processing 'CREATED' event for file 'appA.par'. [2009-10-12 12:17:50.366] fs-watcher <DE0056I> Installing par 'appA' version '1.0.0'. [2009-10-12 12:17:50.375] fs-watcher <DE0056I> Installing bundle 'bundleA' version '1.0.0'. [2009-10-12 12:17:50.383] fs-watcher <DE0056I> Installing bundle 'bundleB' version '1.0.0'. [2009-10-12 12:17:50.391] fs-watcher <DE0056I> Installing bundle 'foo.properties' version '0.0.0'. [2009-10-12 12:17:53.122] fs-watcher <ME0003I> Dump 'serviceability/dump/200910121217428' generated [2009-10-12 12:17:53.131] fs-watcher <DE0058E> Install failed for par 'appA' version '1.0.0'. [2009-10-12 12:17:53.140] fs-watcher <DE0058E> Install failed for bundle 'bundleA' version '1.0.0'. [2009-10-12 12:17:53.148] fs-watcher <DE0058E> Install failed for bundle 'bundleB' version '1.0.0'. [2009-10-12 12:17:53.165] fs-watcher <DE0058E> Install failed for bundle 'foo.properties' version '0.0.0'. [2009-10-12 12:17:53.175] fs-watcher <HD0002E> Hot deploy failed for resource '/Users/rmadala/system-verification-tests/com.springsource.server.svt/target/test-expanded/springsource-dm-server/pickup/appA.par'. java.lang.NullPointerException at com.springsource.kernel.install.artifact.internal.ServiceScoper.findConfigFiles(ServiceScoper.java:107) at com.springsource.kernel.install.artifact.internal.ServiceScoper.findConfigFiles(ServiceScoper.java:99) at com.springsource.kernel.install.artifact.internal.ServiceScoper.scope(ServiceScoper.java:91) at com.springsource.kernel.install.artifact.internal.PlanScoper.scope(PlanScoper.java:150) at com.springsource.kernel.install.artifact.internal.AbstractPlanInstallArtifact.scope(AbstractPlanInstallArtifact.java:168) at com.springsource.kernel.install.pipeline.stage.transform.internal.ScopingTransformer.processScopedPlanInstallArtifact(ScopingTransformer.java:59) at com.springsource.kernel.install.pipeline.stage.transform.internal.ScopedPlanIdentifyingTreeVisitor.visit(ScopedPlanIdentifyingTreeVisitor.java:39) at com.springsource.kernel.install.pipeline.stage.transform.internal.ScopingTransformer.transform(ScopingTransformer.java:50) at com.springsource.kernel.install.pipeline.stage.transform.internal.TransformationStage.doProcessTree(TransformationStage.java:64) at com.springsource.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:50) at com.springsource.kernel.install.pipeline.internal.StandardPipeline.doProcessTree(StandardPipeline.java:71) at com.springsource.kernel.install.pipeline.internal.CompensatingPipeline.doProcessTree(CompensatingPipeline.java:80) at com.springsource.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:50) at com.springsource.kernel.install.pipeline.internal.StandardPipeline.doProcessTree(StandardPipeline.java:71) at com.springsource.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:50) at com.springsource.kernel.deployer.core.internal.PipelinedApplicationDeployer.performInstall(PipelinedApplicationDeployer.java:247) at com.springsource.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(PipelinedApplicationDeployer.java:167) at com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener.deploy(HotDeploymentFileSystemListener.java:192) at com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener.onChange(HotDeploymentFileSystemListener.java:89) at com.springsource.util.io.FileSystemChecker.notifyListeners(FileSystemChecker.java:182) at com.springsource.util.io.FileSystemChecker.check(FileSystemChecker.java:145) at com.springsource.kernel.deployer.hot.WatchTask.run(WatchTask.java:69) at java.lang.Thread.run(Thread.java:637)

    SpringSource Issue Tracker | 7 years ago | Radhika Madala (c)
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.springsource.kernel.install.artifact.internal.ServiceScoper.findConfigFiles()
    2. com.springsource.kernel
      HotDeploymentFileSystemListener.onChange
      1. com.springsource.kernel.install.artifact.internal.ServiceScoper.findConfigFiles(ServiceScoper.java:107)
      2. com.springsource.kernel.install.artifact.internal.ServiceScoper.findConfigFiles(ServiceScoper.java:99)
      3. com.springsource.kernel.install.artifact.internal.ServiceScoper.scope(ServiceScoper.java:91)
      4. com.springsource.kernel.install.artifact.internal.PlanScoper.scope(PlanScoper.java:150)
      5. com.springsource.kernel.install.artifact.internal.AbstractPlanInstallArtifact.scope(AbstractPlanInstallArtifact.java:168)
      6. com.springsource.kernel.install.pipeline.stage.transform.internal.ScopingTransformer.processScopedPlanInstallArtifact(ScopingTransformer.java:59)
      7. com.springsource.kernel.install.pipeline.stage.transform.internal.ScopedPlanIdentifyingTreeVisitor.visit(ScopedPlanIdentifyingTreeVisitor.java:39)
      8. com.springsource.kernel.install.pipeline.stage.transform.internal.ScopingTransformer.transform(ScopingTransformer.java:50)
      9. com.springsource.kernel.install.pipeline.stage.transform.internal.TransformationStage.doProcessTree(TransformationStage.java:64)
      10. com.springsource.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:50)
      11. com.springsource.kernel.install.pipeline.internal.StandardPipeline.doProcessTree(StandardPipeline.java:71)
      12. com.springsource.kernel.install.pipeline.internal.CompensatingPipeline.doProcessTree(CompensatingPipeline.java:80)
      13. com.springsource.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:50)
      14. com.springsource.kernel.install.pipeline.internal.StandardPipeline.doProcessTree(StandardPipeline.java:71)
      15. com.springsource.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:50)
      16. com.springsource.kernel.deployer.core.internal.PipelinedApplicationDeployer.performInstall(PipelinedApplicationDeployer.java:247)
      17. com.springsource.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(PipelinedApplicationDeployer.java:167)
      18. com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener.deploy(HotDeploymentFileSystemListener.java:192)
      19. com.springsource.kernel.deployer.hot.HotDeploymentFileSystemListener.onChange(HotDeploymentFileSystemListener.java:89)
      19 frames
    3. com.springsource.util
      FileSystemChecker.check
      1. com.springsource.util.io.FileSystemChecker.notifyListeners(FileSystemChecker.java:182)
      2. com.springsource.util.io.FileSystemChecker.check(FileSystemChecker.java:145)
      2 frames
    4. com.springsource.kernel
      WatchTask.run
      1. com.springsource.kernel.deployer.hot.WatchTask.run(WatchTask.java:69)
      1 frame
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:637)
      1 frame