java.lang.NullPointerException: null

Cask Community Issue Tracker | Sreevatsan Raman | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Following error while running unit test {code} 2015-07-28 18:32:40,266 - INFO [Hive14ExploreService STARTING:o.a.h.h.q.s.SessionState@488] - No Tez session required at this point. hive.execution.engine=mr. Exception in thread "Hive14ExploreService STARTING" Exception in thread "ExploreExecutorService STARTING" java.lang.IncompatibleClassChangeError: Implementing class at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) at java.net.URLClassLoader.access$100(URLClassLoader.java:71) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at org.apache.hive.service.cli.operation.OperationManager.initOperationLogCapture(OperationManager.java:115) at org.apache.hive.service.cli.operation.OperationManager.init(OperationManager.java:70) at org.apache.hive.service.CompositeService.init(CompositeService.java:59) at org.apache.hive.service.cli.session.SessionManager.init(SessionManager.java:84) at org.apache.hive.service.CompositeService.init(CompositeService.java:59) at org.apache.hive.service.cli.CLIService.init(CLIService.java:116) at co.cask.cdap.explore.service.hive.BaseHiveExploreService.startUp(BaseHiveExploreService.java:273) at com.google.common.util.concurrent.AbstractIdleService$1$1.run(AbstractIdleService.java:43) at java.lang.Thread.run(Thread.java:745) com.google.common.util.concurrent.ExecutionError: java.lang.IncompatibleClassChangeError: Implementing class at com.google.common.util.concurrent.Futures.wrapAndThrowUnchecked(Futures.java:1351) at com.google.common.util.concurrent.Futures.getUnchecked(Futures.java:1344) at com.google.common.util.concurrent.AbstractService.startAndWait(AbstractService.java:221) at com.google.common.util.concurrent.AbstractIdleService.startAndWait(AbstractIdleService.java:106) at co.cask.cdap.explore.service.hive.BaseHiveExploreService.getTables(BaseHiveExploreService.java:503) at co.cask.cdap.explore.service.hive.BaseHiveExploreService.upgrade(BaseHiveExploreService.java:966) at co.cask.cdap.explore.executor.ExploreExecutorService.startUp(ExploreExecutorService.java:107) at com.google.common.util.concurrent.AbstractIdleService$1$1.run(AbstractIdleService.java:43) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IncompatibleClassChangeError: Implementing class at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) at java.net.URLClassLoader.access$100(URLClassLoader.java:71) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at org.apache.hive.service.cli.operation.OperationManager.initOperationLogCapture(OperationManager.java:115) at org.apache.hive.service.cli.operation.OperationManager.init(OperationManager.java:70) at org.apache.hive.service.CompositeService.init(CompositeService.java:59) at org.apache.hive.service.cli.session.SessionManager.init(SessionManager.java:84) at org.apache.hive.service.CompositeService.init(CompositeService.java:59) at org.apache.hive.service.cli.CLIService.init(CLIService.java:116) at co.cask.cdap.explore.service.hive.BaseHiveExploreService.startUp(BaseHiveExploreService.java:273) ... 2 more Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 8.32 sec <<< FAILURE! co.cask.cdap.guides.kafka.KafkaIngestionAppTest Time elapsed: 8.318 sec <<< ERROR! com.google.common.util.concurrent.ExecutionError: com.google.common.util.concurrent.ExecutionError: java.lang.IncompatibleClassChangeError: Implementing class at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) at java.net.URLClassLoader.access$100(URLClassLoader.java:71) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at org.apache.hive.service.cli.operation.OperationManager.initOperationLogCapture(OperationManager.java:115) at org.apache.hive.service.cli.operation.OperationManager.init(OperationManager.java:70) at org.apache.hive.service.CompositeService.init(CompositeService.java:59) at org.apache.hive.service.cli.session.SessionManager.init(SessionManager.java:84) at org.apache.hive.service.CompositeService.init(CompositeService.java:59) at org.apache.hive.service.cli.CLIService.init(CLIService.java:116) at co.cask.cdap.explore.service.hive.BaseHiveExploreService.startUp(BaseHiveExploreService.java:273) at com.google.common.util.concurrent.AbstractIdleService$1$1.run(AbstractIdleService.java:43) at java.lang.Thread.run(Thread.java:745) co.cask.cdap.guides.kafka.KafkaIngestionAppTest Time elapsed: 8.319 sec <<< ERROR! java.lang.NullPointerException: null at co.cask.cdap.guides.kafka.KafkaIngestionAppTest.cleanup(KafkaIngestionAppTest.java:86) co.cask.cdap.guides.kafka.KafkaIngestionAppTest Time elapsed: 8.32 sec <<< ERROR! java.lang.NullPointerException: null at co.cask.cdap.test.ConfigurableTestBase.finish(ConfigurableTestBase.java:355) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:159) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:87) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:95) Results : Tests in error: KafkaIngestionAppTest>TestBase.init:36->ConfigurableTestBase.initTestBase:183->ConfigurableTestBase.initialize:272 » Execution KafkaIngestionAppTest.cleanup:86 NullPointer KafkaIngestionAppTest>ConfigurableTestBase.finish:355 » NullPointer Tests run: 3, Failures: 0, Errors: 3, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 13.571s [INFO] Finished at: Tue Jul 28 18:32:40 PDT 2015 [INFO] Final Memory: 49M/456M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test (default-test) on project cdap-kafka-ingest-guide: There are test failures. [ERROR] [ERROR] Please refer to /Users/sree/work/cdap-kafka-ingest-guide/target/surefire-reports for the individual test results. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException {code}

    Cask Community Issue Tracker | 2 years ago | Sreevatsan Raman
    java.lang.NullPointerException: null
  2. 0

    Following error while running unit test {code} 2015-07-28 18:32:40,266 - INFO [Hive14ExploreService STARTING:o.a.h.h.q.s.SessionState@488] - No Tez session required at this point. hive.execution.engine=mr. Exception in thread "Hive14ExploreService STARTING" Exception in thread "ExploreExecutorService STARTING" java.lang.IncompatibleClassChangeError: Implementing class at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) at java.net.URLClassLoader.access$100(URLClassLoader.java:71) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at org.apache.hive.service.cli.operation.OperationManager.initOperationLogCapture(OperationManager.java:115) at org.apache.hive.service.cli.operation.OperationManager.init(OperationManager.java:70) at org.apache.hive.service.CompositeService.init(CompositeService.java:59) at org.apache.hive.service.cli.session.SessionManager.init(SessionManager.java:84) at org.apache.hive.service.CompositeService.init(CompositeService.java:59) at org.apache.hive.service.cli.CLIService.init(CLIService.java:116) at co.cask.cdap.explore.service.hive.BaseHiveExploreService.startUp(BaseHiveExploreService.java:273) at com.google.common.util.concurrent.AbstractIdleService$1$1.run(AbstractIdleService.java:43) at java.lang.Thread.run(Thread.java:745) com.google.common.util.concurrent.ExecutionError: java.lang.IncompatibleClassChangeError: Implementing class at com.google.common.util.concurrent.Futures.wrapAndThrowUnchecked(Futures.java:1351) at com.google.common.util.concurrent.Futures.getUnchecked(Futures.java:1344) at com.google.common.util.concurrent.AbstractService.startAndWait(AbstractService.java:221) at com.google.common.util.concurrent.AbstractIdleService.startAndWait(AbstractIdleService.java:106) at co.cask.cdap.explore.service.hive.BaseHiveExploreService.getTables(BaseHiveExploreService.java:503) at co.cask.cdap.explore.service.hive.BaseHiveExploreService.upgrade(BaseHiveExploreService.java:966) at co.cask.cdap.explore.executor.ExploreExecutorService.startUp(ExploreExecutorService.java:107) at com.google.common.util.concurrent.AbstractIdleService$1$1.run(AbstractIdleService.java:43) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IncompatibleClassChangeError: Implementing class at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) at java.net.URLClassLoader.access$100(URLClassLoader.java:71) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at org.apache.hive.service.cli.operation.OperationManager.initOperationLogCapture(OperationManager.java:115) at org.apache.hive.service.cli.operation.OperationManager.init(OperationManager.java:70) at org.apache.hive.service.CompositeService.init(CompositeService.java:59) at org.apache.hive.service.cli.session.SessionManager.init(SessionManager.java:84) at org.apache.hive.service.CompositeService.init(CompositeService.java:59) at org.apache.hive.service.cli.CLIService.init(CLIService.java:116) at co.cask.cdap.explore.service.hive.BaseHiveExploreService.startUp(BaseHiveExploreService.java:273) ... 2 more Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 8.32 sec <<< FAILURE! co.cask.cdap.guides.kafka.KafkaIngestionAppTest Time elapsed: 8.318 sec <<< ERROR! com.google.common.util.concurrent.ExecutionError: com.google.common.util.concurrent.ExecutionError: java.lang.IncompatibleClassChangeError: Implementing class at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) at java.net.URLClassLoader.access$100(URLClassLoader.java:71) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at org.apache.hive.service.cli.operation.OperationManager.initOperationLogCapture(OperationManager.java:115) at org.apache.hive.service.cli.operation.OperationManager.init(OperationManager.java:70) at org.apache.hive.service.CompositeService.init(CompositeService.java:59) at org.apache.hive.service.cli.session.SessionManager.init(SessionManager.java:84) at org.apache.hive.service.CompositeService.init(CompositeService.java:59) at org.apache.hive.service.cli.CLIService.init(CLIService.java:116) at co.cask.cdap.explore.service.hive.BaseHiveExploreService.startUp(BaseHiveExploreService.java:273) at com.google.common.util.concurrent.AbstractIdleService$1$1.run(AbstractIdleService.java:43) at java.lang.Thread.run(Thread.java:745) co.cask.cdap.guides.kafka.KafkaIngestionAppTest Time elapsed: 8.319 sec <<< ERROR! java.lang.NullPointerException: null at co.cask.cdap.guides.kafka.KafkaIngestionAppTest.cleanup(KafkaIngestionAppTest.java:86) co.cask.cdap.guides.kafka.KafkaIngestionAppTest Time elapsed: 8.32 sec <<< ERROR! java.lang.NullPointerException: null at co.cask.cdap.test.ConfigurableTestBase.finish(ConfigurableTestBase.java:355) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:159) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:87) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:95) Results : Tests in error: KafkaIngestionAppTest>TestBase.init:36->ConfigurableTestBase.initTestBase:183->ConfigurableTestBase.initialize:272 » Execution KafkaIngestionAppTest.cleanup:86 NullPointer KafkaIngestionAppTest>ConfigurableTestBase.finish:355 » NullPointer Tests run: 3, Failures: 0, Errors: 3, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 13.571s [INFO] Finished at: Tue Jul 28 18:32:40 PDT 2015 [INFO] Final Memory: 49M/456M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test (default-test) on project cdap-kafka-ingest-guide: There are test failures. [ERROR] [ERROR] Please refer to /Users/sree/work/cdap-kafka-ingest-guide/target/surefire-reports for the individual test results. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException {code}

    Cask Community Issue Tracker | 2 years ago | Sreevatsan Raman
    java.lang.NullPointerException: null
  3. 0

    KafkaIngestionAppTest of kafka ingestion guide fails with the following : {code} Running co.cask.cdap.guides.kafka.KafkaIngestionAppTest Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.569 sec <<< FAILURE! co.cask.cdap.guides.kafka.KafkaIngestionAppTest Time elapsed: 0.567 sec <<< ERROR! java.lang.IllegalStateException: the temporary folder has not yet been created at org.junit.rules.TemporaryFolder.getRoot(TemporaryFolder.java:127) at org.junit.rules.TemporaryFolder.newFolder(TemporaryFolder.java:112) at co.cask.cdap.test.TestBase.initialize(TestBase.java:182) at co.cask.cdap.guides.kafka.KafkaIngestionAppTest.initialize(KafkaIngestionAppTest.java:71) co.cask.cdap.guides.kafka.KafkaIngestionAppTest Time elapsed: 0.569 sec <<< ERROR! java.lang.NullPointerException: null at co.cask.cdap.guides.kafka.KafkaIngestionAppTest.cleanup(KafkaIngestionAppTest.java:89) co.cask.cdap.guides.kafka.KafkaIngestionAppTest Time elapsed: 0.569 sec <<< ERROR! java.lang.NullPointerException: null at co.cask.cdap.test.TestBase.finish(TestBase.java:397) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:159) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:87) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:95) Results : Tests in error: KafkaIngestionAppTest.initialize:71->TestBase.initialize:182 » IllegalState th... KafkaIngestionAppTest.cleanup:89 NullPointer KafkaIngestionAppTest>TestBase.finish:397 » NullPointer Tests run: 3, Failures: 0, Errors: 3, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 32.382 s [INFO] Finished at: 2016-04-29T00:02:19-07:00 [INFO] Final Memory: 53M/291M [INFO] ------------------------------------------------------------------------ {code}

    Cask Community Issue Tracker | 10 months ago | Rohit Sinha
    java.lang.NullPointerException: null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      null

      at co.cask.cdap.guides.kafka.KafkaIngestionAppTest.cleanup()
    2. co.cask.cdap
      KafkaIngestionAppTest.cleanup
      1. co.cask.cdap.guides.kafka.KafkaIngestionAppTest.cleanup(KafkaIngestionAppTest.java:86)
      1 frame