java.lang.IllegalStateException: the temporary folder has not yet been created

Stack Overflow | daydreamer | 5 months ago
  1. 0

    java.lang.IllegalStateException: the temporary folder has not yet been created

    Stack Overflow | 5 months ago | daydreamer
    java.lang.IllegalStateException: the temporary folder has not yet been created
  2. 0

    Java TemporaryFolder getRoot() exception

    Stack Overflow | 3 years ago | Niru
    java.lang.IllegalStateException: the temporary folder has not yet been created
  3. 0

    @Parameters method is executed before @ClassRule initialization. Could it be the way around?

    GitHub | 4 years ago | javornikolov
    java.lang.IllegalStateException: the temporary folder has not yet been created
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spring Config with JUnit temporary folder

    Stack Overflow | 2 years ago | Shishya
    java.lang.IllegalStateException: the temporary folder has not yet been created
  6. 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 | 7 months ago | Rohit Sinha
    java.lang.IllegalStateException: the temporary folder has not yet been created

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      the temporary folder has not yet been created

      at org.junit.rules.TemporaryFolder.getRoot()
    2. JUnit
      TemporaryFolder.newFile
      1. org.junit.rules.TemporaryFolder.getRoot(TemporaryFolder.java:145)
      2. org.junit.rules.TemporaryFolder.newFile(TemporaryFolder.java:78)
      2 frames
    3. com.conf.store
      ActiveDirectoryConfigurationStoreTest.getWhenConfigurationExists
      1. com.conf.store.ActiveDirectoryConfigurationRule.addActiveDirectoryConfigurationToFile(ActiveDirectoryConfigurationRule.java:48)
      2. com.conf.store.ActiveDirectoryConfigurationStoreTest.getWhenConfigurationExists(ActiveDirectoryConfigurationStoreTest.java:25)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    5. JUnit
      JUnitCore.run
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      5. org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
      6. org.junit.rules.RunRules.evaluate(RunRules.java:20)
      7. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      8. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      9. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
      10. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      11. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      12. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      13. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      14. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      15. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      16. org.junit.runner.JUnitCore.run(JUnitCore.java:137)
      16 frames
    6. IntelliJ junit4 module
      JUnit4IdeaTestRunner.startRunnerWithArgs
      1. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:119)
      2. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:42)
      2 frames
    7. IDEA
      JUnitStarter.main
      1. com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
      2. com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)
      2 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    9. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
      1 frame