• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

class switcheroo

 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hi, I'm wondering if anyone can help with this problem...
I was storing a bunch of objects in my own class that inherits from HashMap. Recently, I found that I needed these objects to be presented IN ORDER.
So I switched my custom class to inherit from HashTree, and made the appropriate minor tweakings in my source. Then I re-compiled the whole project, just to be sure. It compiled fine.
When I ran the project, I got this error:
<code>
java.lang.VerifyError: (class: RunKeysAnalysis, method: signature: (Ljava/lang/String V) Incompatible object argument for function call
</code>
Can anyone make sense of this?
 
Ranch Hand
Posts: 515
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you put up a bit of your source to help us understand more?
------------------
What's this H2SO4 doing in my fridge?? ( thud )
 
Wanderer
Posts: 18671
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just a guess - try deleting all your .class files, then recompile with javac. That way you'll guarantee that all the .class files were generated from the latest code.
 
I do some of my very best work in water. Like this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic