IBM Java 1.7 and RTC scm
I am trying to use the RTC scm command on a Redhat linux 6.3 system installed with IBM Java 1.7. When I run 'scm help' I get what looks like the normal help output but an exception is thrown. here is the first few lines of output (the stack trace is rather long and perhaps not that useful).
$0-paulcnew@build3-rhel60:~> scm help
java.lang.IllegalStateException: Found two dtoEvolution elements with the same componentVersion value in bundle com.ibm.team.scm.common.
at com.ibm.team.repository.common.internal.util.ModelElementDescriptor$EvolutionDescriptorComponentVersionComparator.compare(ModelElementDescriptor.java:223)
at com.ibm.team.repository.common.internal.util.ModelElementDescriptor$EvolutionDescriptorComponentVersionComparator.compare(ModelElementDescriptor.java:1)
at java.util.TreeMap.compare(TreeMap.java:1188)
at java.util.TreeMap.put(TreeMap.java:531)
at java.util.TreeSet.add(TreeSet.java:255)
at com.ibm.team.repository.common.internal.util.ModelElementDescriptor.processEvolutionElement(ModelElementDescriptor.java:70)
at com.ibm.team.repository.common.internal.util.ModelElementDescriptor.processChild(ModelElementDescriptor.java:63)
at com.ibm.team.repository.common.transport.AbstractElementDescriptor.processChildren(AbstractElementDescriptor.java:725)
<snip the rest of the stack trace and the normal output>
Is Java 1.7 supported by this version of RTC/scm or do I have to use some other version of Java or RTC?
thanks.
$0-paulcnew@build3-rhel60:~> scm help
java.lang.IllegalStateException: Found two dtoEvolution elements with the same componentVersion value in bundle com.ibm.team.scm.common.
at com.ibm.team.repository.common.internal.util.ModelElementDescriptor$EvolutionDescriptorComponentVersionComparator.compare(ModelElementDescriptor.java:223)
at com.ibm.team.repository.common.internal.util.ModelElementDescriptor$EvolutionDescriptorComponentVersionComparator.compare(ModelElementDescriptor.java:1)
at java.util.TreeMap.compare(TreeMap.java:1188)
at java.util.TreeMap.put(TreeMap.java:531)
at java.util.TreeSet.add(TreeSet.java:255)
at com.ibm.team.repository.common.internal.util.ModelElementDescriptor.processEvolutionElement(ModelElementDescriptor.java:70)
at com.ibm.team.repository.common.internal.util.ModelElementDescriptor.processChild(ModelElementDescriptor.java:63)
at com.ibm.team.repository.common.transport.AbstractElementDescriptor.processChildren(AbstractElementDescriptor.java:725)
<snip the rest of the stack trace and the normal output>
Is Java 1.7 supported by this version of RTC/scm or do I have to use some other version of Java or RTC?
thanks.
2 answers
Which version of RTC are you running? This looks like a dup of Error in the log every time I start the client (Sun 1.7 VM) (213302), which was fixed in RTC 4.0.3.
Comments
showing 5 of 9
show 4 more comments
I get this exception, too, even when using RTC 4.0.4 on Win 7.
It occurs as soon as I try to get the team repository from TeamPlatform:
TeamPlatform.startup();
ITeamRepositoryService service = TeamPlatform.getTeamRepositoryService(); //<-- exception
It occurs as soon as I try to get the team repository from TeamPlatform:
TeamPlatform.startup();
ITeamRepositoryService service = TeamPlatform.getTeamRepositoryService(); //<-- exception
Comments
showing 5 of 11
show 6 more comments