Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-4449

NullPointerException when trying to add a new repository

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Medium
    • None
    • 2.6.1 Enterprise
    • None
    • jira-enterprise-2.6.1-standalone-tomcat
      Solaris 8 sparc (latest recommended patches)
      JDK 1.4.2_01

    Description

      When trying to add a new CVS repository to an otherwise emtpy project I get:

      1. Form Errors: Error occurred while updating the cvs repository, obtaining cvs log or parsing the cvs log. Please consult the log file for more details.

      In catalina.out(log4j level set to DEBUG):

      2004-09-03 09:01:21,364 DEBUG [web.util.component.PicoJavaActionFactory] Configu
      ring class using PicoJavaActionFactory com.atlassian.jira.web.action.admin.vcs.A
      ddRepository
      2004-09-03 09:01:23,147 INFO [jira.vcs.cvsimpl.CvsRepositoryUtilImpl] Starting c
      vs update.
      2004-09-03 09:01:23,480 INFO [jira.vcs.cvsimpl.CvsRepositoryUtilImpl] Finished c
      vs update.
      2004-09-03 09:01:23,480 INFO [jira.vcs.cvsimpl.CvsRepositoryUtilImpl] Starting l
      og
      2004-09-03 09:01:25,070 ERROR [action.admin.vcs.AddRepository] Error occurred wh
      ile updating the cvs repository, obtaining cvs log or parsing the cvs log.
      java.lang.NullPointerException
      at org.netbeans.lib.cvsclient.command.BasicCommand.getFileEndingWith(Bas
      icCommand.java:150)
      at org.netbeans.lib.cvsclient.command.log.LogBuilder.createFile(LogBuild
      er.java:295)
      at org.netbeans.lib.cvsclient.command.log.LogBuilder.processWorkingFile(
      LogBuilder.java:221)
      at org.netbeans.lib.cvsclient.command.log.LogBuilder.parseLine(LogBuilde
      r.java:157)
      at com.atlassian.jira.vcs.cvsimpl.CvsRepositoryUtilImpl$1.parseLine(CvsR
      epositoryUtilImpl.java:92)
      at org.netbeans.lib.cvsclient.command.BuildableCommand.messageSent(Build
      ableCommand.java:94)
      at org.netbeans.lib.cvsclient.event.MessageEvent.fireEvent(MessageEvent.
      java:96)
      at org.netbeans.lib.cvsclient.event.EventManager.fireCVSEvent(EventManag
      er.java:107)
      at org.netbeans.lib.cvsclient.response.MessageResponse.process(MessageRe
      sponse.java:52)
      at org.netbeans.lib.cvsclient.Client.handleResponse(Client.java:444)
      at org.netbeans.lib.cvsclient.Client.processRequests(Client.java:405)
      at org.netbeans.lib.cvsclient.command.log.LogCommand.execute(LogCommand.
      java:132)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Anonymous Anonymous
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: