java.lang.VerifyError

(class: opennlp/model/GenericModelReader, method: checkModelType signature: ()V) Bad type in putfield/putstatic

Solutions on the web3004

  • via opennlp-users by Barry Olddog, 2 weeks ago
    (class: opennlp/model/GenericModelReader, method: checkModelType signature: ()V) Bad type in putfield/putstatic
  • via opennlp-users by Barry Olddog, 9 months ago
    (class: opennlp/model/GenericModelReader, method: checkModelType signature: ()V) Bad type in putfield/putstatic
  • (class: foo, method: main signature: ([Ljava/lang/String;)V) Bad type in putfield/putstatic
  • Stack trace

    • java.lang.VerifyError: (class: opennlp/model/GenericModelReader, method: checkModelType signature: ()V) Bad type in putfield/putstatic at opennlp.tools.util.model.GenericModelSerializer.create(GenericModelSerializer.java:35) at opennlp.tools.util.model.GenericModelSerializer.create(GenericModelSerializer.java:31) at opennlp.tools.util.model.BaseModel.loadModel(BaseModel.java:231) at opennlp.tools.util.model.BaseModel.<init>(BaseModel.java:181) at opennlp.tools.tokenize.TokenizerModel.<init>(TokenizerModel.java:125)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.