java.lang.NullPointerException

Jenkins JIRA | chrisheller | 7 years 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.
  1. 0

    SVN Publisher 0.1 does not expand environment variables for the Target Path setting. Using a hardcoded path like C:\Documents and Settings\Administrator\hudson\jobs\Builder\workspace works, but ${WORKSPACE} does not. That gives the following info in the log. Jan 23, 2010 3:06:32 PM com.mtvi.plateng.subversion.SVNForceImport forceImport SEVERE: SVNForceImport Error: target Directory not accessable: ${WORKSPACE} Jan 23, 2010 3:06:32 PM com.mtvi.plateng.subversion.SVNForceImport forceImport INFO: null Name Jan 23, 2010 3:06:32 PM com.mtvi.plateng.subversion.SVNPublisher _perform SEVERE: Unable to import to svn. java.lang.NullPointerException at com.mtvi.plateng.subversion.SVNForceImport.matchFiles(SVNForceImport.java:348) at com.mtvi.plateng.subversion.SVNForceImport.forceImport(SVNForceImport.java:222) at com.mtvi.plateng.subversion.SVNPublisher$DescriptorImpl.svnImport(SVNPublisher.java:237) at com.mtvi.plateng.subversion.SVNPublisher._perform(SVNPublisher.java:123) at com.mtvi.plateng.subversion.SVNPublisher.perform(SVNPublisher.java:108) at hudson.plugins.promoted_builds.Promotion$RunnerImpl.build(Promotion.java:124) at hudson.plugins.promoted_builds.Promotion$RunnerImpl.doRun(Promotion.java:103) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416) at hudson.model.Run.run(Run.java:1193) at hudson.plugins.promoted_builds.Promotion.run(Promotion.java:75) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:122) (note that SVN Publisher is not available as a Component to select when creating an issue, so that should be created and then this can be re-assigned).

    Jenkins JIRA | 7 years ago | chrisheller
    java.lang.NullPointerException
  2. 0

    SVN Publisher 0.1 does not expand environment variables for the Target Path setting. Using a hardcoded path like C:\Documents and Settings\Administrator\hudson\jobs\Builder\workspace works, but ${WORKSPACE} does not. That gives the following info in the log. Jan 23, 2010 3:06:32 PM com.mtvi.plateng.subversion.SVNForceImport forceImport SEVERE: SVNForceImport Error: target Directory not accessable: ${WORKSPACE} Jan 23, 2010 3:06:32 PM com.mtvi.plateng.subversion.SVNForceImport forceImport INFO: null Name Jan 23, 2010 3:06:32 PM com.mtvi.plateng.subversion.SVNPublisher _perform SEVERE: Unable to import to svn. java.lang.NullPointerException at com.mtvi.plateng.subversion.SVNForceImport.matchFiles(SVNForceImport.java:348) at com.mtvi.plateng.subversion.SVNForceImport.forceImport(SVNForceImport.java:222) at com.mtvi.plateng.subversion.SVNPublisher$DescriptorImpl.svnImport(SVNPublisher.java:237) at com.mtvi.plateng.subversion.SVNPublisher._perform(SVNPublisher.java:123) at com.mtvi.plateng.subversion.SVNPublisher.perform(SVNPublisher.java:108) at hudson.plugins.promoted_builds.Promotion$RunnerImpl.build(Promotion.java:124) at hudson.plugins.promoted_builds.Promotion$RunnerImpl.doRun(Promotion.java:103) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416) at hudson.model.Run.run(Run.java:1193) at hudson.plugins.promoted_builds.Promotion.run(Promotion.java:75) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:122) (note that SVN Publisher is not available as a Component to select when creating an issue, so that should be created and then this can be re-assigned).

    Jenkins JIRA | 7 years ago | chrisheller
    java.lang.NullPointerException
  3. 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.mtvi.plateng.subversion.SVNForceImport.matchFiles()
    2. com.mtvi.plateng
      SVNPublisher.perform
      1. com.mtvi.plateng.subversion.SVNForceImport.matchFiles(SVNForceImport.java:348)
      2. com.mtvi.plateng.subversion.SVNForceImport.forceImport(SVNForceImport.java:222)
      3. com.mtvi.plateng.subversion.SVNPublisher$DescriptorImpl.svnImport(SVNPublisher.java:237)
      4. com.mtvi.plateng.subversion.SVNPublisher._perform(SVNPublisher.java:123)
      5. com.mtvi.plateng.subversion.SVNPublisher.perform(SVNPublisher.java:108)
      5 frames
    3. hudson.plugins.promoted_builds
      Promotion$RunnerImpl.doRun
      1. hudson.plugins.promoted_builds.Promotion$RunnerImpl.build(Promotion.java:124)
      2. hudson.plugins.promoted_builds.Promotion$RunnerImpl.doRun(Promotion.java:103)
      2 frames
    4. Hudson
      Run.run
      1. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416)
      2. hudson.model.Run.run(Run.java:1193)
      2 frames
    5. hudson.plugins.promoted_builds
      Promotion.run
      1. hudson.plugins.promoted_builds.Promotion.run(Promotion.java:75)
      1 frame
    6. Hudson
      Executor.run
      1. hudson.model.ResourceController.execute(ResourceController.java:88)
      2. hudson.model.Executor.run(Executor.java:122)
      2 frames