java.lang.IllegalArgumentException: ERROR: ResourceLoader.getString(): no entry for key 'modelPath'.

GitHub | tofuwen | 4 months 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

    GitHub comment 237#254379150

    GitHub | 4 months ago | tofuwen
    java.lang.IllegalArgumentException: ERROR: ResourceLoader.getString(): no entry for key 'modelPath'.

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      ERROR: ResourceLoader.getString(): no entry for key 'modelPath'.

      at edu.illinois.cs.cogcomp.core.utilities.configuration.ResourceManager.getString()
    2. edu.illinois.cs
      TestDiff.testGetTagValues
      1. edu.illinois.cs.cogcomp.core.utilities.configuration.ResourceManager.getString(ResourceManager.java:149)
      2. edu.illinois.cs.cogcomp.chunker.main.ChunkerAnnotator.initialize(ChunkerAnnotator.java:66)
      3. edu.illinois.cs.cogcomp.annotation.Annotator.doInitialize(Annotator.java:121)
      4. edu.illinois.cs.cogcomp.chunker.main.ChunkerAnnotator.getTagValues(ChunkerAnnotator.java:171)
      5. edu.illinois.cs.cogcomp.lbj.chunk.tests.TestDiff.testGetTagValues(TestDiff.java:99)
      5 frames
    3. 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
    4. JUnit
      JUnitCore.run
      1. junit.framework.TestCase.runTest(TestCase.java:168)
      2. junit.framework.TestCase.runBare(TestCase.java:134)
      3. junit.framework.TestResult$1.protect(TestResult.java:110)
      4. junit.framework.TestResult.runProtected(TestResult.java:128)
      5. junit.framework.TestResult.run(TestResult.java:113)
      6. junit.framework.TestCase.run(TestCase.java:124)
      7. junit.framework.TestSuite.runTest(TestSuite.java:232)
      8. junit.framework.TestSuite.run(TestSuite.java:227)
      9. org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
      10. org.junit.runner.JUnitCore.run(JUnitCore.java:130)
      10 frames
    5. IntelliJ junit4 module
      JUnit4IdeaTestRunner.startRunnerWithArgs
      1. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:117)
      2. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:42)
      2 frames
    6. IDEA
      JUnitStarter.main
      1. com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:262)
      2. com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:84)
      2 frames
    7. 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
    8. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
      1 frame