Bug 277800 - [Subversive] - Bug report ID-J340U
Summary: [Subversive] - Bug report ID-J340U
Status: CLOSED DUPLICATE of bug 392882
Alias: None
Product: Subversive
Classification: Technology
Component: Core (show other bugs)
Version: 0.7   Edit
Hardware: PC Windows Vista
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Igor Burilo CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 287556
  Show dependency tree
 
Reported: 2009-05-26 02:58 EDT by Auke van Leeuwen CLA
Modified: 2012-11-30 08:48 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Auke van Leeuwen CLA 2009-05-26 02:58:57 EDT
Situation:
I often use maven multi-module projects in Eclipse. This means that I check out (outside of Eclipse) a multi-project setup like this in my workspace.

parent
 -> module1
 -> module2
 
I then run mvn eclipse:eclipse to generate projects from the modules (so module1/.project etc. is generated). I then import these projects in Eclipse using Import existing projects. From then on I end up being able to correctly use the Team stuff (commit, synchronize) on these projects.
However I often import the parent project as well (as a general project, just a bunch of files) because that contains for example the parent-pom (or other resources that are siblings of the modules) that I want to manage as well. So sometimes I do a team synchronize on 'parent', but often this project is closed.

The problem:
*Sometimes* (I can't seem to figure out when) I have this problem in the synchronize view when I double click a file (Java often) it is unable to give me the correct Compare Editor view. It fails with the given stacktrace below. This is when the parent project is closed! When I open the 'parent' project it works correctly. 
All files in module2 can work correctly, while all in module1 fails (or vica versa) , but not always! Some other time during the day it may all work correctly for all module projects.

Guess:
It appears that getConnectedProjectInformation(SVNRemoteStorage.java:539) should return 'module1' where it does return 'parent' (which is closed). Maybe a caching problem of some kind?

Stacktrace:
org.eclipse.team.svn.core.operation.UnreportableException: 0x0000000a: Project 'd2de-parent' is not connected to source control.
at org.eclipse.team.svn.core.svnstorage.SVNRemoteStorage.getConnectedProjectInformation(SVNRemoteStorage.java:539)
at org.eclipse.team.svn.core.svnstorage.SVNRemoteStorage.asRepositoryResource(SVNRemoteStorage.java:421)
at org.eclipse.team.svn.core.synchronize.variant.RemoteFileVariant.fetchContents(RemoteFileVariant.java:58)
at org.eclipse.team.core.variants.CachedResourceVariant.ensureContentsCached(CachedResourceVariant.java:111)
at org.eclipse.team.core.variants.CachedResourceVariant.getStorage(CachedResourceVariant.java:101)
at org.eclipse.team.internal.core.mapping.ResourceVariantFileRevision.getStorage(ResourceVariantFileRevision.java:27)
at org.eclipse.team.internal.ui.history.FileRevisionTypedElement.fetchContents(FileRevisionTypedElement.java:64)
at org.eclipse.team.internal.ui.StorageTypedElement.cacheContents(StorageTypedElement.java:53)
at org.eclipse.team.internal.ui.mapping.ResourceDiffCompareInput.ensureContentsCached(ResourceDiffCompareInput.java:145)
at org.eclipse.team.internal.ui.mapping.ResourceDiffCompareInput.prepareInput(ResourceDiffCompareInput.java:176)
at org.eclipse.team.internal.ui.mapping.ModelCompareEditorInput.prepareCompareInput(ModelCompareEditorInput.java:119)
at org.eclipse.team.ui.synchronize.SaveableCompareEditorInput.prepareInput(SaveableCompareEditorInput.java:239)
at org.eclipse.compare.CompareEditorInput.run(CompareEditorInput.java:448)
at org.eclipse.compare.internal.CompareUIPlugin.prepareInput(CompareUIPlugin.java:484)
at org.eclipse.compare.internal.CompareEditor$2.run(CompareEditor.java:314)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)


Version:	0.7.8.I20090506-1500

SVN Client:	org.eclipse.team.svn.connector.javahl15 2.2.0.I20090505-1500 svn:1.5.4 (r33841)
jni:0.9.0

JVM Properties:
{java.vendor=Sun Microsystems Inc., osgi.bundles.defaultStartLevel=4, sun.java.launcher=SUN_STANDARD, org.osgi.supports.framework.extension=true, sun.management.compiler=HotSpot Client Compiler, osgi.framework.beginningstartlevel=1, eclipse.p2.profile=PlatformProfile, os.name=Windows Vista, osgi.ws=win32, sun.desktop=windows, java.vm.specification.vendor=Sun Microsystems Inc., java.runtime.version=1.6.0_13-b03, osgi.instance.area=file:/C:/Projects/Workspaces/D2DE/, user.name=auke, eclipse.launcher=C:\Program Files\eclipse-d2de-v2\eclipse.exe, org.osgi.framework.language=nl, user.language=nl, org.osgi.framework.processor=x86, osgi.syspath=c:\Program Files\eclipse-d2de-v2\plugins, sun.boot.library.path=C:\Program Files\Java\jdk1.6.0_13\jre\bin, osgi.manifest.cache=C:\Program Files\eclipse-d2de-v2\configuration\org.eclipse.osgi\manifests, osgi.compatibility.bootdelegation=true, java.version=1.6.0_13, org.osgi.framework.os.name=WindowsVista, user.timezone=Europe/Berlin, sun.arch.data.model=32, java.endorsed.dirs=C:\Program Files\Java\jdk1.6.0_13\jre\lib\endorsed, sun.net.client.defaultConnectTimeout=30000, sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86, sun.jnu.encoding=Cp1252, file.encoding.pkg=sun.io, org.osgi.framework.vendor=Eclipse, file.separator=\, java.specification.name=Java Platform API Specification, java.class.version=50.0, user.country=NL, org.eclipse.equinox.launcher.splash.location=c:\Program Files\eclipse-d2de-v2\plugins\org.eclipse.platform_3.3.101.v200902111700\splash.bmp, osgi.launcherIni=eclipse, java.home=C:\Program Files\Java\jdk1.6.0_13\jre, osgi.os=win32, eclipse.commands=-os win32 -ws win32 -arch x86 -showsplash -launcher C:\Program Files\eclipse-d2de-v2\eclipse.exe -name Eclipse --launcher.library C:\Program Files\eclipse-d2de-v2\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll -startup C:\Program Files\eclipse-d2de-v2\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar -exitdata ec4_58 -framework plugins\org.eclipse.osgi_3.4.3.R34x_v20081215-1030.jar -vm C:\Program Files\Java\jdk1.6.0_13\bin\javaw.exe , java.vm.info=mixed mode, osgi.splashLocation=c:\Program Files\eclipse-d2de-v2\plugins\org.eclipse.platform_3.3.101.v200902111700\splash.bmp, os.version=6.0, osgi.arch=x86, path.separator=;, java.vm.version=11.3-b02, org.osgi.supports.framework.fragment=true, user.variant=, osgi.framework.shape=jar, osgi.instance.area.default=file:/C:/Users/auke.FINALISTNT/workspace/, java.awt.printerjob=sun.awt.windows.WPrinterJob, sun.io.unicode.encoding=UnicodeLittle, org.osgi.framework.version=1.4.0, awt.toolkit=sun.awt.windows.WToolkit, osgi.install.area=file:/C:/Program Files/eclipse-d2de-v2/, osgi.framework=file:/c:/Program Files/eclipse-d2de-v2/plugins/org.eclipse.osgi_3.4.3.R34x_v20081215-1030.jar, user.home=C:\Users\auke.FINALISTNT, org.eclipse.equinox.simpleconfigurator.configUrl=file:org.eclipse.equinox.simpleconfigurator\bundles.info, osgi.bundlestore=C:\Program Files\eclipse-d2de-v2\configuration\org.eclipse.osgi\bundles, osgi.splashPath=platform:/base/plugins/org.eclipse.platform, osgi.nl=nl_NL, java.specification.vendor=Sun Microsystems Inc., java.library.path=C:\Program Files\Java\jdk1.6.0_13\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\PC Connectivity Solution\;C:\Program Files\Apache Software Foundation\Maven 1.1\bin;C:\Program Files\Windows Resource Kits\Tools\;C:\Program Files\ImageMagick-6.3.4-Q16;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Projects\Scripts;C:\Program Files\PuTTY;C:\Program Files\Sysinternals\;C:\Program Files\apache-ant-1.7.0\bin;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Graphviz2.20\Bin;C:\Program Files\Subversion\1.5;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\CVSNT\;C:\Program Files\nmap\;C:\Program Files\Apache Software Foundation\Maven 2.0.9\bin;C:\Projects\groovy-1.6.0\bin;C:\Projects\grails-1.1\bin;, java.vendor.url=http://java.sun.com/, org.osgi.framework.os.version=6.0.0, eclipse.p2.data.area=@config.dir/../p2, eclipse.startTime=1243319172728, java.vm.vendor=Sun Microsystems Inc., java.runtime.name=Java(TM) SE Runtime Environment, java.class.path=C:\Program Files\eclipse-d2de-v2\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar, osgi.requiredJavaVersion=1.5, org.eclipse.update.reconcile=false, eclipse.vm=C:\Program Files\Java\jdk1.6.0_13\bin\javaw.exe, java.vm.specification.name=Java Virtual Machine Specification, java.vm.specification.version=1.0, sun.cpu.endian=little, sun.os.patch.level=Service Pack 1, osgi.launcherPath=., java.io.tmpdir=C:\Users\AUKE~1.FIN\AppData\Local\Temp\, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, eclipse.product=org.eclipse.platform.ide, eclipse.home.location=file:/C:/Program Files/eclipse-d2de-v2/, os.arch=x86, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, java.ext.dirs=C:\Program Files\Java\jdk1.6.0_13\jre\lib\ext;C:\Windows\Sun\Java\lib\ext, user.dir=C:\Windows\system32, org.osgi.supports.framework.requirebundle=true, line.separator=
 , java.vm.name=Java HotSpot(TM) Client VM, org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog, maven.mode.standalone=true, eclipse.ee.install.verify=false, file.encoding=Cp1252, osgi.framework.version=3.4.3.R34x_v20081215-1030, sun.net.client.defaultReadTimeout=30000, eclipse.buildId=M20090211-1700, eclipse.vmargs=-Dosgi.requiredJavaVersion=1.5 -Xms256m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=256m -Xverify:none -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled -jar C:\Program Files\eclipse-d2de-v2\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar , java.specification.version=1.6, org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1,JRE-1.1,J2SE-1.2,J2SE-1.3,J2SE-1.4,J2SE-1.5,JavaSE-1.6, osgi.logfile=C:\Projects\Workspaces\D2DE\.metadata\.log, osgi.configuration.area=file:/C:/Program Files/eclipse-d2de-v2/configuration/}
Comment 1 Andreas Höhmann CLA 2012-06-08 08:00:54 EDT
This problem still exists ... please fix it :)
Comment 2 Alexander Gurov CLA 2012-11-30 08:48:28 EST
Details on how to handle the situation in thsi bug #392882

*** This bug has been marked as a duplicate of bug 392882 ***