Uploaded image for project: 'Apache HAWQ'
  1. Apache HAWQ
  2. HAWQ-993

Symbolic link (contrib/pgcrypto) pointing to non-existent location

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.0.0.0-incubating
    • Fix Version/s: 2.0.0.0-incubating
    • Component/s: Build
    • Labels:
      None

      Description

      The following symbolic link points to a non-existent location. This generates a potential error for the "rat" utility (see below):

      contrib/pgcrypto@ -> ../depends/thirdparty/postgres/contrib/pgcrypto

      java -Xms1024m -Xmx1024m -jar ~/Downloads/apache-rat-0.11/apache-rat-0.11.jar .
      Exception in thread "main" org.apache.rat.api.RatException: Cannot read header
          at org.apache.rat.report.claim.util.ClaimReporterMultiplexer.report(ClaimReporterMultiplexer.java:44)
          at org.apache.rat.walker.DirectoryWalker.report(DirectoryWalker.java:147)
          at org.apache.rat.walker.DirectoryWalker.processNonDirectories(DirectoryWalker.java:131)
          at org.apache.rat.walker.DirectoryWalker.process(DirectoryWalker.java:98)
          at org.apache.rat.walker.DirectoryWalker.processDirectory(DirectoryWalker.java:71)
          at org.apache.rat.walker.DirectoryWalker.processDirectories(DirectoryWalker.java:114)
          at org.apache.rat.walker.DirectoryWalker.process(DirectoryWalker.java:99)
          at org.apache.rat.walker.DirectoryWalker.run(DirectoryWalker.java:83)
          at org.apache.rat.Report.report(Report.java:418)
          at org.apache.rat.Report.report(Report.java:394)
          at org.apache.rat.Report.report(Report.java:366)
          at org.apache.rat.Report.styleReport(Report.java:346)
          at org.apache.rat.Report.main(Report.java:109)
      Caused by: org.apache.rat.document.RatDocumentAnalysisException: Cannot read header
          at org.apache.rat.analysis.DocumentHeaderAnalyser.analyse(DocumentHeaderAnalyser.java:45)
          at org.apache.rat.analysis.DefaultAnalyserFactory$DefaultAnalyser.analyse(DefaultAnalyserFactory.java:60)
          at org.apache.rat.document.impl.util.DocumentAnalyserMultiplexer.analyse(DocumentAnalyserMultiplexer.java:36)
          at org.apache.rat.report.claim.util.ClaimReporterMultiplexer.report(ClaimReporterMultiplexer.java:42)
          ... 12 more
      Caused by: java.io.FileNotFoundException: ./contrib/pgcrypto (No such file or directory)
          at java.io.FileInputStream.open(Native Method)
          at java.io.FileInputStream.<init>(FileInputStream.java:131)
          at java.io.FileReader.<init>(FileReader.java:72)
          at org.apache.rat.document.impl.FileDocument.reader(FileDocument.java:52)
          at org.apache.rat.analysis.DocumentHeaderAnalyser.analyse(DocumentHeaderAnalyser.java:40)
          ... 15 more
      ERROR:  'Pipe broken'
      ERROR:  'com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: Pipe broken'
      Exception in thread "Thread-0" org.apache.rat.ReportFailedRuntimeException: javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: Pipe broken
          at org.apache.rat.ReportTransformer.run(ReportTransformer.java:59)
          at java.lang.Thread.run(Thread.java:745)
      Caused by: javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: Pipe broken
          at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:755)
          at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:357)
          at org.apache.rat.ReportTransformer.transform(ReportTransformer.java:64)
          at org.apache.rat.ReportTransformer.run(ReportTransformer.java:57)
          ... 1 more
      Caused by: javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: Pipe broken
          at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.getDOM(TransformerImpl.java:584)
          at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:745)
          ... 4 more
      Caused by: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: Pipe broken
          at com.sun.org.apache.xalan.internal.xsltc.dom.XSLTCDTMManager.getDTM(XSLTCDTMManager.java:427)
          at com.sun.org.apache.xalan.internal.xsltc.dom.XSLTCDTMManager.getDTM(XSLTCDTMManager.java:215)
          at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.getDOM(TransformerImpl.java:562)
          ... 5 more
      
      Espino-Pivotal:~/workspace/HAWQ-projects/apache-hawq-src-2.0.0.0-incubating
      

        Attachments

          Activity

            People

            • Assignee:
              espino Ed Espino
              Reporter:
              espino Ed Espino
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: