Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Why can't I add a new project to Jazz Source Control with RTC plugin for Eclipse without error?

Hello,

I have installed RTC 3.0.1.1 client over existing Java EE Eclipse environments.  I have tried Helios SR1 and SR2, and Indigo SR2.  In order to install into Eclipse I followed the article listed here.  I can install without issue, but in all three configurations I receive the following two errors when trying to add a project to Jazz Source Control during the Review Ignored Resources step:

1. Filtering Ignored Resources
An internal error occurred during: "Filtering Ignored Resources".
Could not initialize class com.ibm.team.filesystem.client.internal.ManagedFileStore

2. Finding Ignore Patterns
An internal error occurred during: "Finding Ignore Patterns".
Could not initialize class com.ibm.team.filesystem.client.internal.ManagedFileStore

Is there some configuration that I am missing?  Please help!

Best regards,

Andrew

0 votes

Comments

Hi Andrew,  what version of eclipse did you install RTC 3011 into? Also what JRE version are you using?  If you aren't specifying a vm argument from the command line or via eclipse.ini you are likely using the system java version so to determine this you can use java -version from the command line. 

Hi Andrew,
Could you provide here <your-workspace>/.metadata/.log file?

Hello Josh and Krzysztof,


I tried various versions of Eclipse: Helios SR1 and SR2, and now I am using Indigo SR2.  The error is the same.  I am using jre7.  My eclipse.ini has

-vm C:\Program Files (x86)\Java\jre7\bin

I have extracted the following section from my .log file that refers to the error.

!ENTRY org.eclipse.core.jobs 4 2 2013-05-10 08:53:58.251
!MESSAGE An internal error occurred during: "Filtering Ignored Resources".
!STACK 0
java.lang.NoClassDefFoundError: Could not initialize class com.ibm.team.filesystem.client.internal.ManagedFileStore
at com.ibm.team.filesystem.client.internal.FileStorageWrapper.getFileStore(FileStorageWrapper.java:336)
at com.ibm.team.filesystem.client.internal.FileStorageWrapper.exists(FileStorageWrapper.java:366)
at com.ibm.team.filesystem.client.internal.Shareable.exists(Shareable.java:667)
at com.ibm.team.filesystem.client.internal.ignore.ReadThroughFilesystemAbstraction.read(ReadThroughFilesystemAbstraction.java:147)
at com.ibm.team.filesystem.client.internal.ignore.IgnoreFileLoader.load(IgnoreFileLoader.java:239)
at com.ibm.team.filesystem.client.internal.ignore.IgnoreFileLoader.load(IgnoreFileLoader.java:194)
at com.ibm.team.filesystem.client.internal.ignore.IgnoreFileLoader.load(IgnoreFileLoader.java:182)
at com.ibm.team.filesystem.client.internal.ignore.DefaultIgnoreProvider.getIgnoreFileForFolder(DefaultIgnoreProvider.java:948)
at com.ibm.team.filesystem.client.internal.ignore.DefaultIgnoreProvider.getIgnoreFileForFolder(DefaultIgnoreProvider.java:922)
at com.ibm.team.filesystem.client.internal.ignore.DefaultIgnoreProvider.getGlobalIgnoreFile(DefaultIgnoreProvider.java:897)
at com.ibm.team.filesystem.client.internal.ignore.DefaultIgnoreProvider.visitIgnoreFilesOnPath(DefaultIgnoreProvider.java:721)
at com.ibm.team.filesystem.client.internal.ignore.DefaultIgnoreProvider.access$3(DefaultIgnoreProvider.java:711)
at com.ibm.team.filesystem.client.internal.ignore.DefaultIgnoreProvider$DefaultIgnoreTester.shouldInvalidateCache(DefaultIgnoreProvider.java:792)
at com.ibm.team.filesystem.client.internal.ignore.IgnoreManager.shouldBeIgnored(IgnoreManager.java:277)
at com.ibm.team.filesystem.client.internal.ignore.IgnoredItemSet.internalPopulateFrom(IgnoredItemSet.java:203)
at com.ibm.team.filesystem.client.internal.ignore.IgnoredItemSet.populateFrom(IgnoredItemSet.java:230)
at com.ibm.team.internal.filesystem.ui.ignore.ConfigureIgnoresPage$18.run(ConfigureIgnoresPage.java:766)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.core.jobs 4 2 2013-05-10 08:53:58.251
!MESSAGE An internal error occurred during: "Finding Ignore Patterns".
!STACK 0
java.lang.NoSuchMethodError: java.nio.file.FileSystem.getPath(Ljava/lang/String;)Ljava/nio/file/Path;
at com.ibm.team.filesystem.client.internal.Java17SymLinkHelper.<init>(Java17SymLinkHelper.java:41)
at com.ibm.team.filesystem.client.internal.Java17SymLinkHelper.newInstance(Java17SymLinkHelper.java:34)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.ibm.team.filesystem.client.internal.ManagedFileStore.getJava17SymLinkHelper(ManagedFileStore.java:116)
at com.ibm.team.filesystem.client.internal.ManagedFileStore.<clinit>(ManagedFileStore.java:146)
at com.ibm.team.filesystem.client.internal.FileStorageWrapper.getFileStore(FileStorageWrapper.java:336)
at com.ibm.team.filesystem.client.internal.FileStorageWrapper.exists(FileStorageWrapper.java:366)
at com.ibm.team.filesystem.client.internal.Shareable.exists(Shareable.java:667)
at com.ibm.team.filesystem.client.internal.ignore.ReadThroughFilesystemAbstraction.read(ReadThroughFilesystemAbstraction.java:147)
at com.ibm.team.filesystem.client.internal.ignore.IgnoreFileLoader.load(IgnoreFileLoader.java:239)
at com.ibm.team.filesystem.client.internal.ignore.IgnoreFileLoader.load(IgnoreFileLoader.java:194)
at com.ibm.team.filesystem.client.internal.ignore.IgnoreFileLoader.load(IgnoreFileLoader.java:182)
at com.ibm.team.filesystem.client.internal.ignore.DefaultIgnoreProvider.getIgnoreFileForFolder(DefaultIgnoreProvider.java:948)
at com.ibm.team.filesystem.client.internal.ignore.DefaultIgnoreProvider.getIgnoreFileForFolder(DefaultIgnoreProvider.java:922)
at com.ibm.team.filesystem.client.internal.ignore.DefaultIgnoreProvider.getGlobalIgnoreFile(DefaultIgnoreProvider.java:897)
at com.ibm.team.filesystem.client.internal.ignore.DefaultIgnoreProvider.accept(DefaultIgnoreProvider.java:633)
at com.ibm.team.internal.filesystem.ui.ignore.IgnoresPatternQuery.init(IgnoresPatternQuery.java:86)
at com.ibm.team.internal.filesystem.ui.ignore.ConfigureIgnoresPage$17.run(ConfigureIgnoresPage.java:712)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
!SESSION 2013-05-10 08:56:18.769 -----------------------------------------------
eclipse.buildId=M20120208-0800
java.version=1.7.0_21
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
Framework arguments:  -product org.eclipse.epp.package.jee.product -product com.ibm.team.concert.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product -product com.ibm.team.concert.product

To reproduce the error:
1. Extract Eclipse Indigo SR2
2. Manually install EMF - Eclipse Modeling Framework SDK 2.7.0 and XSD - XML Schema Definition DSK 2.7.0
3. Install RTC 3.0.1.1 client into Indigo SR2
4. Open RTC client, add repository connection, connect to project area, create new generic project, try to share project.
5. Bob's your uncle

I appreciate your support.

Best regards,

Andrew


Accepted answer

Permanent link
I can't confirm now, as jazz library seems to be down, but I'm fairly sure Java 1.7 is not supported with RTC 3.
Andrew Trobec selected this answer as the correct answer

2 votes

Comments

Hello Piotr,

I uninstalled jre7 and replaced with jre6 and the problem has disappeared!  I have a colleague who has the same setup with jre7 and there aren't any problems, but I suppose he's just lucky.  I'll be sure to take note of this for future use.
Best regards,
Andrew


One other answer

Permanent link
I suggest either opening a defect and check the Error Log view for any details that you can include in the bug report or contacting IBM support.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 2,358

Question asked: May 07 '13, 10:23 a.m.

Question was seen: 6,932 times

Last updated: May 10 '13, 8:49 a.m.

Confirmation Cancel Confirm