You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi I was trying to use command line API and I got this error.
C:\Users\shiva\OneDrive\Desktop\SLP-Core>java -jar slp-core.jar train --train "C:\Users\shiva\OneDrive\Desktop\SLP-Core\java_projects\train" --counter "C:\Users\shiva\OneDrive\Desktop\SLP-Core\train.counts" --vocabulary "C:\Users\shiva\OneDrive\Desktop\SLP-Core\train.vocab" --closed --order 4 --per-line -l simple --delims
Using lexer PunctuationLexer
Retrieving vocabulary from file
Counting: 1M tokens processed in 6s
Counting: 2M tokens processed in 12s
Counting: 3M tokens processed in 18s
Counting: 4M tokens processed in 23s
Counting complete: 4123657 tokens processed in 24s
Writing counter to file
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.jboss.marshalling.Marshalling$OptionalDataExceptionCreateAction$1 (file:/C:/Users/shiva/OneDrive/Desktop/SLP-Core/slp-core.jar) to constructor java.io.OptionalDataException(boolean)
WARNING: Please consider reporting this to the maintainers of org.jboss.marshalling.Marshalling$OptionalDataExceptionCreateAction$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Writing counter to: C:\Users\shiva\OneDrive\Desktop\SLP-Core\train.counts
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.jboss.marshalling.river.RiverMarshaller.(RiverMarshaller.java:1233)
at org.jboss.marshalling.river.RiverMarshallerFactory.createMarshaller(RiverMarshallerFactory.java:54)
at slp.core.counting.io.CounterIO.writeCounter(CounterIO.java:43)
at slp.core.CLI.train(CLI.java:369)
at slp.core.CLI.main(CLI.java:114)
Caused by: java.lang.IllegalStateException: No standard field found for reverse order comparator!
at org.jboss.marshalling.river.Protocol.(Protocol.java:220)
... 5 more
I am running this code on Java 10. I was able to successfully create a vocabulary file. But when I try to train the model and write to counter file , I got the error shown above. I tried upgrading to latest Java but got the same error.
Is there any solution to this issue that you can suggest ?
The text was updated successfully, but these errors were encountered:
Hi I was trying to use command line API and I got this error.
C:\Users\shiva\OneDrive\Desktop\SLP-Core>java -jar slp-core.jar train --train "C:\Users\shiva\OneDrive\Desktop\SLP-Core\java_projects\train" --counter "C:\Users\shiva\OneDrive\Desktop\SLP-Core\train.counts" --vocabulary "C:\Users\shiva\OneDrive\Desktop\SLP-Core\train.vocab" --closed --order 4 --per-line -l simple --delims
Using lexer PunctuationLexer
Retrieving vocabulary from file
Counting: 1M tokens processed in 6s
Counting: 2M tokens processed in 12s
Counting: 3M tokens processed in 18s
Counting: 4M tokens processed in 23s
Counting complete: 4123657 tokens processed in 24s
Writing counter to file
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.jboss.marshalling.Marshalling$OptionalDataExceptionCreateAction$1 (file:/C:/Users/shiva/OneDrive/Desktop/SLP-Core/slp-core.jar) to constructor java.io.OptionalDataException(boolean)
WARNING: Please consider reporting this to the maintainers of org.jboss.marshalling.Marshalling$OptionalDataExceptionCreateAction$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Writing counter to: C:\Users\shiva\OneDrive\Desktop\SLP-Core\train.counts
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.jboss.marshalling.river.RiverMarshaller.(RiverMarshaller.java:1233)
at org.jboss.marshalling.river.RiverMarshallerFactory.createMarshaller(RiverMarshallerFactory.java:54)
at slp.core.counting.io.CounterIO.writeCounter(CounterIO.java:43)
at slp.core.CLI.train(CLI.java:369)
at slp.core.CLI.main(CLI.java:114)
Caused by: java.lang.IllegalStateException: No standard field found for reverse order comparator!
at org.jboss.marshalling.river.Protocol.(Protocol.java:220)
... 5 more
I am running this code on Java 10. I was able to successfully create a vocabulary file. But when I try to train the model and write to counter file , I got the error shown above. I tried upgrading to latest Java but got the same error.
Is there any solution to this issue that you can suggest ?
The text was updated successfully, but these errors were encountered: