Jenkins JIRA | Will Daly | 3 years ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    *Steps to Reproduce*: [from ntulele] # Enable plugin for a job # Set the following: ## Timeout strategy: Absolute ## Timeout minutes: 3 ## *Time-out variable: 19* ## Time-out actions: ### Abort the build ### Writing the build description (& enter some text) # Save/Apply and attempt to execute build # Note failure with stack trace per below # delete "19" from the Time-out variable text box # Save/Apply & re-attempt build --> PASS Log excerpt: {code} FATAL: null java.lang.NullPointerException at hudson.plugins.build_timeout.BuildTimeOutStrategy.hasMacros( at hudson.plugins.build_timeout.BuildTimeOutStrategy.expandAll( at hudson.plugins.build_timeout.impl.AbsoluteTimeOutStrategy.getTimeOut( at hudson.plugins.build_timeout.BuildTimeoutWrapper$EnvironmentImpl.<init>( at hudson.plugins.build_timeout.BuildTimeoutWrapper.setUp( at hudson.model.Build$BuildExecution.doRun( at hudson.model.AbstractBuild$ at hudson.model.Run.execute( at at hudson.model.ResourceController.execute( at {code} _from Maciej:_ It happens probably because Action field was not set. I would expect from the plugin a minimal message saying which field should not be null if it is about invalid configuration.

    Jenkins JIRA | 8 months ago | Maciej Gawinecki

    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.build_timeout.BuildTimeoutWrapper$1EnvironmentImpl.<init>()
    2. hudson.plugins.build_timeout
      1. hudson.plugins.build_timeout.BuildTimeoutWrapper$1EnvironmentImpl.<init>(
      2. hudson.plugins.build_timeout.BuildTimeoutWrapper.setUp(
      2 frames
    3. Hudson
      1. hudson.model.Build$BuildExecution.doRun(
      2. hudson.model.AbstractBuild$
      3. hudson.model.Run.execute(
      5. hudson.model.ResourceController.execute(
      6 frames