java.lang.IllegalStateException: Not initialized! are you using lazy initialization? Need to call 'initialize()' before calling this method.

GitHub | danyaljj | 8 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 148#239364230

    GitHub | 8 months ago | danyaljj
    java.lang.IllegalStateException: Not initialized! are you using lazy initialization? Need to call 'initialize()' before calling this method.
  2. 0

    GitHub comment 148#239364230

    GitHub | 8 months ago | danyaljj
    java.lang.IllegalStateException: Not initialized! are you using lazy initialization? Need to call 'initialize()' before calling this method.

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Not initialized! are you using lazy initialization? Need to call 'initialize()' before calling this method.

      at edu.illinois.cs.cogcomp.nlp.lemmatizer.IllinoisLemmatizer.getLemma()
    2. edu.illinois.cs
      LemmatizerTATest.testCreateWnLemmaView
      1. edu.illinois.cs.cogcomp.nlp.lemmatizer.IllinoisLemmatizer.getLemma(IllinoisLemmatizer.java:183)
      2. edu.illinois.cs.cogcomp.nlp.lemmatizer.IllinoisLemmatizer.getLemma(IllinoisLemmatizer.java:154)
      3. edu.illinois.cs.cogcomp.nlp.lemmatizer.IllinoisLemmatizer.createLemmaView(IllinoisLemmatizer.java:280)
      4. edu.illinois.cs.cogcomp.nlp.lemmatizer.LemmatizerTATest.testCreateWnLemmaView(LemmatizerTATest.java:81)
      4 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    4. JUnit
      JUnit4ClassRunner.run
      1. org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
      2. org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
      3. org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
      4. org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
      5. org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
      6. org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
      7. org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
      8. org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
      9. org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
      10. org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
      11. org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
      12. org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
      12 frames
    5. JUnit4 Provider
      JUnit4Provider.invoke
      1. org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
      2. org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
      3. org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
      3 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    7. SureFire
      ForkedBooter.main
      1. org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
      2. org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
      3. org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
      4. org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
      5. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
      5 frames