Я использую android sdk и получаю ФАТАЛЬНОЕ ИСКЛЮЧЕНИЕ, когда делаю stanfordCoreNLP = new StanfordCoreNLP(props);
edu.stanford.nlp.util.logging.RedwoodConfiguration.clear(RedwoodConfiguration.java:157)
at edu.stanford.nlp.util.logging.RedwoodConfiguration.minimal(RedwoodConfiguration.java:453)
at edu.stanford.nlp.util.logging.Redwood.<clinit>(Redwood.java:606)
at edu.stanford.nlp.util.logging.Redwood.channels(Redwood.java:513)
at edu.stanford.nlp.pipeline.AnnotationPipeline.<clinit>(AnnotationPipeline.java:30)
at com.example.securityhumandetector.NLPGlobalObj.getInstance(NLPGlobalObj.java:31)
at com.example.securityhumandetector.MainActivity.onCreate(MainActivity.java:175)
at android.app.Activity.performCreate(Activity.java:7148)
at android.app.Activity.performCreate(Activity.java:7139)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1293)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3111)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3270)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1986)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:215)
at android.app.ActivityThread.main(ActivityThread.java:6939)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:870)
Caused by: java.lang.ClassCastException: Bootstrap method returned null
at edu.stanford.nlp.util.logging.RedwoodConfiguration.clear(RedwoodConfiguration.java:157)
at edu.stanford.nlp.util.logging.RedwoodConfiguration.minimal(RedwoodConfiguration.java:453)
at edu.stanford.nlp.util.logging.Redwood.<clinit>(Redwood.java:606)
at edu.stanford.nlp.util.logging.Redwood.channels(Redwood.java:513)
at edu.stanford.nlp.pipeline.AnnotationPipeline.<clinit>(AnnotationPipeline.java:30)
at com.example.securityhumandetector.NLPGlobalObj.getInstance(NLPGlobalObj.java:31)
at com.example.securityhumandetector.MainActivity.onCreate(MainActivity.java:175)
at android.app.Activity.performCreate(Activity.java:7148)
at android.app.Activity.performCreate(Activity.java:7139)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1293)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3111)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3270)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1986)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:215)
at android.app.ActivityThread.main(ActivityThread.java:6939)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:870) 2020-04-10 17:56:48.581 22181-22181/com.example.securityhumandetector I/Process: Sending signal. PID: 22181 SIG: 9