java.lang.VerifyError: Bad type on operand stack Exception Details: Location: pitt/search/semanticvectors/LuceneUtils.<init>(Lpitt/search/semanticvectors/FlagConfig;)V @77: putfield Reason: Type 'org/apache/lucene/index/DirectoryReader' (current frame, stack[1]) is not assignable to 'org/apache/lucene/index/BaseCompositeReader' Current Frame: bci: @77 flags: { } locals: { 'pitt/search/semanticvectors/LuceneUtils', 'pitt/search/semanticvectors/FlagConfig' } stack: { 'pitt/search/semanticvectors/LuceneUtils', 'org/apache/lucene/index/DirectoryReader' } Bytecode: 0x0000000: 2ab7 0001 2abb 0002 59b7 0003 b500 042a 0x0000010: bb00 0259 b700 03b5 0005 2a01 b500 062a 0x0000020: 01b5 0007 2bb6 0008 b600 0999 000d bb00 0x0000030: 0a59 120b b700 0cbf 2ab8 000d 2bb6 0008 0x0000040: 03bd 000e b600 0fb8 0010 b800 11b5 0012 0x0000050: 2a2a b400 12b8 0013 b500 142a b400 12b8 0x0000060: 0015 572a 2bb5 0016 2bb6 0017 b600 099a 0x0000070: 000b 2a2b b600 17b6 0018 2bb6 0019 b600 0x0000080: 099a 000b 2a2b b600 19b6 001a bb00 1b59 0x0000090: b700 1c12 1db6 001e 2bb6 0008 b600 1e12 0x00000a0: 1fb6 001e b600 20b8 0021 b1 Stackmap Table: full_frame(@56,{Object[#177],Object[#178]},{}) same_frame_extended(@122) same_frame(@140)

Google Groups | Hadeel Maryoosh | 10 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Errors when implementing search using API instead of command lines

    Google Groups | 10 months ago | Hadeel Maryoosh
    java.lang.VerifyError: Bad type on operand stack Exception Details: Location: pitt/search/semanticvectors/LuceneUtils.<init>(Lpitt/search/semanticvectors/FlagConfig;)V @77: putfield Reason: Type 'org/apache/lucene/index/DirectoryReader' (current frame, stack[1]) is not assignable to 'org/apache/lucene/index/BaseCompositeReader' Current Frame: bci: @77 flags: { } locals: { 'pitt/search/semanticvectors/LuceneUtils', 'pitt/search/semanticvectors/FlagConfig' } stack: { 'pitt/search/semanticvectors/LuceneUtils', 'org/apache/lucene/index/DirectoryReader' } Bytecode: 0x0000000: 2ab7 0001 2abb 0002 59b7 0003 b500 042a 0x0000010: bb00 0259 b700 03b5 0005 2a01 b500 062a 0x0000020: 01b5 0007 2bb6 0008 b600 0999 000d bb00 0x0000030: 0a59 120b b700 0cbf 2ab8 000d 2bb6 0008 0x0000040: 03bd 000e b600 0fb8 0010 b800 11b5 0012 0x0000050: 2a2a b400 12b8 0013 b500 142a b400 12b8 0x0000060: 0015 572a 2bb5 0016 2bb6 0017 b600 099a 0x0000070: 000b 2a2b b600 17b6 0018 2bb6 0019 b600 0x0000080: 099a 000b 2a2b b600 19b6 001a bb00 1b59 0x0000090: b700 1c12 1db6 001e 2bb6 0008 b600 1e12 0x00000a0: 1fb6 001e b600 20b8 0021 b1 Stackmap Table: full_frame(@56,{Object[#177],Object[#178]},{}) same_frame_extended(@122) same_frame(@140)

    Root Cause Analysis

    1. java.lang.VerifyError

      Bad type on operand stack Exception Details: Location: pitt/search/semanticvectors/LuceneUtils.<init>(Lpitt/search/semanticvectors/FlagConfig;)V @77: putfield Reason: Type 'org/apache/lucene/index/DirectoryReader' (current frame, stack[1]) is not assignable to 'org/apache/lucene/index/BaseCompositeReader' Current Frame: bci: @77 flags: { } locals: { 'pitt/search/semanticvectors/LuceneUtils', 'pitt/search/semanticvectors/FlagConfig' } stack: { 'pitt/search/semanticvectors/LuceneUtils', 'org/apache/lucene/index/DirectoryReader' } Bytecode: 0x0000000: 2ab7 0001 2abb 0002 59b7 0003 b500 042a 0x0000010: bb00 0259 b700 03b5 0005 2a01 b500 062a 0x0000020: 01b5 0007 2bb6 0008 b600 0999 000d bb00 0x0000030: 0a59 120b b700 0cbf 2ab8 000d 2bb6 0008 0x0000040: 03bd 000e b600 0fb8 0010 b800 11b5 0012 0x0000050: 2a2a b400 12b8 0013 b500 142a b400 12b8 0x0000060: 0015 572a 2bb5 0016 2bb6 0017 b600 099a 0x0000070: 000b 2a2b b600 17b6 0018 2bb6 0019 b600 0x0000080: 099a 000b 2a2b b600 19b6 001a bb00 1b59 0x0000090: b700 1c12 1db6 001e 2bb6 0008 b600 1e12 0x00000a0: 1fb6 001e b600 20b8 0021 b1 Stackmap Table: full_frame(@56,{Object[#177],Object[#178]},{}) same_frame_extended(@122) same_frame(@140)

      at pitt.search.semanticvectors.BuildIndex.main()
    2. pitt.search.semanticvectors
      BuildIndex.main
      1. pitt.search.semanticvectors.BuildIndex.main(BuildIndex.java:96)
      1 frame
    3. com.tutorialspoint.lucene
      LuceneTester.main
      1. com.tutorialspoint.lucene.LuceneTester.createIndex(LuceneTester.java:57)
      2. com.tutorialspoint.lucene.LuceneTester.main(LuceneTester.java:39)
      2 frames