Uploaded image for project: 'Proxy'
  1. Proxy
  2. PROXY-130

prettyFormat Transformation fails in java7

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.6.0
    • Fix Version/s: 4.3.3-NEWSTYLE
    • Labels:
      None
    • Environment:
      java-7-oracle
    • Account:
      Maintenance 2016 (MAINTENANCE2016)

      Description

      The method prettyFormat() in MessageBean throws the following error :

      ERROR [net.ihe.gazelle.proxy.gui.MessageBean] (http-/0.0.0.0:8080-8) java.lang.IllegalArgumentException: Unknown configuration option indent-number

      The indentation seams to fail in the view message (dicom, syslog, etc.) page. The following code is the problem (line 303 of MessageBean.java) :

      TransformerFactory transformerFactory = TransformerFactory.newInstance();
      transformerFactory.setAttribute("indent-number", indent);

      "indent-number" is not supported by every JDK, and maybe no more supported at all in java7. Require more investigation.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gthomazon Guillaume Thomazon
                Reporter:
                ceoche Cédric EOCHE-DUVAL
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4 hours, 30 minutes Original Estimate - 4 hours, 30 minutes
                  4h 30m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 hours
                  5h

                    Potential Duplicates