ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmytro Sen <d...@hortonworks.com>
Subject Review Request 43245: UpgradeCatalog222Test fails
Date Fri, 05 Feb 2016 08:26:35 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/43245/
-----------------------------------------------------------

Review request for Ambari, Dmitro Lisnichenko, Myroslav Papirkovskyy, and Vitalyi Brodetskyi.


Bugs: AMBARI-14935
    https://issues.apache.org/jira/browse/AMBARI-14935


Repository: ambari


Description
-------

java.lang.NullPointerException
	at org.apache.ambari.server.upgrade.UpgradeCatalog222.updateAMSConfigs(UpgradeCatalog222.java:148)
	at org.apache.ambari.server.upgrade.UpgradeCatalog222$$EnhancerByCGLIB$$9e5e3d8b.CGLIB$updateAMSConfigs$2(<generated>)
	at org.apache.ambari.server.upgrade.UpgradeCatalog222$$EnhancerByCGLIB$$9e5e3d8b$$FastClassByCGLIB$$7387ec4f.invoke(<generated>)
	at org.easymock.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
	at org.easymock.internal.ClassProxyFactory$MockMethodInterceptor.intercept(ClassProxyFactory.java:94)
	at org.apache.ambari.server.upgrade.UpgradeCatalog222$$EnhancerByCGLIB$$9e5e3d8b.updateAMSConfigs(<generated>)
	at org.apache.ambari.server.upgrade.UpgradeCatalog222Test.testExecuteDMLUpdates(UpgradeCatalog222Test.java:117)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
	at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:74)
	at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:211)
	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:67)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)


Diffs
-----

  ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog222Test.java
b701d78 

Diff: https://reviews.apache.org/r/43245/diff/


Testing
-------

Unit tests passed


Thanks,

Dmytro Sen


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message