Bug 1052886
| Summary: | jcr2vfs: test scenario migration ends with XML parsing exception | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Petr Široký <psiroky> | ||||
| Component: | Migration Tool | Assignee: | Neus Miras <nmirasch> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Petr Široký <psiroky> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 6.0.0 | CC: | atangrin, mbaluch, pzapataf, vigoyal | ||||
| Target Milestone: | ER1 | Keywords: | Regression, TestBlocker | ||||
| Target Release: | 6.0.1 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: |
Trying to use the migartion tool to migrate a test scenario from a JCR repo to GIT fails on JDK7. Use JDK6 to workaround this issue.
Cause:
Consequence:
Fix:
Result:
|
Story Points: | --- | ||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-08-06 19:56:51 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Petr Široký
2014-01-14 10:15:45 UTC
Created attachment 849858 [details]
JCR repo that will reproduce the issue.
I just noticed that the exception is thrown only when using JDK7 (OpenJDK or OracleJDK). When using JDK6 the migration seems to end successfully (at least no exception is thrown, need to check the migrated content too). JDK versions tested: OracleJDK version "1.7.0_51" -- FAILS OpenJDK version "1.7.0_45" -- FAILS OracleJDK version "1.6.0_35" -- WORKS Just retested with CR1 and the issue still persists. It was related with the Transformer class that at java version 1.6 adds '\n' after the xml header and at java version 1.7 no. The problem has been fixed changing the way to remove the generated xml header. Commit: 6.0.x https://github.com/droolsjbpm/drools-wb/commit/2e512c2cc9a1825007aac91397913dca6b0c5a90 Verified fixed in 6.0.1-ER1. |