Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-18849

Java 9 Building "mvn clean package -Pdist -rf :hive-common" get Caused by: java.lang.NullPointerException

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Workaround
    • None
    • None
    • None
    • None
    • User found solution. Uncertain if this fits enterprise. Limited findings, enough to address issue, shared. More will be shared at a later time, as there are more apparent build failures with other modules.

    Description

      Please see attached stack trace, both, brief and complete capture, both using -X verbose output maven flag.

      Irrespective of the true cause, it would be very nice if this message of build tool ( maven )

      ------------------

      Caused by: java.lang.NullPointerException
          at com.sun.tools.javac.main.JavaCompiler.readSourceFile (JavaCompiler.java:825)
          at com.sun.tools.javac.processing.JavacProcessingEnvironment$ImplicitCompleter.complete (JavacProcessingEnvironment.java:1510)
          at com.sun.tools.javac.code.Symbol.complete (Symbol.java:633)

      ------------------

      carried actual file name, that was attempted reading and failed with exception.

       

      Git repository cloned from https://github.com/apache/hive.git yesterday - today overnight.

      Attachments

        1. Issue_Build_Complete_Log.txt
          883 kB
          Мирон
        2. Issue_Stack_Trace.txt
          11 kB
          Мирон
        3. metastore.pom.xml.working
          32 kB
          Мирон

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            kgyrtkirk Zoltan Haindrich Assign to me
            Miron1 Мирон
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment