[ https://issues.apache.org/jira/browse/AMBARI-25197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16797156#comment-16797156 ]
Hudson commented on AMBARI-25197: --------------------------------- SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #10479 (See [https://builds.apache.org/job/Ambari-trunk-Commit/10479/]) [AMBARI-25197] NullPointerException if there is no proper HDP/HDF rep… (ncole: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=2bc4779a1e6aabe638101fc8b0e28cd1963d6b13]) * (edit) ambari-server/src/main/java/org/apache/ambari/server/stack/UpdateActiveRepoVersionOnStartup.java > NullPointerException if there is no proper HDP/HDF repo version folder > ---------------------------------------------------------------------- > > Key: AMBARI-25197 > URL: https://issues.apache.org/jira/browse/AMBARI-25197 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.7.3 > Reporter: amarnath reddy pappu > Assignee: amarnath reddy pappu > Priority: Major > Labels: pull-request-available > Time Spent: 5.5h > Remaining Estimate: 0h > > Ambari server fails with "NullPointerException" if cluster is pointing to > specific HDP/HDF/xxx > and if that folder does not exist in resources folders. > Should do NULL check and then print proper meaning full error message so that > customer's can install/correct that. > {noformat} > 15 Aug 2017 15:54:02,685 INFO [Stack Version Loading Thread] > LatestRepoCallable:80 - Loading latest URL info for stack HDP-2.3 from > http://public-repo-1.hortonworks.com/HDP/hdp_urlinfo.json > 15 Aug 2017 15:54:02,691 ERROR [main] AmbariServer:929 - Failed to run the > Ambari Server > org.apache.ambari.server.AmbariException: An error occured during updating > current repository versions with stack repositories. > at > org.apache.ambari.server.stack.UpdateActiveRepoVersionOnStartup.process(UpdateActiveRepoVersionOnStartup.java:108) > at > org.apache.ambari.server.orm.AmbariJpaLocalTxnInterceptor.invoke(AmbariJpaLocalTxnInterceptor.java:128) > at > org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:921) > Caused by: java.lang.NullPointerException > at > org.apache.ambari.server.stack.UpdateActiveRepoVersionOnStartup.process(UpdateActiveRepoVersionOnStartup.java:94) > ... 2 more > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)