It's all about the answers!

Ask a question

RTC 4.0.1 on RHEL 6.5 crashes system


Steven Frank (611) | asked May 04 '14, 9:23 p.m.
JAZZ DEVELOPER
I am running RTC Version: 4.0.1 (Build id: RTC-I20121113-2333) as an extension to Eclipse Juno SR2 (Build id: 20130225-0426). This seems to be the only compatible combination of recent versions that I could install.

Yet, I also experienced the same issue with the RTC standalone client 4.0.1.

First of all, I have already added "-Dorg.eclipse.swt.browser.DefaultType=mozilla" to my eclipse.ini file to workaround the "JVM Terminated. Exit Code=160" issue. ( "-Dorg.eclipse.swt.browser.UseWebKitGTK=true" worked as well.)

What I am experiencing is, RTC crashes my entire system (not just the app; I can't do anything except press the power button to shut off the computer). This happens consistently when doing certain things within Work Items. For example, this happens every time I click on the "SubComponent" drop down in a Defect. It also happens when I click on the drop down to update the progress in a Story.

A javacore* file is not created when this happens, but entries like the following are created in the RTC log file:

!ENTRY com.ibm.team.jface 4 0 2014-05-04 19:54:09.303
!MESSAGE Exception running 'Update Attribute 'target''
!STACK 0
java.lang.IllegalArgumentException: Comparison method violates its general contract!
    at java.util.TimSort.mergeLo(TimSort.java:758)
    at java.util.TimSort.mergeAt(TimSort.java:494)
    at java.util.TimSort.mergeCollapse(TimSort.java:421)
    at java.util.TimSort.sort(TimSort.java:225)
    at java.util.TimSort.sort(TimSort.java:184)
    at java.util.Arrays.sort(Arrays.java:670)
    at java.util.Collections.sort(Collections.java:228)
    at com.ibm.team.workitem.common.internal.model.IterationSelectionAlgorithm.addNextIterationWithEnddateAfterNow(IterationSelectionAlgorithm.java:101)
    at com.ibm.team.workitem.common.internal.model.IterationSelectionAlgorithm.getIterations(IterationSelectionAlgorithm.java:73)
    at com.ibm.team.workitem.common.internal.model.IterationAttributeType.getFilteredValueSet(IterationAttributeType.java:90)
    at com.ibm.team.workitem.common.internal.model.IterationAttributeType.getValueSet(IterationAttributeType.java:58)
    at com.ibm.team.workitem.common.internal.model.IterationAttributeType.getValueSet(IterationAttributeType.java:49)
    at com.ibm.team.workitem.common.internal.attributeValueProviders.FallbackProvider.getValueSet(FallbackProvider.java:45)
    at com.ibm.team.workitem.common.internal.model.impl.AttributeImpl.getValueSet(AttributeImpl.java:912)
    at com.ibm.team.workitem.common.internal.model.impl.AttributeImpl.getValueSet(AttributeImpl.java:901)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:618)
    at com.ibm.team.repository.common.internal.util.ItemStore$ItemInvocationHandler.invoke(ItemStore.java:597)
    at com.sun.proxy.$Proxy41.getValueSet(Unknown Source)
    at com.ibm.team.workitem.common.internal.FallbackValueSetProvider.getValueSet(FallbackValueSetProvider.java:30)
    at com.ibm.team.workitem.ide.ui.internal.editor.part.DecoratedHistoryCombo$ComboUpdaterJob.runInBackground(DecoratedHistoryCombo.java:86)
    at com.ibm.team.jface.internal.util.UIUpdateManager$BackgroundJob.runProtected(UIUpdateManager.java:58)
    at com.ibm.team.foundation.client.util.FoundationJob.run(FoundationJob.java:68)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

!ENTRY com.ibm.team.workitem.common 4 0 2014-05-04 19:56:33.247
!MESSAGE Error invoking default value provider 'com.ibm.team.workitem.valueproviders.DEFAULT_VALUE_PROVIDER._hw5DMNISEeOXkPakaVHWuA'
!STACK 0
java.lang.IllegalArgumentException: Default contributors configured but value none present in configuration (Work Item -1, Attribute 'Subscribed By')
    at com.ibm.team.workitem.common.internal.attributeValueProviders.CustomDefaultContributorsProvider.getDefaultValue(CustomDefaultContributorsProvider.java:33)
    at com.ibm.team.workitem.common.internal.attributeValueProviders.CustomDefaultContributorsProvider.getDefaultValue(CustomDefaultContributorsProvider.java:1)
    at com.ibm.team.workitem.common.internal.attributeValueProviders.AttributeValueProviderRegistry$SafeDefaultValueProvider.getDefaultValue(AttributeValueProviderRegistry.java:113)
    at com.ibm.team.workitem.common.internal.model.impl.AttributeImpl.getDefaultValue(AttributeImpl.java:887)
    at sun.reflect.GeneratedMethodAccessor119.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:618)
    at com.ibm.team.repository.common.internal.util.ItemStore$ItemInvocationHandler.invoke(ItemStore.java:597)
    at com.sun.proxy.$Proxy41.getDefaultValue(Unknown Source)
    at com.ibm.team.workitem.common.internal.WorkItemCommon.createWorkItem(WorkItemCommon.java:237)
    at com.ibm.team.workitem.client.internal.WorkItemWorkingCopyRegistry.createNewUnconnected(WorkItemWorkingCopyRegistry.java:601)
    at com.ibm.team.workitem.client.internal.WorkItemWorkingCopyRegistry.connectNew(WorkItemWorkingCopyRegistry.java:595)
    at com.ibm.team.workitem.client.internal.WorkItemWorkingCopyManager.connectNew(WorkItemWorkingCopyManager.java:94)
    at com.ibm.team.workitem.client.WorkItemOperation.run(WorkItemOperation.java:230)
    at com.ibm.team.workitem.client.WorkItemOperation.run(WorkItemOperation.java:189)
    at com.ibm.team.workitem.rcp.ui.internal.actions.NewWorkItemAction$2.runProtected(NewWorkItemAction.java:338)
    at com.ibm.team.foundation.client.util.FoundationJob.run(FoundationJob.java:68)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

!ENTRY com.ibm.team.jface 4 0 2014-05-04 19:56:45.699
!MESSAGE Exception running 'Update Attribute 'target''
!STACK 0
java.lang.IllegalArgumentException: Comparison method violates its general contract!
    at java.util.TimSort.mergeLo(TimSort.java:758)
    at java.util.TimSort.mergeAt(TimSort.java:494)
    at java.util.TimSort.mergeCollapse(TimSort.java:421)
    at java.util.TimSort.sort(TimSort.java:225)
    at java.util.TimSort.sort(TimSort.java:184)
    at java.util.Arrays.sort(Arrays.java:670)
    at java.util.Collections.sort(Collections.java:228)
    at com.ibm.team.workitem.common.internal.model.IterationSelectionAlgorithm.addNextIterationWithEnddateAfterNow(IterationSelectionAlgorithm.java:101)
    at com.ibm.team.workitem.common.internal.model.IterationSelectionAlgorithm.getIterations(IterationSelectionAlgorithm.java:73)
    at com.ibm.team.workitem.common.internal.model.IterationAttributeType.getFilteredValueSet(IterationAttributeType.java:90)
    at com.ibm.team.workitem.common.internal.model.IterationAttributeType.getValueSet(IterationAttributeType.java:58)
    at com.ibm.team.workitem.common.internal.model.IterationAttributeType.getValueSet(IterationAttributeType.java:49)
    at com.ibm.team.workitem.common.internal.attributeValueProviders.FallbackProvider.getValueSet(FallbackProvider.java:45)
    at com.ibm.team.workitem.common.internal.model.impl.AttributeImpl.getValueSet(AttributeImpl.java:912)
    at com.ibm.team.workitem.common.internal.model.impl.AttributeImpl.getValueSet(AttributeImpl.java:901)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:618)
    at com.ibm.team.repository.common.internal.util.ItemStore$ItemInvocationHandler.invoke(ItemStore.java:597)
    at com.sun.proxy.$Proxy41.getValueSet(Unknown Source)
    at com.ibm.team.workitem.common.internal.FallbackValueSetProvider.getValueSet(FallbackValueSetProvider.java:30)
    at com.ibm.team.workitem.ide.ui.internal.editor.part.DecoratedHistoryCombo$ComboUpdaterJob.runInBackground(DecoratedHistoryCombo.java:86)
    at com.ibm.team.jface.internal.util.UIUpdateManager$BackgroundJob.runProtected(UIUpdateManager.java:58)
    at com.ibm.team.foundation.client.util.FoundationJob.run(FoundationJob.java:68)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

Here are a few more details about my configuration:

Eclipse IDE for Java EE Developers    1.5.2.20130211-1820    epp.package.jee
Eclipse Platform    4.2.2.M20130204-1200    org.eclipse.platform.ide
Rational Team Concert Client Feature    4.1.0.RTC-I20121113-2333    com.ibm.team.rtc.client.feature.feature.group    IBM

java.fullversion=JRE 1.7.0 IBM J9 2.6 Linux amd64-64 Compressed References 20140106_181350 (JIT enabled, AOT enabled)
J9VM - R26_Java726_SR6_20140106_1601_B181350
JIT  - r11.b05_20131003_47443.02
GC   - R26_Java726_SR6_20140106_1601_B181350_CMPRSS
J9CL - 20140106_181350
java.home=/usr/lib/jvm/java-1.7.0-ibm-1.7.0.6.1.x86_64/jre
java.io.tmpdir=/tmp
java.library.path=/usr/lib/jvm/java-1.7.0-ibm-1.7.0.6.1.x86_64/jre/lib/amd64/compressedrefs:/usr/lib/jvm/java-1.7.0-ibm-1.7.0.6.1.x86_64/jre/lib/amd64:/usr/lib
java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=pxa6470sr6fp1-20140108_01 (SR6 FP1)
java.specification.name=Java Platform API Specification
java.specification.vendor=Sun Microsystems Inc.
java.specification.version=1.7
java.util.prefs.PreferencesFactory=java.util.prefs.FileSystemPreferencesFactory
java.vendor=IBM Corporation
java.vendor.url=http://www.ibm.com/
java.version=1.7.0

Red Hat Enterprise Linux Workstation
Release 6.5 (Santiago)
Kernel Linux 2.6.32-431.11.2.el6.el6.x86_64
GNOME 2.28.2

Lenovo ThinkPad W530
16 GB RAM

Is there anything I can do to resolve this issue?

Thanks for your help.

-Steven

3 answers



permanent link
Tim Mok (6.6k38) | answered Jul 09 '14, 3:04 p.m.
JAZZ DEVELOPER
Eclipse 4.2.2 support didn't officially come until RTC 4.0.3.


You'll notice it says Eclipse 4.2.2 is supported. This was not present in RTC 4.0.1.

-1
permanent link
Monty Kamath (0) | answered Jun 18 '14, 10:13 p.m.
 I have the same problem.  Did you ever find a work around Steven?

Comments
Steven Frank commented Jul 09 '14, 11:56 a.m.
JAZZ DEVELOPER

Hi Monty,

I wish I had a better answer, but I have not found a good  workaround that I would recommend. I have been using this configuration with mixed results:

Eclipse: Juno Service Release 2 (Build id: 20130225-0426)
RTC: Version 4.0.1 (Build id: RTC-I20121113-2333)

This at least allows me to work with my projects, open repository workspace files in the appropriate editors, and see my RTC work items within the same client. However, there are several things that I cannot do without crashing my entire system, such as selecting certain drop-downs in RTC  Work Items (e.g., to update Status), and there are other things like opening Attachments that usually crash the Eclipse client. So, I resort to using the Web UI to do those things.

I've tried a number of configuration combos, and this one has been the most stable. I have researched this quite a bit, but I have not found any solutions. Maybe one day I'll get adventurous and check out later releases to see if I can find an updated combo that works better.

...Steven


permanent link
Donald Nong (14.5k414) | answered May 04 '14, 9:58 p.m.
Hi Steven,
If the entire system crashes, something outside of Eclipse/JVM goes really bad. The fact that you cannot find any javacore files is a hint that the JVM does not even get a chance to respond to such a fault. I would suggest you check the Linux system log and see what you can find there.

Your answer


Register or 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.