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

error about: LineDelimiterVerifier.ErrorMismatchedDelimiters

I am getting this when trying to syncronize with Clearcase UCM :

javax.wvcm.WvcmException: Could not: Failed to write content to location: FileSysPath|base/apt_generated/com/ibm/e2/util/FakeDatabaseException$FactoryImpl.java||Component|URI:itemOid/com.ibm.team.scm.Component/_3bqo0FfzEd2aSMbyxlxl7A||Workspace|URI:itemOid/com.ibm.team.scm.Workspace/_sS6P4FfsEd2aR8byxlxl7A for location: FileSysPath|base/apt_generated/com/ibm/e2/util/FakeDatabaseException$FactoryImpl.java||Component|URI:itemOid/com.ibm.team.scm.Component/_3bqo0FfzEd2aSMbyxlxl7A||Workspace|URI:itemOid/com.ibm.team.scm.Workspace/_sS6P4FfsEd2aR8byxlxl7A
at com.ibm.team.connector.scm.client.JzRepoResource.wrapExceptionGivenExternalizedMsg(JzRepoResource.java:1358)
at com.ibm.team.connector.scm.client.JzRepoControllableResource.doWriteContent(JzRepoControllableResource.java:459)
at com.ibm.rational.wvcm.ri.srvc.WvcmService.doWriteContent(WvcmService.java:832)
at com.ibm.rational.wvcm.ri.impl.WvcmServiceConverter.doWriteContent(WvcmServiceConverter.java:494)
at com.ibm.rational.wvcm.ri.impl.ResourceImpl.doWriteContent(ResourceImpl.java:238)
at com.ibm.rational.wvcm.interop.InteropStream.copyVersionToCR(InteropStream.java:1495)
at com.ibm.rational.wvcm.interop.InteropStream.bindVersionHistory(InteropStream.java:1315)
at com.ibm.rational.wvcm.interop.InteropStream.bindVersionHistory(InteropStream.java:1296)
at com.ibm.rational.wvcm.interop.InteropStream.bindVersionHistory(InteropStream.java:1296)
at com.ibm.rational.wvcm.interop.InteropStream.bindVersionHistory(InteropStream.java:1296)
at com.ibm.rational.wvcm.interop.InteropStream.bindVersionHistory(InteropStream.java:1296)
at com.ibm.rational.wvcm.interop.InteropStream.bindVersionHistory(InteropStream.java:1296)
at com.ibm.rational.wvcm.interop.InteropStream.bringoverFolder(InteropStream.java:1018)
at com.ibm.rational.wvcm.interop.InteropStream.bringoverFolders(InteropStream.java:904)
at com.ibm.rational.wvcm.interop.InteropStream.bringoverChanges(InteropStream.java:855)
at com.ibm.rational.wvcm.interop.InteropStream.bringoverTree(InteropStream.java:1775)
at com.ibm.rational.wvcm.interop.InteropStream.bringoverTgtClone(InteropStream.java:2334)
at com.ibm.rational.wvcm.interop.InteropStream.internalSetCloneRoot(InteropStream.java:2462)
at com.ibm.rational.wvcm.interop.InteropStream.internalSetCloneRoots(InteropStream.java:2572)
at com.ibm.rational.wvcm.interop.InteropStream.sync(InteropStream.java:3246)
at com.ibm.team.connector.scm.operations.ConnectorOps.synchronizeStream(ConnectorOps.java:158)
at com.ibm.team.connector.scm.task.ConnectorTasks.updateBuildResult(ConnectorTasks.java:87)
at com.ibm.team.build.ant.task.AbstractPublisherTask.doExecute(AbstractPublisherTask.java:107)
at com.ibm.team.build.ant.task.AbstractTeamBuildTask.execute(AbstractTeamBuildTask.java:419)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at org.apache.tools.ant.Main.runBuild(Main.java:698)
at org.apache.tools.ant.Main.startAnt(Main.java:199)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: javax.wvcm.WvcmException: Could not commit change to repository
at com.ibm.team.connector.scm.client.JzRepoControllableResource.doWriteContent(JzRepoControllableResource.java:536)
at com.ibm.team.connector.scm.client.JzRepoControllableResource.doWriteContent(JzRepoControllableResource.java:439)
... 39 more
Caused by: com.ibm.team.repository.common.TeamRepositoryException: CRJAZ0040I I/O error preprocessing the stream: !LineDelimiterVerifier.ErrorMismatchedDelimiters!
at com.ibm.team.repository.client.internal.ContentManager$StreamLengthUtility.run(ContentManager.java:260)
at com.ibm.team.repository.client.internal.ContentManager.storeContent(ContentManager.java:400)
at com.ibm.team.connector.scm.client.JzRepoControllableResource.createContent(JzRepoControllableResource.java:743)
at com.ibm.team.connector.scm.client.JzRepoControllableResource.doWriteContent(JzRepoControllableResource.java:497)
... 40 more
Caused by: com.ibm.team.repository.common.utils.ContentLineDelimiterError: !LineDelimiterVerifier.ErrorMismatchedDelimiters!
at com.ibm.team.repository.common.utils.LineDelimiterVerifier.validateLineDelimiter(LineDelimiterVerifier.java:82)
at com.ibm.team.repository.common.utils.VerifyConvertToLFInputStream.read(VerifyConvertToLFInputStream.java:147)
at java.io.Reader.read(Reader.java:143)
at com.ibm.team.repository.common.utils.ReaderToInputStream.read(ReaderToInputStream.java:138)
at java.io.FilterInputStream.read(FilterInputStream.java:134)
at com.ibm.team.repository.common.utils.HashComputingInputStream.read(HashComputingInputStream.java:40)
at com.ibm.team.repository.client.internal.ContentManager$StreamLengthUtility.run(ContentManager.java:203)
... 43 more

0 votes



4 answers

Permanent link
I've created defect 59183 for this. Let's continue the discussion about
it there.

In particular, this look like an error we've seen when there are special
characters in the file, and we've gotten the character-encoding
declaration wrong. Could you check to see if this file has any special
characters (at-sign, copyright-sign, etc ...)?

Cheers,
Geoff


abaror wrote:
I am getting this when trying to syncronize with Clearcase UCM :

javax.wvcm.WvcmException: Could not: Failed to write content to
location:
FileSysPath|base/apt_generated/com/ibm/e2/util/FakeDatabaseException$FactoryImpl.java||Component|URI:itemOid/com.ibm.team.scm.Component/_3bqo0FfzEd2aSMbyxlxl7A||Workspace|URI:itemOid/com.ibm.team.scm.Workspace/_sS6P4FfsEd2aR8byxlxl7A
for location:
FileSysPath|base/apt_generated/com/ibm/e2/util/FakeDatabaseException$FactoryImpl.java||Component|URI:itemOid/com.ibm.team.scm.Component/_3bqo0FfzEd2aSMbyxlxl7A||Workspace|URI:itemOid/com.ibm.team.scm.Workspace/_sS6P4FfsEd2aR8byxlxl7A
at
com.ibm.team.connector.scm.client.JzRepoResource.wrapExceptionGivenExternalizedMsg(JzRepoResource.java:1358)
at
com.ibm.team.connector.scm.client.JzRepoControllableResource.doWriteContent(JzRepoControllableResource.java:459)
at
com.ibm.rational.wvcm.ri.srvc.WvcmService.doWriteContent(WvcmService.java:832)
at
com.ibm.rational.wvcm.ri.impl.WvcmServiceConverter.doWriteContent(WvcmServiceConverter.java:494)
at
com.ibm.rational.wvcm.ri.impl.ResourceImpl.doWriteContent(ResourceImpl.java:238)
at
com.ibm.rational.wvcm.interop.InteropStream.copyVersionToCR(InteropStream.java:1495)
at
com.ibm.rational.wvcm.interop.InteropStream.bindVersionHistory(InteropStream.java:1315)
at
com.ibm.rational.wvcm.interop.InteropStream.bindVersionHistory(InteropStream.java:1296)
at
com.ibm.rational.wvcm.interop.InteropStream.bindVersionHistory(InteropStream.java:1296)
at
com.ibm.rational.wvcm.interop.InteropStream.bindVersionHistory(InteropStream.java:1296)
at
com.ibm.rational.wvcm.interop.InteropStream.bindVersionHistory(InteropStream.java:1296)
at
com.ibm.rational.wvcm.interop.InteropStream.bindVersionHistory(InteropStream.java:1296)
at
com.ibm.rational.wvcm.interop.InteropStream.bringoverFolder(InteropStream.java:1018)
at
com.ibm.rational.wvcm.interop.InteropStream.bringoverFolders(InteropStream.java:904)
at
com.ibm.rational.wvcm.interop.InteropStream.bringoverChanges(InteropStream.java:855)
at
com.ibm.rational.wvcm.interop.InteropStream.bringoverTree(InteropStream.java:1775)
at
com.ibm.rational.wvcm.interop.InteropStream.bringoverTgtClone(InteropStream.java:2334)
at
com.ibm.rational.wvcm.interop.InteropStream.internalSetCloneRoot(InteropStream.java:2462)
at
com.ibm.rational.wvcm.interop.InteropStream.internalSetCloneRoots(InteropStream.java:2572)
at
com.ibm.rational.wvcm.interop.InteropStream.sync(InteropStream.java:3246)
at
com.ibm.team.connector.scm.operations.ConnectorOps.synchronizeStream(ConnectorOps.java:158)
at
com.ibm.team.connector.scm.task.ConnectorTasks.updateBuildResult(ConnectorTasks.java:87)
at
com.ibm.team.build.ant.task.AbstractPublisherTask.doExecute(AbstractPublisherTask.java:107)
at
com.ibm.team.build.ant.task.AbstractTeamBuildTask.execute(AbstractTeamBuildTask.java:419)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at org.apache.tools.ant.Main.runBuild(Main.java:698)
at org.apache.tools.ant.Main.startAnt(Main.java:199)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: javax.wvcm.WvcmException: Could not commit change to
repository
at
com.ibm.team.connector.scm.client.JzRepoControllableResource.doWriteContent(JzRepoControllableResource.java:536)
at
com.ibm.team.connector.scm.client.JzRepoControllableResource.doWriteContent(JzRepoControllableResource.java:439)
... 39 more
Caused by: com.ibm.team.repository.common.TeamRepositoryException:
CRJAZ0040I I/O error preprocessing the stream:
!LineDelimiterVerifier.ErrorMismatchedDelimiters!
at
com.ibm.team.repository.client.internal.ContentManager$StreamLengthUtility.run(ContentManager.java:260)
at
com.ibm.team.repository.client.internal.ContentManager.storeContent(ContentManager.java:400)
at
com.ibm.team.connector.scm.client.JzRepoControllableResource.createContent(JzRepoControllableResource.java:743)
at
com.ibm.team.connector.scm.client.JzRepoControllableResource.doWriteContent(JzRepoControllableResource.java:497)
... 40 more
Caused by:
com.ibm.team.repository.common.utils.ContentLineDelimiterError:
!LineDelimiterVerifier.ErrorMismatchedDelimiters!
at
com.ibm.team.repository.common.utils.LineDelimiterVerifier.validateLineDelimiter(LineDelimiterVerifier.java:82)
at
com.ibm.team.repository.common.utils.VerifyConvertToLFInputStream.read(VerifyConvertToLFInputStream.java:147)
at java.io.Reader.read(Reader.java:143)
at
com.ibm.team.repository.common.utils.ReaderToInputStream.read(ReaderToInputStream.java:138)
at java.io.FilterInputStream.read(FilterInputStream.java:134)
at
com.ibm.team.repository.common.utils.HashComputingInputStream.read(HashComputingInputStream.java:40)
at
com.ibm.team.repository.client.internal.ContentManager$StreamLengthUtility.run(ContentManager.java:203)
... 43 more

0 votes


Permanent link
I saw the same error for one file. That was a MS Word file. When trying to open the file from Windows Explorer, it shows "select the encoding that makes your document readable.". I planned to convert the file to make it readable outside CC/RTC first and then try RTC/CC sync. But this cannot be done until the weekend (working in production environment).

0 votes


Permanent link
I am currently stuck by defect 59183 during a pilot setup phase, because the import (8000 files from CC) always takes several hours until the next problematic file contents (i.e. CR and CR/LF mixes, as well as special caracters, ...) appears. I'm looking for Perl script, that discovers all types problematic file content
(CR/LF-LF is already done by Perl statements like
$ux_lines += ($_ =~ m/\n/);
$win_lines += ($_ =~ m/\r\n/);
)
beforehand.
Any hints are greatly appreciated.

Thanks in advance
Oliver

0 votes


Permanent link
We hope to have an integration build available by the end of the week
that you can use to workaround this problem.

In general though, you should break up your large imports into several
smaller sub-tree imports, and then replace them with a single sync root
once everything is successfully imported. For details, see:
https://jazz.net/learn/LearnItem.jsp?href=content/tech-notes/rational-team-concert-1_0-cc-and-cq-connectors-deployment-guide/index.html

Cheers,
Geoff

oliver.kesper.de.ibm.com wrote:
I am currently stuck by defect 59183 during a pilot setup phase,
because the import (8000 files from CC) always takes several hours
until the next problematic file contents (i.e. CR and CR/LF mixes, as
well as special caracters, ...) appears. I'm looking for Perl script,
that discovers all types problematic file content
(CR/LF-LF is already done by Perl statements like
$ux_lines += ($_ =~ m/\n/);
$win_lines += ($_ =~ m/\r\n/);
)
beforehand.
Any hints are greatly appreciated.

Thanks in advance
Oliver

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: Jul 22 '08, 10:01 a.m.

Question was seen: 6,378 times

Last updated: Jul 22 '08, 10:01 a.m.

Confirmation Cancel Confirm