Return-Path: X-Original-To: apmail-ignite-dev-archive@minotaur.apache.org Delivered-To: apmail-ignite-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3DA1A17C1E for ; Tue, 15 Sep 2015 10:55:18 +0000 (UTC) Received: (qmail 50739 invoked by uid 500); 15 Sep 2015 10:55:08 -0000 Delivered-To: apmail-ignite-dev-archive@ignite.apache.org Received: (qmail 50698 invoked by uid 500); 15 Sep 2015 10:55:08 -0000 Mailing-List: contact dev-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list dev@ignite.apache.org Received: (qmail 50686 invoked by uid 99); 15 Sep 2015 10:55:08 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Sep 2015 10:55:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 04932C0041 for ; Tue, 15 Sep 2015 10:55:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.131 X-Spam-Level: *** X-Spam-Status: No, score=3.131 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id UsoTawWXnaR8 for ; Tue, 15 Sep 2015 10:54:57 +0000 (UTC) Received: from mail-ob0-f180.google.com (mail-ob0-f180.google.com [209.85.214.180]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 5A97127D45 for ; Tue, 15 Sep 2015 10:54:56 +0000 (UTC) Received: by obbda8 with SMTP id da8so131091476obb.1 for ; Tue, 15 Sep 2015 03:54:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=dwYf3Oea7nZzoauqeeoNS2XG+YxIMaS2rsUV//0xXmM=; b=MzSiX9Re1ZkROXKXPux4uMCwg675vfc8Lo6tzR2Mv1R1BmLO2gS0TThxRuaDPulLwe wLTSUBil8nmu+1McLf1Ed6x52ResHSnbj4sJsYtApXinxJYdO3yW6z+PSx6FIcZBkUyY 8Cm/TwOdTQ7k9GVp4b1Rb0CCvAl/OqNqWlVf9lCQVtzhKz6HEbiUnhKkOKzBoOOKReDj w8jGE5YhV18dW6G3i53FU9AfZ33Sj4MStN/EBD9KtjT2zoYWG+vaBL1tzhHCjCmI1uGw 1FMRlaDJFXYP5YQ71a5vDwYLnECWd9brx3QeKywfskZ4fLCUOhb0tkLnKibCMZcrcWHc Mqmw== MIME-Version: 1.0 X-Received: by 10.60.81.7 with SMTP id v7mr16768560oex.48.1442314489208; Tue, 15 Sep 2015 03:54:49 -0700 (PDT) Received: by 10.202.63.11 with HTTP; Tue, 15 Sep 2015 03:54:49 -0700 (PDT) Date: Tue, 15 Sep 2015 16:24:49 +0530 Message-ID: Subject: Anyone faced this issue while writing unit tests. Please help From: chandresh pancholi To: dev@ignite.apache.org Content-Type: multipart/alternative; boundary=047d7b417669c8a8b2051fc702bd --047d7b417669c8a8b2051fc702bd Content-Type: text/plain; charset=UTF-8 Hi Igniters, I am facing this issue and i guess i am missing some dependency. Please help!! junit.framework.AssertionFailedError: *Exception in constructor: testStormStreamer (java.lang.NoSuchMethodError: org.apache.log4j.Category.getParent()Lorg/apache/log4j/Category*; at org.apache.ignite.testframework.junits.logger.GridTestLog4jLogger.addConsoleAppenderIfNeeded(GridTestLog4jLogger.java:325) at org.apache.ignite.testframework.junits.logger.GridTestLog4jLogger.(GridTestLog4jLogger.java:136) at org.apache.ignite.testframework.junits.logger.GridTestLog4jLogger.(GridTestLog4jLogger.java:117) at org.apache.ignite.testframework.junits.GridAbstractTest.(GridAbstractTest.java:185) at org.apache.ignite.testframework.junits.common.GridCommonAbstractTest.(GridCommonAbstractTest.java:106) at org.apache.ignite.stream.storm.StormIgniteStreamerSelfTest.(StormIgniteStreamerSelfTest.java:14) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:422) at junit.framework.TestSuite.createTest(TestSuite.java:63) at junit.framework.TestSuite.addTestMethod(TestSuite.java:310) at junit.framework.TestSuite.addTestsFromTestCase(TestSuite.java:153) at junit.framework.TestSuite.(TestSuite.java:132) at org.apache.ignite.stream.storm.IgniteStormStreamerSelfTestSuite.suite(IgniteStormStreamerSelfTestSuite.java:14) 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:497) at org.junit.internal.runners.SuiteMethod.testFromSuiteMethod(SuiteMethod.java:35) at org.junit.internal.runners.SuiteMethod.(SuiteMethod.java:24) at org.junit.internal.builders.SuiteMethodBuilder.runnerForClass(SuiteMethodBuilder.java:11) at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59) at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26) at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59) at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:26) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:41) at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:212) at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:68) 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:497) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140) ) junit.framework.AssertionFailedError: Exception in constructor: testStormStreamer (java.lang.NoSuchMethodError: org.apache.log4j.Category.getParent()Lorg/apache/log4j/Category; at org.apache.ignite.testframework.junits.logger.GridTestLog4jLogger.addConsoleAppenderIfNeeded(GridTestLog4jLogger.java:325) at org.apache.ignite.testframework.junits.logger.GridTestLog4jLogger.(GridTestLog4jLogger.java:136) at org.apache.ignite.testframework.junits.logger.GridTestLog4jLogger.(GridTestLog4jLogger.java:117) at org.apache.ignite.testframework.junits.GridAbstractTest.(GridAbstractTest.java:185) at org.apache.ignite.testframework.junits.common.GridCommonAbstractTest.(GridCommonAbstractTest.java:106) at org.apache.ignite.stream.storm.StormIgniteStreamerSelfTest.(StormIgniteStreamerSelfTest.java:14) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:422) at org.apache.ignite.stream.storm.IgniteStormStreamerSelfTestSuite.suite(IgniteStormStreamerSelfTestSuite.java:14) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at org.junit.internal.runners.SuiteMethod.testFromSuiteMethod(SuiteMethod.java:35) at org.junit.internal.runners.SuiteMethod.(SuiteMethod.java:24) at org.junit.internal.builders.SuiteMethodBuilder.runnerForClass(SuiteMethodBuilder.java:11) at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59) at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26) at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59) at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:26) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:41) at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:212) at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:68) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140) ) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84) at org.junit.runner.JUnitCore.run(JUnitCore.java:160) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:78) at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:212) at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:68) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140) Process finished with exit code 255 -- Chandresh Pancholi Senior Software Engineer Flipkart.com Email-id:chandresh.pancholi@flipkart.com Contact:08951803660 --047d7b417669c8a8b2051fc702bd--