java.lang.NullPointerException

Jenkins JIRA | Carsten Otto | 4 years ago
  1. 0

    This happens with 1.8. I get the sloccount-data (report.sc) and some other XML files (findbugs etc.). Other than that, the workspace is empty. After retrieving the files, I run the publishers. Please tell me how to work around this issue or fix the plugin. If you need more information, please ask. I'm not sure how to write bug reports in here. Best regards, Carsten ERROR: Publisher hudson.plugins.sloccount.SloccountPublisher aborted due to exception java.lang.NullPointerException at hudson.plugins.sloccount.model.SloccountParser.parseLine(SloccountParser.java:92) at hudson.plugins.sloccount.model.SloccountParser.parse(SloccountParser.java:59) at hudson.plugins.sloccount.model.SloccountParser.parse(SloccountParser.java:50) at hudson.plugins.sloccount.model.SloccountParser.invoke(SloccountParser.java:40) at hudson.plugins.sloccount.model.SloccountParser.invoke(SloccountParser.java:17) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2180) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722)

    Jenkins JIRA | 4 years ago | Carsten Otto
    java.lang.NullPointerException
  2. 0

    This happens with 1.8. I get the sloccount-data (report.sc) and some other XML files (findbugs etc.). Other than that, the workspace is empty. After retrieving the files, I run the publishers. Please tell me how to work around this issue or fix the plugin. If you need more information, please ask. I'm not sure how to write bug reports in here. Best regards, Carsten ERROR: Publisher hudson.plugins.sloccount.SloccountPublisher aborted due to exception java.lang.NullPointerException at hudson.plugins.sloccount.model.SloccountParser.parseLine(SloccountParser.java:92) at hudson.plugins.sloccount.model.SloccountParser.parse(SloccountParser.java:59) at hudson.plugins.sloccount.model.SloccountParser.parse(SloccountParser.java:50) at hudson.plugins.sloccount.model.SloccountParser.invoke(SloccountParser.java:40) at hudson.plugins.sloccount.model.SloccountParser.invoke(SloccountParser.java:17) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2180) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722)

    Jenkins JIRA | 4 years ago | Carsten Otto
    java.lang.NullPointerException
  3. 0

    Re:sloccount plugin exception

    Google Groups | 4 years ago | KEVIN FLEMING (BLOOMBERG/ 731 LEXIN)
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    sloccount plugin exception

    Google Groups | 4 years ago | Kamal Ahmed
    java.lang.NullPointerException

    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.sloccount.model.SloccountParser.parseLine()
    2. hudson.plugins.sloccount
      SloccountParser.invoke
      1. hudson.plugins.sloccount.model.SloccountParser.parseLine(SloccountParser.java:92)
      2. hudson.plugins.sloccount.model.SloccountParser.parse(SloccountParser.java:59)
      3. hudson.plugins.sloccount.model.SloccountParser.parse(SloccountParser.java:50)
      4. hudson.plugins.sloccount.model.SloccountParser.invoke(SloccountParser.java:40)
      5. hudson.plugins.sloccount.model.SloccountParser.invoke(SloccountParser.java:17)
      5 frames
    3. Hudson
      FilePath$FileCallableWrapper.call
      1. hudson.FilePath$FileCallableWrapper.call(FilePath.java:2180)
      1 frame
    4. Hudson :: Remoting Layer
      InterceptingExecutorService$1.call
      1. hudson.remoting.UserRequest.perform(UserRequest.java:118)
      2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
      3. hudson.remoting.Request$2.run(Request.java:287)
      4. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      4 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:166)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      5. java.lang.Thread.run(Thread.java:722)
      5 frames