[
https://issues.apache.org/jira/browse/EAGLE-508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15446490#comment-15446490
]
ASF GitHub Bot commented on EAGLE-508:
--------------------------------------
GitHub user pkuwm opened a pull request:
https://github.com/apache/incubator-eagle/pull/401
[EAGLE-508] Jenkins building failed on build #71
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/pkuwm/incubator-eagle EAGLE-508
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-eagle/pull/401.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #401
----
commit bf9173d15ab3fcfe380835d0aff8b6a2808f4c16
Author: pkuwm <[email protected]>
Date: 2016-08-29T17:25:29Z
[EAGLE-508] Jenkins building failed on build #71
----
> Jenkins building failed on build #71
> ------------------------------------
>
> Key: EAGLE-508
> URL: https://issues.apache.org/jira/browse/EAGLE-508
> Project: Eagle
> Issue Type: Bug
> Affects Versions: v0.5.0
> Reporter: Huizhi Lu
> Assignee: Huizhi Lu
> Fix For: v0.5.0
>
>
> Root cause: zookeeper.getState() may be null so zookeeper.getState().equals()
> would throw NullPointerException.
> Solution: CuratorFrameworkState.STOPPED.equals(zookeeper.getState())
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running com.apache.eagle.service.app.TestServiceAppWithZk
> java.lang.NullPointerException
> at
> org.apache.eagle.alert.utils.ZookeeperEmbedded.shutdown(ZookeeperEmbedded.java:55)
> at
> com.apache.eagle.service.app.TestServiceAppWithZk.tearDown(TestServiceAppWithZk.java:76)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
> at
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
> at
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
> at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
> at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
> at
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
> at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120)
> at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103)
> at org.apache.maven.surefire.Surefire.run(Surefire.java:169)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
> at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 3.231 sec <<<
> FAILURE!
> Results :
> Tests in error:
> testMain(com.apache.eagle.service.app.TestServiceAppWithZk)
> testMain(com.apache.eagle.service.app.TestServiceAppWithZk)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)