[ https://issues.apache.org/jira/browse/HIVE-18849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16389038#comment-16389038 ]
Мирон commented on HIVE-18849: ------------------------------ This works with java 9 deployed as following: C:\dev\java standing on this directory C:\dev\git\hadoop\hive\standalone-metastore\target\classes with package.jdo under same java -classpath C:\dev\git\hadoop\hive\standalone-metastore\target\classes;C:\Users\hadoop\.m2\repository\org\datanucleus\datanucleus-core\5.1.7\datanucleus-core-5.1.7.jar;C:\Users\hadoop\.m2\repository\org\datanucleus\datanucleus-rdbms\5.1.6\datanucleus-rdbms-5.1.6.jar;C:\Users\hadoop\.m2\repository\org\datanucleus\javax.jdo\3.2.0-m8\javax.jdo-3.2.0-m8.jar;C:\Users\hadoop\.m2\repository\org\datanucleus\datanucleus-api-jdo\5.1.4\datanucleus-api-jdo-5.1.4.jar org.datanucleus.enhancer.DataNucleusEnhancer -v -api JDO C:\dev\git\hadoop\hive\standalone-metastore\target\classes\org\apache\hadoop\hive\metastore\model\MDatabase.class DataNucleusEnhancer version 5.1.6 ( latest release in the repository ) invoked manually works without issues, too. In other words, as far as code / tool goes, enhancer works. Takes a bit of an effort to learn the infrastructure to get to the details. Feel free to take over at any time, since I can be pulled into something else at any moment. For the moment assigning to self. > Java 9 Building "mvn clean package -Pdist -rf :hive-common" get Caused by: > java.lang.NullPointerException > --------------------------------------------------------------------------------------------------------- > > Key: HIVE-18849 > URL: https://issues.apache.org/jira/browse/HIVE-18849 > Project: Hive > Issue Type: Bug > Reporter: Мирон > Assignee: Мирон > Priority: Blocker > Attachments: Issue_Build_Complete_Log.txt, Issue_Stack_Trace.txt > > > 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. -- This message was sent by Atlassian JIRA (v7.6.3#76005)