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

opennlp-users | Barry Olddog | 3 years 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

    Re: init tokenizer fails: "Bad type in putfield/putstatic"

    opennlp-users | 3 years ago | Barry Olddog
    java.lang.VerifyError: (class: opennlp/model/GenericModelReader, method: checkModelType signature: ()V) Bad type in putfield/putstatic
  2. 0

    Re: init tokenizer fails: "Bad type in putfield/putstatic"

    opennlp-users | 3 years ago | Barry Olddog
    java.lang.VerifyError: (class: opennlp/model/GenericModelReader, method: checkModelType signature: ()V) Bad type in putfield/putstatic

    Root Cause Analysis

    1. java.lang.VerifyError

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

      at opennlp.tools.util.model.GenericModelSerializer.create()
    2. opennlp.tools.util
      BaseModel.<init>
      1. opennlp.tools.util.model.GenericModelSerializer.create(GenericModelSerializer.java:35)
      2. opennlp.tools.util.model.GenericModelSerializer.create(GenericModelSerializer.java:31)
      3. opennlp.tools.util.model.BaseModel.loadModel(BaseModel.java:231)
      4. opennlp.tools.util.model.BaseModel.<init>(BaseModel.java:181)
      4 frames
    3. opennlp.tools.tokenize
      TokenizerModel.<init>
      1. opennlp.tools.tokenize.TokenizerModel.<init>(TokenizerModel.java:125)
      1 frame