History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-24105
Type: Exception Exception
Status: Open Open
Priority: Major Major
Assignee: Dmitry Jemerov
Reporter: Alexander Chernikov
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

VSS integration: empty changes view and assertion failure in VssChangeProvider$2.run() in case Settings / Version control / Edit / Directory value ends with slash

Created: 26 Dec 07 15:22   Updated: 09 Jan 08 17:05
Component/s: Version Control Integration. VSS
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 8,075


 Description  « Hide
Get any project.
Configure VSS version control. In Settings / Version control provide all necessary settings with one condition: in "Edit VSS directory mapping" dialog the Directory value should end with slash: "C:\superPath\projectDir\".
Ok all. Do Refresh in Changes view. Result: Changes view is empty, and the exception is thrown.
If the value does not end with slash: "C:\superPath\projectDir" then all is Ok.

I see similar trace in IDEADEV-22729, IDEADEV-22385, but I suspect this can be different case.



 All   Comments   Work Log   Change History      Sort Order:
Alexander Chernikov - 26 Dec 07 15:22
Assertion failed: Not valid scope for current Vcs: C:/uf/Alexander.Chernikov/work/iprojs-8.0/jarb-03-encoding-lib
java.lang.Throwable
	at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:89)
	at com.intellij.vssSupport.VssChangeProvider$2.run(VssChangeProvider.java:757)
	at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:285)
	at com.intellij.vssSupport.VssChangeProvider.validateChangesOverTheHost(VssChangeProvider.java:744)
	at com.intellij.vssSupport.VssChangeProvider.getChanges(VssChangeProvider.java:67)
	at com.intellij.openapi.vcs.changes.ChangeListManagerImpl.a(ChangeListManagerImpl.java:73)
	at com.intellij.openapi.vcs.changes.ChangeListManagerImpl.access$700(ChangeListManagerImpl.java:179)
	at com.intellij.openapi.vcs.changes.ChangeListManagerImpl$4.run(ChangeListManagerImpl.java:4)
	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.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
	at java.lang.Thread.run(Thread.java:619)

Michael Gerasimov - 09 Jan 08 17:05
When "Directory" field in the "Edit Vcs Directory Mapping" is typed with the backslash char at the end (as in VSS case), then this path (in the form of FilePath) is not recognized by ProjectLevelVcsManager.getVcsFor()