Uploaded image for project: 'Content Translation Extended (CTX)'
  1. Content Translation Extended (CTX)
  2. EXCONTRANS-290

Cannot import Xliff document to workspace website after restarting server

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0.1
    • Component/s: None
    • Labels:
      None

      Description

      [Fatal Error] :1:55: Premature end of file.

      2018-08-20 14:58:12,499 ERROR a.translation.ext.core.helper.XliffTransporterImpl: Cannot import Xliff document to workspace website

      info.magnolia.objectfactory.MgnlInstantiationException: java.lang.reflect.InvocationTargetException

       ...

      at info.magnolia.translation.ext.core.helper.XliffTransporterImpl$1.exec(XliffTransporterImpl.java:150) [classes/:?]

      ...

      Caused by: java.lang.reflect.InvocationTargetException

      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_162]

      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_162]

      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_162]

      at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_162]

      at info.magnolia.objectfactory.ObjectManufacturer.newInstance(ObjectManufacturer.java:129) ~[magnolia-core-5.7.1.jar:?]

      ... 182 more

      Caused by: info.magnolia.translation.ext.core.translation.io.IllegalFormatException: Error parsing xliff file

      at info.magnolia.translation.ext.core.translation.io.reader.UnzippedXliffTranslationItemReader.<init>(UnzippedXliffTranslationItemReader.java:115) ~[classes/:?]

      ... 182 more

      Caused by: org.xml.sax.SAXParseException: Premature end of file.

      at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257) ~[?:1.8.0_162]

      at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339) ~[?:1.8.0_162]

      at info.magnolia.translation.ext.core.translation.io.reader.UnzippedXliffTranslationItemReader.<init>(UnzippedXliffTranslationItemReader.java:73) ~[classes/:?]

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                trung.luu Trung Luu
                Reporter:
                trung.luu Trung Luu
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1d Original Estimate - 1d
                  1d
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 1.25d
                  1.25d