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

Failure on refactorRequirements.

Ok,

I have worked through almost entire QM repository doing the refactorRequirements, but have gotten to one that fails with this stack:


2012-03-08 16:00:48,239 Looking up Quality Manager project area: 'Release 7.5'.
2012-03-08 16:00:48,294 Looking up target Requirements Composer artifact container:
2012-03-08 16:00:48,312 Connecting to Quality Manager repository for server-driven migration tasks.
2012-03-08 16:00:51,227 java.lang.RuntimeException: Error serializing model
com.ibm.team.repository.common.transport.ServiceMethodInvocationError: java.lang.RuntimeException: Error serializing model
at com.ibm.team.repository.transport.client.RemoteTeamService.getAppropriateException(RemoteTeamService.java:647)
at com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:510)
at com.ibm.team.repository.transport.client.RemoteTeamService.invoke(RemoteTeamService.java:202)
at com.ibm.team.repository.transport.client.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:43)
at $Proxy14.migrateRequirements(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
...
at com.ibm.team.repository.common.internal.marshal.util.MarshallerUtil.decodeExceptions(MarshallerUtil.java:326)
at com.ibm.team.repository.common.internal.marshal.util.MarshallerUtil.decodeExceptions(MarshallerUtil.java:296)
at com.ibm.team.repository.common.internal.marshal.util.MarshallerUtil.decodeFault(MarshallerUtil.java:261)
at com.ibm.team.repository.transport.client.RemoteTeamService.constructExceptionFromFault(RemoteTeamService.java:622)
at com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:497)
... 27 more
Caused by:
com.hp.hpl.jena.shared.JenaException: <Remote>
cannot encode (char) \u0019 in context XML
at com.hp.hpl.jena.rdf.model.impl.Util.substituteEntitiesInElementContent(Util.java:188)
at com.hp.hpl.jena.xmloutput.impl.Unparser.wValueString(Unparser.java:510)
at com.hp.hpl.jena.xmloutput.impl.Unparser.wPropertyEltValueString(Unparser.java:495)
at com.hp.hpl.jena.xmloutput.impl.Unparser.wPropertyEltValue(Unparser.java:473)
at com.hp.hpl.jena.xmloutput.impl.Unparser.wPropertyElt(Unparser.java:339)
at com.hp.hpl.jena.xmloutput.impl.Unparser.wPropertyEltStar(Unparser.java:811)
at com.hp.hpl.jena.xmloutput.impl.Unparser.wTypedNodeOrDescriptionLong(Unparser.java:797)
at com.hp.hpl.jena.xmloutput.impl.Unparser.wTypedNodeOrDescription(Unparser.java:727)
at com.hp.hpl.jena.xmloutput.impl.Unparser.wTypedNode(Unparser.java:700)
at com.hp.hpl.jena.xmloutput.impl.Unparser.wObj(Unparser.java:640)
at com.hp.hpl.jena.xmloutput.impl.Unparser.wObjStar(Unparser.java:317)
at com.hp.hpl.jena.xmloutput.impl.Unparser.wRDF(Unparser.java:298)
at com.hp.hpl.jena.xmloutput.impl.Unparser.write(Unparser.java:200)
at com.hp.hpl.jena.xmloutput.impl.Abbreviated.writeBody(Abbreviated.java:143)
at com.hp.hpl.jena.xmloutput.impl.BaseXMLWriter.writeXMLBody(BaseXMLWriter.java:500)
at com.hp.hpl.jena.xmloutput.impl.BaseXMLWriter.write(BaseXMLWriter.java:472)
at com.hp.hpl.jena.xmloutput.impl.Abbreviated.write(Abbreviated.java:128)
at com.ibm.rqm.requirement.service.rmproxy.RmProxyUtils.serializeModelToString(RmProxyUtils.java:238)
... 110 more


Obviously something about the u0019 isn't appreciated. This particular project has 161 requirements and there have been some that were refactored as the RM project has 28 Requirements.

Any "super-secret" options that can be given to refactorRequirements to work through this ?

Kevin

0 votes



3 answers

Permanent link
- which version of RQM are you using?
- are the data you're trying to refactor in english? is there any double byte or multi byte character in the data you're trying to refactor?

0 votes


Permanent link
Hi,
Sounds the content of the request contents characters that are not supported by RDF. Can you try to remove the description of the requirement who failed to migrate and try again?

Or
another alternative is, if you don't mind miss the description in PrimiaryText of RRC (it will still in the description), you can run the refactorRequirements commend again by set the toPrimaryText to false.

https://publib.boulder.ibm.com/infocenter/clmhelp/v3r0m1/index.jsp?topic=%2Fcom.ibm.jazz.install.doc%2Ftopics%2Fr_repotools_refactorrequirements.html

0 votes


Permanent link
- which version of RQM are you using?
- are the data you're trying to refactor in english? is there any double byte or multi byte character in the data you're trying to refactor?



RQM 3.0.1.2

I thought the '\u0019' should give that away.

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

Question asked: Mar 08 '12, 4:14 p.m.

Question was seen: 7,913 times

Last updated: Mar 08 '12, 4:14 p.m.

Confirmation Cancel Confirm