java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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)
    via by Radhika Madala (c),
  • 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)
    via by Radhika Madala (c),
    • 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)
    No Bugmate found.