Error creating work item with RTC 5 in Eclipse Luna
I have Eclipse Luna and upgraded my RTC plugins recently to 5.x. File->New->Work Item->Defect gives a dialog box with the following:
An internal error occurred during: "Creating Work Item". com.ibm.team.workitem.common.model.AttributeTypes (initialization failure)
I recently upgraded Luna from 3.x to 5.x client apis.
Accepted answer
Not a fix, but the solution was to start with a new Luna and install RTC into it from scratch, that is, not upgrade from 3.x.
Comments
That is why I was asking for What does "I recently upgraded Luna from 3.x to 5.x client apis." mean?
It is always safer to use a clean install of the correct version. Since there is no better specification what you did to upgrade, I suggest to take this a s a guideline.
So i will lower my expectations in the future.
Comments
Krzysztof Kaźmierczyk
Feb 17 '15, 7:38 a.m.Hi David,
Can you look into <your-workspace>/.metadata/.log file and provide what are the errors/stack traces there?
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Feb 17 '15, 8:18 a.m.Did you install Luna and then installed the RTC P2 client into it, or how did you get there? Which exact RTC version are you using?
What does "I recently upgraded Luna from 3.x to 5.x client apis." mean?
David Wood
Feb 17 '15, 11:06 a.m..log file has this (among others)
!ENTRY org.eclipse.core.jobs 4 2 2015-02-17 11:03:22.518
!MESSAGE An internal error occurred during: "Creating Work Item".
!STACK 0
java.lang.NoClassDefFoundError: com.ibm.team.workitem.api.common.ExtendedRichTextSupport
at com.ibm.team.workitem.common.model.AttributeTypes.<clinit>(AttributeTypes.java:148)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:236)
at com.ibm.team.workitem.common.internal.attributeValueProviders.FallbackProvider.getDefaultValue(FallbackProvider.java:36)
at com.ibm.team.workitem.common.internal.model.impl.AttributeImpl.getDefaultValue(AttributeImpl.java:889)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
...
David Wood
Feb 17 '15, 11:07 a.m.RTC-Client-p2Repo-5.0.2.zip. I installed the archive via Help->Install New Softwared->Archive