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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by danyaljj
, 1 year ago
Not initialized! are you using lazy initialization? Need to call 'initialize()' before calling this method.
via GitHub by danyaljj
, 1 year ago
Not initialized! are you using lazy initialization? Need to call 'initialize()' before calling this method.
via GitHub by danyaljj
, 9 months ago
Not initialized! are you using lazy initialization? Need to call 'initialize()' before calling this method.
via GitHub by danyaljj
, 9 months ago
Not initialized! are you using lazy initialization? Need to call 'initialize()' before calling this method.
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(IllinoisLemmatizer.java:183)
at edu.illinois.cs.cogcomp.nlp.lemmatizer.IllinoisLemmatizer.getLemma(IllinoisLemmatizer.java:154)
at edu.illinois.cs.cogcomp.nlp.lemmatizer.IllinoisLemmatizer.createLemmaView(IllinoisLemmatizer.java:280)
at edu.illinois.cs.cogcomp.nlp.lemmatizer.LemmatizerTATest.testCreateTextAnnotationLemmaView(LemmatizerTATest.java:126)
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.internal.runners.TestMethod.invoke(TestMethod.java:59)
at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.