Unsupported Operation Exception

  • Peter Adelmann
    Peter Adelmann

    I'm new to Proguard and also new to my project.  I'm trying to use 4.7 under Java6 to obfuscate our project via Ant task.  So far I'm using the following switches (note="true" shrink="false" verbose="true" preverify="false" ignorewarnings="true") and have received the following output java.lang.UnsupportedOperationException: Method must be overridden in  if ever called.  During the process I'm receiving Warning: there were 222 unresolved references to classes or interfaces.  Could the unresolved references be causing the UnsupportedOperationException or might it be something else?  It's hard for me to tell at this point and although I'm sure the unresolved references could/may be an issue, I don't know whether it's causing the other error I'm seeing.  thanks…

  • Eric Lafortune
    Eric Lafortune

    Yes, the unresolved references are causing the exception. You shouldn't use ignorewarnings="true".