Jenkins JIRA | Sorin Sbarnea | 7 years ago
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Double whammy: Perforce plugin NPE and Jira failure

    Google Groups | 6 years ago | Steve Freeland
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    I'm trying to configure the Perforce plugin (1.1.9) with Hudson (1.378), and Build Now fails every time with this log (same when the job polls): Started by user anonymous Clearing workspace... Cleared workspace. Using master perforce client: hudson [workspace] $ /Users/abrockett/perforce/p4 workspace -o hudson Changing P4 Client Root to: /Users/abrockett/.hudson/jobs/p4test/workspace FATAL: null java.lang.NullPointerException at hudson.plugins.perforce.PerforceSCM.parseProjectPath( at hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace( at hudson.plugins.perforce.PerforceSCM.checkout( at hudson.model.AbstractProject.checkout( at hudson.model.AbstractBuild$AbstractRunner.checkout( at hudson.model.AbstractBuild$ at at at hudson.model.ResourceController.execute( at when the job runs. I created a new p4 user, as suggested, and a new workspace (named hudson) for Hudson to use. Let Hudson Manage Workspace View is checked, along with one time force sync and always force sync. The plugin appears to have no trouble executing p4 commands. P4PORT is set to localhost:1666, username and password are correct for the hudson user. Searching the issues here and the comments on the wiki at don't turn up anybody with similar problems, so I suspect it's some simple setup problem. I'd be grateful for a shove in the right direction.

    Jenkins JIRA | 7 years ago | atbrockett

    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 hudson.plugins.perforce.PerforceSCM.parseProjectPath()
    2. hudson.plugins.perforce
      1. hudson.plugins.perforce.PerforceSCM.parseProjectPath(
      2. hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(
      3. hudson.plugins.perforce.PerforceSCM.checkout(
      3 frames
    3. Hudson
      1. hudson.model.AbstractProject.checkout(
      2. hudson.model.AbstractBuild$AbstractRunner.checkout(
      3. hudson.model.AbstractBuild$
      6. hudson.model.ResourceController.execute(
      7 frames