#298 NullPointerException at ResourceMappingManager.java:26

open
nobody
None
5
2007-03-12
2007-03-12
m.hilpert
No

When I try to check in a Java source file via Eclipse I get a NullPointerException:

----------------------
!ENTRY org.vssplugin 4 0 2007-03-12 13:50:51.424
!MESSAGE
!STACK 0
java.lang.NullPointerException
at org.vssplugin.core.mapping.ResourceMappingManager.getProjectRelativePath(ResourceMappingManager.java:260)
at org.vssplugin.core.mapping.ResourceMappingManager.getVSSPath(ResourceMappingManager.java:251)
at org.vssplugin.core.olecommand.VSSCommand.getResourceVSSName(VSSCommand.java:92)
at org.vssplugin.core.olecommand.VSSCreateFolderCommand.execute(VSSCreateFolderCommand.java:79)
at org.vssplugin.core.olecommand.VSSCommand.run(VSSCommand.java:232)
at org.vssplugin.core.ResourceState.add(ResourceState.java:1066)
at org.vssplugin.core.VSSPluginProvider.addParents(VSSPluginProvider.java:1249)
at org.vssplugin.core.VSSPluginProvider$14.visit(VSSPluginProvider.java:1205)
at org.vssplugin.core.VSSPluginProvider.execute(VSSPluginProvider.java:852)
at org.vssplugin.core.VSSPluginProvider.execute(VSSPluginProvider.java:746)
at org.vssplugin.core.VSSPluginProvider.add(VSSPluginProvider.java:1199)
at org.vssplugin.ui.actions.AddAction$1.exec(AddAction.java:104)
at org.vssplugin.core.SyncNotificationOperation.execute(SyncNotificationOperation.java:85)
at org.vssplugin.core.WorkspaceSyncModifyOperation$1.run(WorkspaceSyncModifyOperation.java:71)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737)
at org.vssplugin.core.WorkspaceSyncModifyOperation.run(WorkspaceSyncModifyOperation.java:85)
at org.vssplugin.core.ExecutorThread.run(ExecutorThread.java:93)
----------------------------------

I created the Project in Eclipse with all necessary subdirectories. In VSS, I create a project as the root directory for the project. Unfortunately, VSS plugin is not telling, what it is missing ... :-(

Config: Eclipse 3.2.1, lates VSS plugin 1.6.1

Discussion


Log in to post a comment.