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)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2671

  • via Google Groups by Hadeel Maryoosh, 6 months ago
    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)
  • 642c b400 12b6 0013 a101 0x0000060: 3d2a 2ab4 0009 b500 0a2a b400 0cb4 0014 0x0000070: 2b01 02b6 0015 3a04 1904 b400 163a 050e 0x0000080: 3906 1905 c100 1799 000d 1905 c000 17b6 0x0000090: 0018 3906 2a2a 2bb6 0019 b600 1a2b 0102
  • via GitHub by StanLepunK
    , 1 year ago
    Bad type on operand stack Exception Details: Location: codeanticode/tablet/Tablet.<init>(Lprocessing/core/PApplet;)V @57: invokestatic Reason: Type 'processing/core/PApplet' (current frame, stack[0]) is not assignable to 'java/awt
  • Stack trace

    • 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(BuildIndex.java:96) at com.tutorialspoint.lucene.LuceneTester.createIndex(LuceneTester.java:57) at com.tutorialspoint.lucene.LuceneTester.main(LuceneTester.java:39)

    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’re the first here who have seen this exception.