Attempting to check in a file to CVS throws an error

Hello

When I select CVS -> Commit from the Project context menu and then click the "Commit" button on the Commit Changes dialog nothing happens.
On the Settings dialog I have the Directory set to <Project Root> and the VCS set to CVS.  I can browse the repository through RubyMine just fine.I found this post http://youtrack.jetbrains.net/issue/IDEA-53760?query=9 which leads me to believe that I have an outdated version of the CVS plugin for RubyMine.  I downloaded and installed RubyMine yesterday so that may not be the case.  Is this a configuration issue?

Thanks in advance - Matt

I see an error in the RubyMine log:

2010-12-14 16:07:25,822 [2788808]  ERROR - pi.vcs.changes.ui.CommitHelper - JetBrains RubyMine 3.0  Build #RM-97.125
2010-12-14 16:07:25,822 [2788808]  ERROR - pi.vcs.changes.ui.CommitHelper - JDK: 1.6.0_21
2010-12-14 16:07:25,822 [2788808]  ERROR - pi.vcs.changes.ui.CommitHelper - VM: Java HotSpot(TM) Client VM
2010-12-14 16:07:25,822 [2788808]  ERROR - pi.vcs.changes.ui.CommitHelper - Vendor: Sun Microsystems Inc.
2010-12-14 16:07:25,822 [2788808]  ERROR - pi.vcs.changes.ui.CommitHelper - OS: Windows XP
2010-12-14 16:07:25,822 [2788808]  ERROR - pi.vcs.changes.ui.CommitHelper - Last Action: CheckinFiles
2010-12-14 16:07:26,041 [2789027]  ERROR - plication.impl.ApplicationImpl - Argument 0 for @NotNull parameter of com/intellij/cvsSupport2/connections/CvsRootOnFileSystem.getCvsRootFor must not be null
java.lang.IllegalArgumentException: Argument 0 for @NotNull parameter of com/intellij/cvsSupport2/connections/CvsRootOnFileSystem.getCvsRootFor must not be null
    at com.intellij.cvsSupport2.connections.CvsRootOnFileSystem.getCvsRootFor(CvsRootOnFileSystem.java)
    at com.intellij.cvsSupport2.connections.CvsRootOnFileSystem.getCommonRoot(CvsRootOnFileSystem.java:66)
    at com.intellij.cvsSupport2.connections.CvsRootOnFileSystem.createMeOn(CvsRootOnFileSystem.java:43)
    at com.intellij.cvsSupport2.connections.CvsRootProvider.createOn(CvsRootProvider.java:40)
    at com.intellij.cvsSupport2.cvsoperations.common.CvsOperationOnFiles.buildRootsToFilesMap(CvsOperationOnFiles.java:119)
    at com.intellij.cvsSupport2.cvsoperations.common.CvsOperationOnFiles.getRootsToFilesMap(CvsOperationOnFiles.java:133)
    at com.intellij.cvsSupport2.cvsoperations.common.CvsOperationOnFiles.getAllCvsRoots(CvsOperationOnFiles.java:138)
    at com.intellij.cvsSupport2.cvsoperations.common.CvsCommandOperation.appendSelfCvsRootProvider(CvsCommandOperation.java:124)
    at com.intellij.cvsSupport2.cvshandlers.CommandCvsHandler.loginAll(CommandCvsHandler.java:318)
    at com.intellij.cvsSupport2.cvshandlers.CommandCvsHandler.login(CommandCvsHandler.java:86)
    at com.intellij.cvsSupport2.cvshandlers.CommandCvsHandler.internalRun(CommandCvsHandler.java:337)
    at com.intellij.cvsSupport2.cvshandlers.CvsHandler.run(CvsHandler.java:146)
    at com.intellij.cvsSupport2.cvsExecution.CvsOperationExecutor$2.run(CvsOperationExecutor.java:141)
    at com.intellij.cvsSupport2.cvsExecution.CvsOperationExecutor.performActionSync(CvsOperationExecutor.java:155)
    at com.intellij.cvsSupport2.checkinProject.CvsCheckinEnvironment.commit(CvsCheckinEnvironment.java:115)
    at com.intellij.openapi.vcs.changes.ui.CommitHelper$CommitProcessor.process(CommitHelper.java:315)
    at com.intellij.openapi.vcs.changes.ChangesUtil.processItemsByVcs(ChangesUtil.java:273)
    at com.intellij.openapi.vcs.changes.ChangesUtil.processChangesByVcs(ChangesUtil.java:278)
    at com.intellij.openapi.vcs.changes.ui.CommitHelper$CommitProcessor.callSelf(CommitHelper.java:304)
    at com.intellij.openapi.vcs.changes.ui.CommitHelper.b(CommitHelper.java:155)
    at com.intellij.openapi.vcs.changes.ui.CommitHelper.access$200(CommitHelper.java:49)
    at com.intellij.openapi.vcs.changes.ui.CommitHelper$1.run(CommitHelper.java:100)
    at com.intellij.openapi.vcs.changes.ui.CommitHelper$2.run(CommitHelper.java:115)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:471)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:205)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:230)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:196)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl$6.run(ProgressManagerImpl.java:350)
    at com.intellij.openapi.application.impl.ApplicationImpl$5.run(ApplicationImpl.java:332)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:126)
2010-12-14 16:07:26,041 [2789027]  ERROR - plication.impl.ApplicationImpl - JetBrains RubyMine 3.0  Build #RM-97.125
2010-12-14 16:07:26,041 [2789027]  ERROR - plication.impl.ApplicationImpl - JDK: 1.6.0_21
2010-12-14 16:07:26,041 [2789027]  ERROR - plication.impl.ApplicationImpl - VM: Java HotSpot(TM) Client VM
2010-12-14 16:07:26,041 [2789027]  ERROR - plication.impl.ApplicationImpl - Vendor: Sun Microsystems Inc.
2010-12-14 16:07:26,041 [2789027]  ERROR - plication.impl.ApplicationImpl - OS: Windows XP
2010-12-14 16:07:26,041 [2789027]  ERROR - plication.impl.ApplicationImpl - Last Action: CheckinFiles

0
3 comments

One more piece of information:

I have configured a CVS root on this machine

Version Control -> CVS -> Configure CVS Roots

:ssh:mkolenda@calyx:/home/cvsroot

Matt

0

Fixed, sorry
please map concrete directories (highest level that are indeed under CVS) to CVS, not <Project Root>
I think it would help

0

Irina - Thanks for getting back to me.  I tried what you suggested.

I opened the Settings Dialog
Clicked on the "Version Control" node of the tree on the Left Hand Side
Clicked th Edit button and changed the <Project Root> Directory to "c:\projects\<my project name>" (RubyMine changed that string to a . )
Clicked OK

Then tried to commit the changed files to CVS through Version Control -> CVS -> Commit Files

I see this error in the log:

BTW - I am on Windows XP, I don't know if that matters for this case.

Argument 0 for @NotNull parameter of com/intellij/cvsSupport2/connections/CvsRootOnFileSystem.getCvsRootFor must not be null: Argument 0 for @NotNull parameter of com/intellij/cvsSupport2/connections/CvsRootOnFileSystem.getCvsRootFor must not be null
java.lang.IllegalArgumentException: Argument 0 for @NotNull parameter of com/intellij/cvsSupport2/connections/CvsRootOnFileSystem.getCvsRootFor must not be null
    at com.intellij.cvsSupport2.connections.CvsRootOnFileSystem.getCvsRootFor(CvsRootOnFileSystem.java)
    at com.intellij.cvsSupport2.connections.CvsRootOnFileSystem.getCommonRoot(CvsRootOnFileSystem.java:66)
    at com.intellij.cvsSupport2.connections.CvsRootOnFileSystem.createMeOn(CvsRootOnFileSystem.java:43)
    at com.intellij.cvsSupport2.connections.CvsRootProvider.createOn(CvsRootProvider.java:40)
    at com.intellij.cvsSupport2.cvsoperations.cvsContent.GetFileContentOperation.createForFile(GetFileContentOperation.java:138)
    at com.intellij.cvsSupport2.cvsstatuses.CvsChangeProvider$CvsUpToDateRevision.getUpToDateBinaryContent(CvsChangeProvider.java:585)
    at com.intellij.cvsSupport2.cvsstatuses.CvsChangeProvider$CvsUpToDateRevision.getContent(CvsChangeProvider.java:555)
    at com.intellij.openapi.vcs.impl.VcsFileStatusProvider.getBaseVersionContent(VcsFileStatusProvider.java:149)
    at com.intellij.openapi.vcs.impl.LineStatusTrackerManager$5.run(LineStatusTrackerManager.java:310)
    at com.intellij.util.Alarm$Request$1.run(Alarm.java:227)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)



java.lang.IllegalArgumentException: Argument 0 for @NotNull parameter of com/intellij/cvsSupport2/connections/CvsRootOnFileSystem.getCvsRootFor must not be null
    at com.intellij.cvsSupport2.connections.CvsRootOnFileSystem.getCvsRootFor(CvsRootOnFileSystem.java)
    at com.intellij.cvsSupport2.connections.CvsRootOnFileSystem.getCommonRoot(CvsRootOnFileSystem.java:66)
    at com.intellij.cvsSupport2.connections.CvsRootOnFileSystem.createMeOn(CvsRootOnFileSystem.java:43)
    at com.intellij.cvsSupport2.connections.CvsRootProvider.createOn(CvsRootProvider.java:40)
    at com.intellij.cvsSupport2.cvsoperations.cvsContent.GetFileContentOperation.createForFile(GetFileContentOperation.java:138)
    at com.intellij.cvsSupport2.cvsstatuses.CvsChangeProvider$CvsUpToDateRevision.getUpToDateBinaryContent(CvsChangeProvider.java:585)
    at com.intellij.cvsSupport2.cvsstatuses.CvsChangeProvider$CvsUpToDateRevision.getContent(CvsChangeProvider.java:555)
    at com.intellij.openapi.vcs.impl.VcsFileStatusProvider.getBaseVersionContent(VcsFileStatusProvider.java:149)
    at com.intellij.openapi.vcs.impl.LineStatusTrackerManager$5.run(LineStatusTrackerManager.java:310)
    at com.intellij.util.Alarm$Request$1.run(Alarm.java:227)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)

0

Please sign in to leave a comment.